DeskTop.js 449 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687
  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. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2390. let _data = {
  2391. cid:e.data.cid || '',
  2392. }
  2393. U.MD.D.I.openInApplication("opencCscl", _data)
  2394. }
  2395. });
  2396. U.MD.D.I.selectUser = function() {
  2397. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2398. if (res.value[0].length > 0) {
  2399. US.userInfo = res.value[0][0];
  2400. $(".userName")[0].innerHTML = US.userInfo.username;
  2401. }
  2402. }, [], { "type": "GET", "withCredentials": true });
  2403. }
  2404. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2405. var _userinfo = US.userInfo, //登录用户信息
  2406. _userid = US.userInfo.userid, //登录用户id
  2407. _oid = _userinfo.organizeid,
  2408. _type = US.userInfo.type,
  2409. _org = US.userInfo.org,
  2410. _role = US.userInfo.role,
  2411. _classId = US.userInfo.classid;
  2412. if (_type == 4) {
  2413. tType = 4
  2414. }
  2415. switch (str) {
  2416. case "studyDetailNT": //无终端模式
  2417. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2418. setTimeout(() => {
  2419. U.MD.U.L.login();
  2420. }, 2000);
  2421. } else {
  2422. _formdiv = new U.UF.UI.form(
  2423. "课程详情",
  2424. $$("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 }), {
  2425. "id": "studyDetailNT",
  2426. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2427. "onresize": function() {}
  2428. }, {
  2429. closecallback: function() {}
  2430. }, { "style": { "height": "36px" } }).form; //创建窗体
  2431. _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); } }
  2432. break;
  2433. }
  2434. case "studyDetail":
  2435. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2436. setTimeout(() => {
  2437. U.MD.U.L.login();
  2438. }, 2000);
  2439. } else {
  2440. _formdiv = new U.UF.UI.form(
  2441. "课程详情",
  2442. $$("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 }), {
  2443. "id": "studyDetail",
  2444. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2445. "onresize": function() {}
  2446. }, {
  2447. closecallback: function() {}
  2448. }, { "style": { "height": "36px" } }).form; //创建窗体
  2449. _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); } }
  2450. break;
  2451. }
  2452. case "studyDetailS":
  2453. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2454. setTimeout(() => {
  2455. U.MD.U.L.login();
  2456. }, 2000);
  2457. } else {
  2458. _formdiv = new U.UF.UI.form(
  2459. "项目详情",
  2460. $$("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 }), {
  2461. "id": "studyDetailS",
  2462. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2463. "onresize": function() {}
  2464. }, {
  2465. closecallback: function() {}
  2466. }, { "style": { "height": "36px" } }).form; //创建窗体
  2467. _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); } }
  2468. break;
  2469. }
  2470. case "studyDetailStudio":
  2471. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2472. setTimeout(() => {
  2473. U.MD.U.L.login();
  2474. }, 2000);
  2475. } else {
  2476. _formdiv = new U.UF.UI.form(
  2477. "工作详情",
  2478. $$("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 }), {
  2479. "id": "studyDetailStudio",
  2480. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2481. "onresize": function() {}
  2482. }, {
  2483. closecallback: function() {}
  2484. }, { "style": { "height": "36px" } }).form; //创建窗体
  2485. _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); } }
  2486. break;
  2487. }
  2488. case "studyDetailS5":
  2489. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2490. setTimeout(() => {
  2491. U.MD.U.L.login();
  2492. }, 2000);
  2493. } else {
  2494. _formdiv = new U.UF.UI.form(
  2495. "项目详情",
  2496. $$("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 }), {
  2497. "id": "studyDetailS",
  2498. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2499. "onresize": function() {}
  2500. }, {
  2501. closecallback: function() {}
  2502. }, { "style": { "height": "36px" } }).form; //创建窗体
  2503. _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); } }
  2504. break;
  2505. }
  2506. case "studyDetailGM":
  2507. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2508. setTimeout(() => {
  2509. U.MD.U.L.login();
  2510. }, 2000);
  2511. } else {
  2512. _formdiv = new U.UF.UI.form(
  2513. "课程详情",
  2514. $$("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 }), {
  2515. "id": "studyDetail",
  2516. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2517. "onresize": function() {}
  2518. }, {
  2519. closecallback: function() {}
  2520. }, { "style": { "height": "36px" } }).form; //创建窗体
  2521. _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); } }
  2522. break;
  2523. }
  2524. case "hanUrl":
  2525. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2526. setTimeout(() => {
  2527. U.MD.U.L.login();
  2528. }, 2000);
  2529. } else {
  2530. _formdiv = new U.UF.UI.form(
  2531. "汉字宫",
  2532. $$("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" }), {
  2533. "id": "hanUrl",
  2534. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2535. "onresize": function() {}
  2536. }, {
  2537. closecallback: function() {}
  2538. }, { "style": { "height": "36px" } }).form; //创建窗体
  2539. _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); } }
  2540. break;
  2541. }
  2542. case "index":
  2543. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2544. setTimeout(() => {
  2545. U.MD.U.L.login();
  2546. }, 2000);
  2547. } else {
  2548. _formdiv = new U.UF.UI.form(
  2549. "课程中心",
  2550. $$("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 }), {
  2551. "id": "study",
  2552. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2553. "onresize": function() {}
  2554. }, {
  2555. closecallback: function() {}
  2556. }, { "style": { "height": "36px" } }).form; //创建窗体
  2557. _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); } }
  2558. break;
  2559. }
  2560. case "dataClass":
  2561. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2562. setTimeout(() => {
  2563. U.MD.U.L.login();
  2564. }, 2000);
  2565. } else {
  2566. _formdiv = new U.UF.UI.form(
  2567. "数据报告",
  2568. $$("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 }), {
  2569. "id": "dataClass",
  2570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2571. "onresize": function() {}
  2572. }, {
  2573. closecallback: function() {}
  2574. }, { "style": { "height": "36px" } }).form; //创建窗体
  2575. _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); } }
  2576. break;
  2577. }
  2578. case "opencCscl":
  2579. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2580. setTimeout(() => {
  2581. U.MD.U.L.login();
  2582. }, 2000);
  2583. } else {
  2584. _formdiv = new U.UF.UI.form(
  2585. "协同建构",
  2586. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid="+ data.cid }), {
  2587. "id": "opencCscl",
  2588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2589. "onresize": function() {}
  2590. }, {
  2591. closecallback: function() {}
  2592. }, { "style": { "height": "36px" } }).form; //创建窗体
  2593. _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); } }
  2594. break;
  2595. }
  2596. }
  2597. }
  2598. U.MD.D.I.openApplication = function(str, obj, info) {
  2599. obj = obj || {};
  2600. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2601. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2602. _userinfo = US.userInfo, //登录用户信息
  2603. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2604. _oid = obj.organizeid || _userinfo.organizeid,
  2605. _type = US.userInfo.type,
  2606. _org = US.userInfo.org,
  2607. _role = US.userInfo.role,
  2608. _classId = US.userInfo.classid,
  2609. _TscreenType = 1
  2610. _screenType = 2,
  2611. _SscreenType = 3;
  2612. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2613. return;
  2614. }
  2615. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2616. switch (str) {
  2617. case "studnetProject": //好友打开
  2618. _formdiv = new U.UF.UI.form(
  2619. "我的项目",
  2620. $$("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 }), {
  2621. "id": "studnetProject",
  2622. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2623. "onresize": function() {}
  2624. }, {
  2625. closecallback: function() {}
  2626. }, { "style": { "height": "36px" } }).form; //创建窗体
  2627. _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); } }
  2628. break;
  2629. case "studentEvaluate": //好友打开
  2630. _formdiv = new U.UF.UI.form(
  2631. "我的评价",
  2632. $$("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 }), {
  2633. "id": "studentEvaluate",
  2634. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2635. "onresize": function() {}
  2636. }, {
  2637. closecallback: function() {}
  2638. }, { "style": { "height": "36px" } }).form; //创建窗体
  2639. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2640. break;
  2641. case "my":
  2642. _formdiv = new U.UF.UI.form(
  2643. "我的资料",
  2644. $$("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 }), {
  2645. "id": "my",
  2646. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2647. "onresize": function() {}
  2648. }, {
  2649. closecallback: function() {}
  2650. }, { "style": { "height": "36px" } }).form; //创建窗体
  2651. _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); } }
  2652. break;
  2653. case "program":
  2654. _formdiv = new U.UF.UI.form(
  2655. "编程平台",
  2656. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2657. "id": "program",
  2658. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2659. "onresize": function() {}
  2660. }, {
  2661. closecallback: function() {}
  2662. }, { "style": { "height": "36px" } }).form; //创建窗体
  2663. _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); } }
  2664. break;
  2665. case "library":
  2666. _formdiv = new U.UF.UI.form(
  2667. "素材库",
  2668. $$("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 }), {
  2669. "id": "library",
  2670. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2671. "onresize": function() {}
  2672. }, {
  2673. closecallback: function() {}
  2674. }, { "style": { "height": "36px" } }).form; //创建窗体
  2675. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2676. break;
  2677. case "whiteboard":
  2678. _formdiv = new U.UF.UI.form(
  2679. "电子白板",
  2680. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2681. "id": "whiteboard",
  2682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2683. "onresize": function() {}
  2684. }, {
  2685. closecallback: function() {}
  2686. }, { "style": { "height": "36px" } }).form; //创建窗体
  2687. _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); } }
  2688. break;
  2689. case "investigation":
  2690. _formdiv = new U.UF.UI.form(
  2691. "问卷调查",
  2692. $$("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 }), {
  2693. "id": "investigation",
  2694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2695. "onresize": function() {}
  2696. }, {
  2697. closecallback: function() {}
  2698. }, { "style": { "height": "36px" } }).form; //创建窗体
  2699. _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); } }
  2700. break;
  2701. case "note":
  2702. _formdiv = new U.UF.UI.form(
  2703. "便签分类",
  2704. $$("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 }), {
  2705. "id": "note",
  2706. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2707. "onresize": function() {}
  2708. }, {
  2709. closecallback: function() {}
  2710. }, { "style": { "height": "36px" } }).form; //创建窗体
  2711. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2712. break;
  2713. // case "score":
  2714. // _formdiv = new U.UF.UI.form(
  2715. // "量规评分",
  2716. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2717. // "id": "score",
  2718. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2719. // "onresize": function() {}
  2720. // }, {
  2721. // closecallback: function() {}
  2722. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2723. // _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); } }
  2724. // break;
  2725. case "mind":
  2726. _formdiv = new U.UF.UI.form(
  2727. "思维导图",
  2728. $$("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"
  2729. "id": "mind",
  2730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2731. "onresize": function() {}
  2732. }, {
  2733. closecallback: function() {}
  2734. }, { "style": { "height": "36px" } }).form; //创建窗体
  2735. _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); } }
  2736. break;
  2737. case "doc":
  2738. // U.MD.D.I.isRoom();
  2739. _formdiv = new U.UF.UI.form(
  2740. "协同文档",
  2741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2742. "id": "doc",
  2743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2744. "onresize": function() {}
  2745. }, {
  2746. closecallback: function() {}
  2747. }, { "style": { "height": "36px" } }).form; //创建窗体
  2748. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2749. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2750. // })
  2751. _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); } }
  2752. break;
  2753. case "studentStudy":
  2754. _formdiv = new U.UF.UI.form(
  2755. "课程中心",
  2756. $$("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
  2757. "id": "studentStudy",
  2758. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2759. "onresize": function() {}
  2760. }, {
  2761. closecallback: function() {}
  2762. }, { "style": { "height": "36px" } }).form; //创建窗体
  2763. _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); } }
  2764. break;
  2765. case "train": //好友打开
  2766. _formdiv = new U.UF.UI.form(
  2767. "训练平台",
  2768. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2769. "id": "train",
  2770. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2771. "onresize": function() {}
  2772. }, {
  2773. closecallback: function() {}
  2774. }, { "style": { "height": "36px" } }).form; //创建窗体
  2775. _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); } }
  2776. break;
  2777. case "mindNetwork": //好友打开
  2778. _formdiv = new U.UF.UI.form(
  2779. "思维网格",
  2780. $$("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 }), {
  2781. "id": "mindNetwork",
  2782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2783. "onresize": function() {}
  2784. }, {
  2785. closecallback: function() {}
  2786. }, { "style": { "height": "36px" } }).form; //创建窗体
  2787. _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); } }
  2788. break;
  2789. case "studentClassRoom": //好友打开
  2790. _formdiv = new U.UF.UI.form(
  2791. "实时课堂",
  2792. $$("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 }), {
  2793. "id": "studentClassRoom",
  2794. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2795. "onresize": function() {}
  2796. }, {
  2797. closecallback: function() {}
  2798. }, { "style": { "height": "36px" } }).form; //创建窗体
  2799. _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); } }
  2800. setTimeout(() => {
  2801. U.UF.F.windowZooming(_formdiv)
  2802. }, 0);
  2803. break;
  2804. }
  2805. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2806. switch (str) {
  2807. case "studnetProject": //好友打开
  2808. _formdiv = new U.UF.UI.form(
  2809. "我的项目",
  2810. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2811. "id": "studnetProject",
  2812. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2813. "onresize": function() {}
  2814. }, {
  2815. closecallback: function() {}
  2816. }, { "style": { "height": "36px" } }).form; //创建窗体
  2817. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2818. break;
  2819. case "studentEvaluate": //好友打开
  2820. _formdiv = new U.UF.UI.form(
  2821. "我的评价",
  2822. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2823. "id": "studentEvaluate",
  2824. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2825. "onresize": function() {}
  2826. }, {
  2827. closecallback: function() {}
  2828. }, { "style": { "height": "36px" } }).form; //创建窗体
  2829. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2830. break;
  2831. case "my":
  2832. _formdiv = new U.UF.UI.form(
  2833. "我的资料",
  2834. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2835. "id": "my",
  2836. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2837. "onresize": function() {}
  2838. }, {
  2839. closecallback: function() {}
  2840. }, { "style": { "height": "36px" } }).form; //创建窗体
  2841. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2842. break;
  2843. case "program":
  2844. _formdiv = new U.UF.UI.form(
  2845. "编程平台",
  2846. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2847. "id": "program",
  2848. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2849. "onresize": function() {}
  2850. }, {
  2851. closecallback: function() {}
  2852. }, { "style": { "height": "36px" } }).form; //创建窗体
  2853. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2854. break;
  2855. case "library":
  2856. _formdiv = new U.UF.UI.form(
  2857. "素材库",
  2858. $$("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 }), {
  2859. "id": "library",
  2860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2861. "onresize": function() {}
  2862. }, {
  2863. closecallback: function() {}
  2864. }, { "style": { "height": "36px" } }).form; //创建窗体
  2865. _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); } }
  2866. break;
  2867. case "whiteboard":
  2868. _formdiv = new U.UF.UI.form(
  2869. "电子白板",
  2870. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2871. "id": "whiteboard",
  2872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2873. "onresize": function() {}
  2874. }, {
  2875. closecallback: function() {}
  2876. }, { "style": { "height": "36px" } }).form; //创建窗体
  2877. _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); } }
  2878. break;
  2879. case "investigation":
  2880. _formdiv = new U.UF.UI.form(
  2881. "问卷调查",
  2882. $$("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 }), {
  2883. "id": "investigation",
  2884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2885. "onresize": function() {}
  2886. }, {
  2887. closecallback: function() {}
  2888. }, { "style": { "height": "36px" } }).form; //创建窗体
  2889. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2890. break;
  2891. case "note":
  2892. _formdiv = new U.UF.UI.form(
  2893. "便签分类",
  2894. $$("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 }), {
  2895. "id": "note",
  2896. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2897. "onresize": function() {}
  2898. }, {
  2899. closecallback: function() {}
  2900. }, { "style": { "height": "36px" } }).form; //创建窗体
  2901. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2902. break;
  2903. // case "score":
  2904. // _formdiv = new U.UF.UI.form(
  2905. // "量规评分",
  2906. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2907. // "id": "score",
  2908. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2909. // "onresize": function() {}
  2910. // }, {
  2911. // closecallback: function() {}
  2912. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2913. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2914. // break;
  2915. case "mind":
  2916. _formdiv = new U.UF.UI.form(
  2917. "思维导图",
  2918. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2919. "id": "mind",
  2920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2921. "onresize": function() {}
  2922. }, {
  2923. closecallback: function() {}
  2924. }, { "style": { "height": "36px" } }).form; //创建窗体
  2925. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2926. break;
  2927. case "doc":
  2928. // U.MD.D.I.isRoom();
  2929. _formdiv = new U.UF.UI.form(
  2930. "协同文档",
  2931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2932. "id": "doc",
  2933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2934. "onresize": function() {}
  2935. }, {
  2936. closecallback: function() {}
  2937. }, { "style": { "height": "36px" } }).form; //创建窗体
  2938. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2939. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2940. })
  2941. _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); } }
  2942. break;
  2943. case "train": //好友打开
  2944. _formdiv = new U.UF.UI.form(
  2945. "训练平台",
  2946. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2947. "id": "train",
  2948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2949. "onresize": function() {}
  2950. }, {
  2951. closecallback: function() {}
  2952. }, { "style": { "height": "36px" } }).form; //创建窗体
  2953. _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); } }
  2954. break;
  2955. case "studentStudy":
  2956. _formdiv = new U.UF.UI.form(
  2957. "课程中心",
  2958. $$("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
  2959. "id": "studentStudy",
  2960. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2961. "onresize": function() {}
  2962. }, {
  2963. closecallback: function() {}
  2964. }, { "style": { "height": "36px" } }).form; //创建窗体
  2965. _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); } }
  2966. break;
  2967. case "mindNetwork": //好友打开
  2968. _formdiv = new U.UF.UI.form(
  2969. "思维网格",
  2970. $$("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 }), {
  2971. "id": "mindNetwork",
  2972. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2973. "onresize": function() {}
  2974. }, {
  2975. closecallback: function() {}
  2976. }, { "style": { "height": "36px" } }).form; //创建窗体
  2977. _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); } }
  2978. break;
  2979. case "studentClassRoom": //好友打开
  2980. _formdiv = new U.UF.UI.form(
  2981. "实时课堂",
  2982. $$("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 }), {
  2983. "id": "studentClassRoom",
  2984. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2985. "onresize": function() {}
  2986. }, {
  2987. closecallback: function() {}
  2988. }, { "style": { "height": "36px" } }).form; //创建窗体
  2989. _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); } }
  2990. setTimeout(() => {
  2991. U.UF.F.windowZooming(_formdiv)
  2992. }, 0);
  2993. break;
  2994. }
  2995. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2996. //选择应用处理
  2997. switch (str) {
  2998. case "project": //好友打开
  2999. _formdiv = new U.UF.UI.form(
  3000. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3001. $$("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 }), {
  3002. "id": "project",
  3003. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3004. "onresize": function() {}
  3005. }, {
  3006. closecallback: function() {}
  3007. }, { "style": { "height": "36px" } }).form; //创建窗体
  3008. _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); } }
  3009. break;
  3010. case "student":
  3011. _formdiv = new U.UF.UI.form(
  3012. "学生管理",
  3013. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3014. "id": "student",
  3015. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3016. "onresize": function() {}
  3017. }, {
  3018. closecallback: function() {}
  3019. }, { "style": { "height": "36px" } }).form; //创建窗体
  3020. _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); } }
  3021. break;
  3022. case "evaluate":
  3023. _formdiv = new U.UF.UI.form(
  3024. "学生评价",
  3025. $$("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 }), {
  3026. "id": "evaluate",
  3027. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3028. "onresize": function() {}
  3029. }, {
  3030. closecallback: function() {}
  3031. }, { "style": { "height": "36px" } }).form; //创建窗体
  3032. _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); } }
  3033. break;
  3034. case "sys":
  3035. _formdiv = new U.UF.UI.form(
  3036. "目标管理",
  3037. $$("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 }), {
  3038. "id": "sys",
  3039. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3040. "onresize": function() {}
  3041. }, {
  3042. closecallback: function() {}
  3043. }, { "style": { "height": "36px" } }).form; //创建窗体
  3044. _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); } }
  3045. break;
  3046. case "courseDesign":
  3047. _formdiv = new U.UF.UI.form(
  3048. "项目设计",
  3049. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3050. "id": "courseDesign",
  3051. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3052. "onresize": function() {}
  3053. }, {
  3054. closecallback: function() {}
  3055. }, { "style": { "height": "36px" } }).form; //创建窗体
  3056. _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); } }
  3057. break;
  3058. case "program":
  3059. _formdiv = new U.UF.UI.form(
  3060. "编程平台",
  3061. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3062. "id": "program",
  3063. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3064. "onresize": function() {}
  3065. }, {
  3066. closecallback: function() {}
  3067. }, { "style": { "height": "36px" } }).form; //创建窗体
  3068. _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); } }
  3069. break;
  3070. case "class":
  3071. _formdiv = new U.UF.UI.form(
  3072. "班级管理",
  3073. $$("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 }), {
  3074. "id": "class",
  3075. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3076. "onresize": function() {}
  3077. }, {
  3078. closecallback: function() {}
  3079. }, { "style": { "height": "36px" } }).form; //创建窗体
  3080. _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); } }
  3081. break;
  3082. case "Grade":
  3083. _formdiv = new U.UF.UI.form(
  3084. "年级管理",
  3085. $$("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 }), {
  3086. "id": "Grade",
  3087. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3088. "onresize": function() {}
  3089. }, {
  3090. closecallback: function() {}
  3091. }, { "style": { "height": "36px" } }).form; //创建窗体
  3092. _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); } }
  3093. break;
  3094. case "teacherOffice":
  3095. _formdiv = new U.UF.UI.form(
  3096. "教研室",
  3097. $$("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 }), {
  3098. "id": "teacherOffice",
  3099. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3100. "onresize": function() {}
  3101. }, {
  3102. closecallback: function() {}
  3103. }, { "style": { "height": "36px" } }).form; //创建窗体
  3104. _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); } }
  3105. break;
  3106. case "my":
  3107. _formdiv = new U.UF.UI.form(
  3108. "我的资料",
  3109. $$("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 }), {
  3110. "id": "my",
  3111. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3112. "onresize": function() {}
  3113. }, {
  3114. closecallback: function() {}
  3115. }, { "style": { "height": "36px" } }).form; //创建窗体
  3116. _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); } }
  3117. break;
  3118. case "notice":
  3119. _formdiv = new U.UF.UI.form(
  3120. "通知公告",
  3121. $$("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 }), {
  3122. "id": "notice",
  3123. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3124. "onresize": function() {}
  3125. }, {
  3126. closecallback: function() {}
  3127. }, { "style": { "height": "36px" } }).form; //创建窗体
  3128. _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); } }
  3129. break;
  3130. case "library":
  3131. _formdiv = new U.UF.UI.form(
  3132. "素材库",
  3133. $$("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 }), {
  3134. "id": "library",
  3135. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3136. "onresize": function() {}
  3137. }, {
  3138. closecallback: function() {}
  3139. }, { "style": { "height": "36px" } }).form; //创建窗体
  3140. _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); } }
  3141. break;
  3142. case "whiteboard":
  3143. _formdiv = new U.UF.UI.form(
  3144. "电子白板",
  3145. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3146. "id": "whiteboard",
  3147. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3148. "onresize": function() {}
  3149. }, {
  3150. closecallback: function() {}
  3151. }, { "style": { "height": "36px" } }).form; //创建窗体
  3152. _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); } }
  3153. break;
  3154. case "investigation":
  3155. _formdiv = new U.UF.UI.form(
  3156. "问卷调查",
  3157. $$("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 }), {
  3158. "id": "investigation",
  3159. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3160. "onresize": function() {}
  3161. }, {
  3162. closecallback: function() {}
  3163. }, { "style": { "height": "36px" } }).form; //创建窗体
  3164. _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); } }
  3165. break;
  3166. case "note":
  3167. _formdiv = new U.UF.UI.form(
  3168. "便签分类",
  3169. $$("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 }), {
  3170. "id": "note",
  3171. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3172. "onresize": function() {}
  3173. }, {
  3174. closecallback: function() {}
  3175. }, { "style": { "height": "36px" } }).form; //创建窗体
  3176. _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); } }
  3177. break;
  3178. // case "score":
  3179. // _formdiv = new U.UF.UI.form(
  3180. // "量规评分",
  3181. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3182. // "id": "score",
  3183. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3184. // "onresize": function() {}
  3185. // }, {
  3186. // closecallback: function() {}
  3187. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3188. // _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); } }
  3189. // break;
  3190. case "mind":
  3191. _formdiv = new U.UF.UI.form(
  3192. "思维导图",
  3193. $$("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"
  3194. "id": "mind",
  3195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3196. "onresize": function() {}
  3197. }, {
  3198. closecallback: function() {}
  3199. }, { "style": { "height": "36px" } }).form; //创建窗体
  3200. _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); } }
  3201. break;
  3202. case "doc":
  3203. // U.MD.D.I.isRoom();
  3204. _formdiv = new U.UF.UI.form(
  3205. "协同文档",
  3206. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3207. "id": "doc",
  3208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3209. "onresize": function() {}
  3210. }, {
  3211. closecallback: function() {}
  3212. }, { "style": { "height": "36px" } }).form; //创建窗体
  3213. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3214. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3215. })
  3216. _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); } }
  3217. break;
  3218. case "study":
  3219. _formdiv = new U.UF.UI.form(
  3220. "课程中心",
  3221. $$("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
  3222. "id": "study",
  3223. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3224. "onresize": function() {}
  3225. }, {
  3226. closecallback: function() {}
  3227. }, { "style": { "height": "36px" } }).form; //创建窗体
  3228. _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); } }
  3229. break;
  3230. case "mindNetwork": //好友打开
  3231. _formdiv = new U.UF.UI.form(
  3232. "思维网格",
  3233. $$("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 }), {
  3234. "id": "mindNetwork",
  3235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3236. "onresize": function() {}
  3237. }, {
  3238. closecallback: function() {}
  3239. }, { "style": { "height": "36px" } }).form; //创建窗体
  3240. _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); } }
  3241. break;
  3242. case "train": //好友打开
  3243. _formdiv = new U.UF.UI.form(
  3244. "训练平台",
  3245. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3246. "id": "mindNetwork",
  3247. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3248. "onresize": function() {}
  3249. }, {
  3250. closecallback: function() {}
  3251. }, { "style": { "height": "36px" } }).form; //创建窗体
  3252. _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); } }
  3253. break;
  3254. case "teacherClassRoom": //好友打开
  3255. _formdiv = new U.UF.UI.form(
  3256. "实时课堂",
  3257. $$("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 }), {
  3258. "id": "teacherClassRoom",
  3259. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3260. "onresize": function() {}
  3261. }, {
  3262. closecallback: function() {}
  3263. }, { "style": { "height": "36px" } }).form; //创建窗体
  3264. _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); } }
  3265. setTimeout(() => {
  3266. U.UF.F.windowZooming(_formdiv)
  3267. }, 0);
  3268. break;
  3269. }
  3270. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3271. switch (str) {
  3272. case "project": //好友打开
  3273. _formdiv = new U.UF.UI.form(
  3274. "课程管理",
  3275. $$("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 }), {
  3276. "id": "project",
  3277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3278. "onresize": function() {}
  3279. }, {
  3280. closecallback: function() {}
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3283. break;
  3284. case "evaluate":
  3285. _formdiv = new U.UF.UI.form(
  3286. "学生评价",
  3287. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3288. "id": "evaluate",
  3289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function() {}
  3291. }, {
  3292. closecallback: function() {}
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3295. break;
  3296. case "notice":
  3297. _formdiv = new U.UF.UI.form(
  3298. "通知公告",
  3299. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3300. "id": "notice",
  3301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3302. "onresize": function() {}
  3303. }, {
  3304. closecallback: function() {}
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3307. break;
  3308. case "stuLibrary":
  3309. _formdiv = new U.UF.UI.form(
  3310. "学习资料",
  3311. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3312. "id": "stuLibrary",
  3313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. "onresize": function() {}
  3315. }, {
  3316. closecallback: function() {}
  3317. }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3319. break;
  3320. case "program":
  3321. _formdiv = new U.UF.UI.form(
  3322. "编程平台",
  3323. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3324. "id": "program",
  3325. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3326. "onresize": function() {}
  3327. }, {
  3328. closecallback: function() {}
  3329. }, { "style": { "height": "36px" } }).form; //创建窗体
  3330. _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); } }
  3331. break;
  3332. case "whiteboard":
  3333. _formdiv = new U.UF.UI.form(
  3334. "电子白板",
  3335. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3336. "id": "whiteboard",
  3337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3338. "onresize": function() {}
  3339. }, {
  3340. closecallback: function() {}
  3341. }, { "style": { "height": "36px" } }).form; //创建窗体
  3342. _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); } }
  3343. break;
  3344. case "investigation":
  3345. _formdiv = new U.UF.UI.form(
  3346. "问卷调查",
  3347. $$("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 }), {
  3348. "id": "investigation",
  3349. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3350. "onresize": function() {}
  3351. }, {
  3352. closecallback: function() {}
  3353. }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. _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); } }
  3355. break;
  3356. case "mind":
  3357. _formdiv = new U.UF.UI.form(
  3358. "思维导图",
  3359. $$("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"
  3360. "id": "mind",
  3361. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3362. "onresize": function() {}
  3363. }, {
  3364. closecallback: function() {}
  3365. }, { "style": { "height": "36px" } }).form; //创建窗体
  3366. _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); } }
  3367. break;
  3368. case "doc":
  3369. // U.MD.D.I.isRoom();
  3370. _formdiv = new U.UF.UI.form(
  3371. "协同文档",
  3372. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3373. "id": "doc",
  3374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3375. "onresize": function() {}
  3376. }, {
  3377. closecallback: function() {}
  3378. }, { "style": { "height": "36px" } }).form; //创建窗体
  3379. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3380. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3381. })
  3382. _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); } }
  3383. break;
  3384. case "study":
  3385. _formdiv = new U.UF.UI.form(
  3386. "课程中心",
  3387. $$("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
  3388. "id": "study",
  3389. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3390. "onresize": function() {}
  3391. }, {
  3392. closecallback: function() {}
  3393. }, { "style": { "height": "36px" } }).form; //创建窗体
  3394. _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); } }
  3395. break;
  3396. case "mindNetwork": //好友打开
  3397. _formdiv = new U.UF.UI.form(
  3398. "思维网格",
  3399. $$("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 }), {
  3400. "id": "mindNetwork",
  3401. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3402. "onresize": function() {}
  3403. }, {
  3404. closecallback: function() {}
  3405. }, { "style": { "height": "36px" } }).form; //创建窗体
  3406. _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); } }
  3407. break;
  3408. case "train": //好友打开
  3409. _formdiv = new U.UF.UI.form(
  3410. "训练平台",
  3411. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3412. "id": "train",
  3413. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3414. "onresize": function() {}
  3415. }, {
  3416. closecallback: function() {}
  3417. }, { "style": { "height": "36px" } }).form; //创建窗体
  3418. _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); } }
  3419. break;
  3420. case "sys":
  3421. _formdiv = new U.UF.UI.form(
  3422. "目标管理",
  3423. $$("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 }), {
  3424. "id": "sys",
  3425. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3426. "onresize": function() {}
  3427. }, {
  3428. closecallback: function() {}
  3429. }, { "style": { "height": "36px" } }).form; //创建窗体
  3430. _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); } }
  3431. break;
  3432. case "courseDesign":
  3433. _formdiv = new U.UF.UI.form(
  3434. "项目设计",
  3435. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3436. "id": "courseDesign",
  3437. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3438. "onresize": function() {}
  3439. }, {
  3440. closecallback: function() {}
  3441. }, { "style": { "height": "36px" } }).form; //创建窗体
  3442. _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); } }
  3443. break;
  3444. }
  3445. } else if (!_type) {
  3446. switch (str) {
  3447. case "my":
  3448. _formdiv = new U.UF.UI.form(
  3449. "我的资料",
  3450. $$("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 }), {
  3451. "id": "my",
  3452. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3453. "onresize": function() {}
  3454. }, {
  3455. closecallback: function() {}
  3456. }, { "style": { "height": "36px" } }).form; //创建窗体
  3457. _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); } }
  3458. break;
  3459. }
  3460. }
  3461. switch (str) {
  3462. // AIprogram2 AI体验 aihub.cocorobo.cn
  3463. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3464. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3465. case "formulaEdi": //公式编辑
  3466. _formdiv = new U.UF.UI.form(
  3467. "公式编辑",
  3468. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3469. "id": "formulaEdi",
  3470. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3471. "onresize": function() {}
  3472. }, {
  3473. closecallback: function() {}
  3474. }, { "style": { "height": "36px" } }).form; //创建窗体
  3475. _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); } }
  3476. break;
  3477. case "molStr": //分子结构
  3478. _formdiv = new U.UF.UI.form(
  3479. "分子结构",
  3480. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3481. "id": "molStr",
  3482. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3483. "onresize": function() {}
  3484. }, {
  3485. closecallback: function() {}
  3486. }, { "style": { "height": "36px" } }).form; //创建窗体
  3487. _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); } }
  3488. break;
  3489. case "timeAxis": //时间轴
  3490. _formdiv = new U.UF.UI.form(
  3491. "时间轴",
  3492. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3493. "id": "timeAxis",
  3494. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3495. "onresize": function() {}
  3496. }, {
  3497. closecallback: function() {}
  3498. }, { "style": { "height": "36px" } }).form; //创建窗体
  3499. _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); } }
  3500. break;
  3501. case "AIprogram2": //AI体验
  3502. _formdiv = new U.UF.UI.form(
  3503. "AI体验",
  3504. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3505. "id": "AIprogram2",
  3506. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3507. "onresize": function() {}
  3508. }, {
  3509. closecallback: function() {}
  3510. }, { "style": { "height": "36px" } }).form; //创建窗体
  3511. _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); } }
  3512. break;
  3513. case "Pythonprogram": //python编程
  3514. _formdiv = new U.UF.UI.form(
  3515. "Python编程",
  3516. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3517. "id": "Pythonprogram",
  3518. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3519. "onresize": function() {}
  3520. }, {
  3521. closecallback: function() {}
  3522. }, { "style": { "height": "36px" } }).form; //创建窗体
  3523. _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); } }
  3524. break;
  3525. case "AIprogram": //ai编程
  3526. _formdiv = new U.UF.UI.form(
  3527. "AI编程平台",
  3528. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3529. "id": "AIprogram",
  3530. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3531. "onresize": function() {}
  3532. }, {
  3533. closecallback: function() {}
  3534. }, { "style": { "height": "36px" } }).form; //创建窗体
  3535. _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); } }
  3536. break;
  3537. case "CocoPi": //CocoPi
  3538. _formdiv = new U.UF.UI.form(
  3539. "CocoPi",
  3540. $$("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" }), {
  3541. "id": "CocoPi",
  3542. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3543. "onresize": function() {}
  3544. }, {
  3545. closecallback: function() {}
  3546. }, { "style": { "height": "36px" } }).form; //创建窗体
  3547. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3548. break;
  3549. case "Wood": //Wood
  3550. _formdiv = new U.UF.UI.form(
  3551. "海龟编程",
  3552. $$("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/" }), {
  3553. "id": "Wood",
  3554. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3555. "onresize": function() {}
  3556. }, {
  3557. closecallback: function() {}
  3558. }, { "style": { "height": "36px" } }).form; //创建窗体
  3559. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3560. break;
  3561. case "car": //模拟驾驶
  3562. _formdiv = new U.UF.UI.form(
  3563. "模拟驾驶",
  3564. $$("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/" }), {
  3565. "id": "car",
  3566. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3567. "onresize": function() {}
  3568. }, {
  3569. closecallback: function() {}
  3570. }, { "style": { "height": "36px" } }).form; //创建窗体
  3571. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3572. break;
  3573. case "lineSearch": //路径搜索
  3574. _formdiv = new U.UF.UI.form(
  3575. "路径搜索",
  3576. $$("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/" }), {
  3577. "id": "lineSearch",
  3578. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3579. "onresize": function() {}
  3580. }, {
  3581. closecallback: function() {}
  3582. }, { "style": { "height": "36px" } }).form; //创建窗体
  3583. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3584. break;
  3585. case "deepLearning": //深度学习
  3586. _formdiv = new U.UF.UI.form(
  3587. "深度学习",
  3588. $$("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/#" }), {
  3589. "id": "deepLearning",
  3590. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3591. "onresize": function() {}
  3592. }, {
  3593. closecallback: function() {}
  3594. }, { "style": { "height": "36px" } }).form; //创建窗体
  3595. _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); } }
  3596. break;
  3597. case "allHistory": //深度学习
  3598. _formdiv = new U.UF.UI.form(
  3599. "全历史",
  3600. $$("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/" }), {
  3601. "id": "allHistory",
  3602. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3603. "onresize": function() {}
  3604. }, {
  3605. closecallback: function() {}
  3606. }, { "style": { "height": "36px" } }).form; //创建窗体
  3607. _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); } }
  3608. break;
  3609. case "chatPDF": //ai编程
  3610. _formdiv = new U.UF.UI.form(
  3611. "chatPDF",
  3612. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3613. "id": "chatPDF",
  3614. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3615. "onresize": function() {}
  3616. }, {
  3617. closecallback: function() {}
  3618. }, { "style": { "height": "36px" } }).form; //创建窗体
  3619. _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); } }
  3620. break;
  3621. case "resources": //国家教育
  3622. _formdiv = new U.UF.UI.form(
  3623. "国家教育",
  3624. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3625. "id": "resources",
  3626. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3627. "onresize": function() {}
  3628. }, {
  3629. closecallback: function() {}
  3630. }, { "style": { "height": "36px" } }).form; //创建窗体
  3631. _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); } }
  3632. break;
  3633. case "codeEdit": //源码编辑
  3634. _formdiv = new U.UF.UI.form(
  3635. "源码编辑",
  3636. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3637. "id": "codeEdit",
  3638. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3639. "onresize": function() {}
  3640. }, {
  3641. closecallback: function() {}
  3642. }, { "style": { "height": "36px" } }).form; //创建窗体
  3643. _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); } }
  3644. break; //
  3645. case "MindMap": //MindMap
  3646. _formdiv = new U.UF.UI.form(
  3647. "MindMap",
  3648. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3649. "id": "MindMap",
  3650. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3651. "onresize": function() {}
  3652. }, {
  3653. closecallback: function() {}
  3654. }, { "style": { "height": "36px" } }).form; //创建窗体
  3655. _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); } }
  3656. break;
  3657. case "netWorkPanel": //netWorkPanel
  3658. _formdiv = new U.UF.UI.form(
  3659. "netWorkPanel",
  3660. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3661. "id": "netWorkPanel",
  3662. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3663. "onresize": function() {}
  3664. }, {
  3665. closecallback: function() {}
  3666. }, { "style": { "height": "36px" } }).form; //创建窗体
  3667. _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); } }
  3668. break;
  3669. case "GeoGebra": //GeoGebra
  3670. _formdiv = new U.UF.UI.form(
  3671. "GeoGebra",
  3672. $$("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" }), {
  3673. "id": "GeoGebra",
  3674. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3675. "onresize": function() {}
  3676. }, {
  3677. closecallback: function() {}
  3678. }, { "style": { "height": "36px" } }).form; //创建窗体
  3679. _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); } }
  3680. break;
  3681. case "translation": //翻译
  3682. _formdiv = new U.UF.UI.form(
  3683. "翻译",
  3684. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3685. "id": "translation",
  3686. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3687. "onresize": function() {}
  3688. }, {
  3689. closecallback: function() {}
  3690. }, { "style": { "height": "36px" } }).form; //创建窗体
  3691. _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); } }
  3692. break;
  3693. case "mohe": //魔盒
  3694. _formdiv = new U.UF.UI.form(
  3695. "魔盒识字",
  3696. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3697. "id": "mohe",
  3698. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3699. "onresize": function() {}
  3700. }, {
  3701. closecallback: function() {}
  3702. }, { "style": { "height": "36px" } }).form; //创建窗体
  3703. _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); } }
  3704. break;
  3705. case "24game": //24点
  3706. _formdiv = new U.UF.UI.form(
  3707. "24点",
  3708. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3709. "id": "24game",
  3710. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3711. "onresize": function() {}
  3712. }, {
  3713. closecallback: function() {}
  3714. }, { "style": { "height": "36px" } }).form; //创建窗体
  3715. _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); } }
  3716. break;
  3717. case "case":
  3718. _formdiv = new U.UF.UI.form(
  3719. "课程进展",
  3720. $$("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 }), {
  3721. "id": "case",
  3722. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3723. "onresize": function() {}
  3724. }, {
  3725. closecallback: function() {}
  3726. }, { "style": { "height": "36px" } }).form; //创建窗体
  3727. _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); } }
  3728. break;
  3729. case "snf":
  3730. _formdiv = new U.UF.UI.form(
  3731. "赛诺梵",
  3732. $$("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" }), {
  3733. "id": "snf",
  3734. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3735. "onresize": function() {}
  3736. }, {
  3737. closecallback: function() {}
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. _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); } }
  3740. break;
  3741. case "hanFamily":
  3742. _formdiv = new U.UF.UI.form(
  3743. "汉字家族",
  3744. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3745. "id": "hanFamily",
  3746. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3747. "onresize": function() {}
  3748. }, {
  3749. closecallback: function() {}
  3750. }, { "style": { "height": "36px" } }).form; //创建窗体
  3751. _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); } }
  3752. break;
  3753. case "hanClassics":
  3754. _formdiv = new U.UF.UI.form(
  3755. "国学经典",
  3756. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3757. "id": "hanClassics",
  3758. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3759. "onresize": function() {}
  3760. }, {
  3761. closecallback: function() {}
  3762. }, { "style": { "height": "36px" } }).form; //创建窗体
  3763. _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); } }
  3764. break;
  3765. case "hanTraining":
  3766. _formdiv = new U.UF.UI.form(
  3767. "笔画训练",
  3768. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3769. "id": "hanTraining",
  3770. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function() {}
  3772. }, {
  3773. closecallback: function() {}
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _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); } }
  3776. break;
  3777. case "hanClass":
  3778. _formdiv = new U.UF.UI.form(
  3779. "书法课堂",
  3780. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3781. "id": "hanClass",
  3782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function() {}
  3784. }, {
  3785. closecallback: function() {}
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _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); } }
  3788. break;
  3789. case "han":
  3790. _formdiv = new U.UF.UI.form(
  3791. "汉字宫",
  3792. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3793. "id": "han",
  3794. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function() {}
  3796. }, {
  3797. closecallback: function() {}
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _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); } }
  3800. break;
  3801. case "projectGM": //课程管理
  3802. _formdiv = new U.UF.UI.form(
  3803. "课程管理",
  3804. $$("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 }), {
  3805. "id": "projectGM",
  3806. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function() {}
  3808. }, {
  3809. closecallback: function() {}
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. case "studyGM": //课程中心
  3814. _formdiv = new U.UF.UI.form(
  3815. "课程中心",
  3816. $$("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
  3817. "id": "study",
  3818. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3819. "onresize": function() {}
  3820. }, {
  3821. closecallback: function() {}
  3822. }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. _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); } }
  3824. break;
  3825. // studentGM
  3826. case "studentGM": //学生管理
  3827. _formdiv = new U.UF.UI.form(
  3828. "学生管理",
  3829. $$("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 }), {
  3830. "id": "studentGM",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function() {}
  3833. }, {
  3834. closecallback: function() {}
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _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); } }
  3837. break;
  3838. case "evaluateGM": //学生评价
  3839. _formdiv = new U.UF.UI.form(
  3840. "学生评价",
  3841. $$("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 }), {
  3842. "id": "evaluateGM",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function() {}
  3845. }, {
  3846. closecallback: function() {}
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _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); } }
  3849. break;
  3850. // classGM
  3851. case "classGM": //班级管理
  3852. _formdiv = new U.UF.UI.form(
  3853. "班级管理",
  3854. $$("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 }), {
  3855. "id": "classGM",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function() {}
  3858. }, {
  3859. closecallback: function() {}
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. _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); } }
  3862. break;
  3863. // dataGM
  3864. case "dataGM":
  3865. _formdiv = new U.UF.UI.form(
  3866. "我的资料",
  3867. $$("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 }), {
  3868. "id": "dataGM",
  3869. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3870. "onresize": function() {}
  3871. }, {
  3872. closecallback: function() {}
  3873. }, { "style": { "height": "36px" } }).form; //创建窗体
  3874. _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); } }
  3875. break;
  3876. // caseGM
  3877. case "caseGM": //课程进展
  3878. _formdiv = new U.UF.UI.form(
  3879. "课程进展",
  3880. $$("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 }), {
  3881. "id": "caseGM",
  3882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function() {}
  3884. }, {
  3885. closecallback: function() {}
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _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); } }
  3888. break;
  3889. // meterialGM
  3890. case "meterialGM": //素材库
  3891. _formdiv = new U.UF.UI.form(
  3892. "素材库",
  3893. $$("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 }), {
  3894. "id": "meterialGM",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function() {}
  3897. }, {
  3898. closecallback: function() {}
  3899. }, { "style": { "height": "36px" } }).form; //创建窗体
  3900. _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); } }
  3901. break;
  3902. // evaluateSGM
  3903. case "evaluateSGM": //我的评价
  3904. _formdiv = new U.UF.UI.form(
  3905. "我的评价",
  3906. $$("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 }), {
  3907. "id": "evaluateSGM",
  3908. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3909. "onresize": function() {}
  3910. }, {
  3911. closecallback: function() {}
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _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); } }
  3914. break;
  3915. case "jupyter": //jupyter
  3916. _formdiv = new U.UF.UI.form(
  3917. "jupyter",
  3918. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3919. "id": "jupyter",
  3920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3921. "onresize": function() {}
  3922. }, {
  3923. closecallback: function() {}
  3924. }, { "style": { "height": "36px" } }).form; //创建窗体
  3925. _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); } }
  3926. break;
  3927. case "number": //数字实验室
  3928. _formdiv = new U.UF.UI.form(
  3929. "数字实验室",
  3930. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3931. "id": "number",
  3932. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3933. "onresize": function() {}
  3934. }, {
  3935. closecallback: function() {}
  3936. }, { "style": { "height": "36px" } }).form; //创建窗体
  3937. _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); } }
  3938. break;
  3939. case "studentCourse": //项目管理 学生
  3940. _formdiv = new U.UF.UI.form(
  3941. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3942. $$("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 }), {
  3943. "id": "studentCourse",
  3944. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3945. "onresize": function() {}
  3946. }, {
  3947. closecallback: function() {}
  3948. }, { "style": { "height": "36px" } }).form; //创建窗体
  3949. _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); } }
  3950. break;
  3951. case "studentCourseS": //项目管理 老师
  3952. _formdiv = new U.UF.UI.form(
  3953. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3954. $$("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 }), {
  3955. "id": "studentCourseS",
  3956. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3957. "onresize": function() {}
  3958. }, {
  3959. closecallback: function() {}
  3960. }, { "style": { "height": "36px" } }).form; //创建窗体
  3961. _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); } }
  3962. break;
  3963. case "studentIndex": //项目中心
  3964. _formdiv = new U.UF.UI.form(
  3965. "项目中心",
  3966. $$("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 }), {
  3967. "id": "studentIndex",
  3968. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3969. "onresize": function() {}
  3970. }, {
  3971. closecallback: function() {}
  3972. }, { "style": { "height": "36px" } }).form; //创建窗体
  3973. _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); } }
  3974. break;
  3975. case "CaseDesignS":
  3976. _formdiv = new U.UF.UI.form(
  3977. "项目进展",
  3978. $$("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 }), {
  3979. "id": "case",
  3980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3981. "onresize": function() {}
  3982. }, {
  3983. closecallback: function() {}
  3984. }, { "style": { "height": "36px" } }).form; //创建窗体
  3985. _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); } }
  3986. break;
  3987. case "tcStudent": //腾讯学生管理
  3988. _formdiv = new U.UF.UI.form(
  3989. "学生管理",
  3990. $$("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 }), {
  3991. "id": "tcStudent",
  3992. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3993. "onresize": function() {}
  3994. }, {
  3995. closecallback: function() {}
  3996. }, { "style": { "height": "36px" } }).form; //创建窗体
  3997. _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); } }
  3998. break;
  3999. case "tcSchool": //腾讯学校管理
  4000. _formdiv = new U.UF.UI.form(
  4001. "学校管理",
  4002. $$("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 }), {
  4003. "id": "tcSchool",
  4004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4005. "onresize": function() {}
  4006. }, {
  4007. closecallback: function() {}
  4008. }, { "style": { "height": "36px" } }).form; //创建窗体
  4009. _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); } }
  4010. break;
  4011. case "tcTeacher": //腾讯学校管理
  4012. _formdiv = new U.UF.UI.form(
  4013. "教师管理",
  4014. $$("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 }), {
  4015. "id": "tcTeacher",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function() {}
  4018. }, {
  4019. closecallback: function() {}
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _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); } }
  4022. break;
  4023. case "tcData": //腾讯我的资料
  4024. _formdiv = new U.UF.UI.form(
  4025. "我的资料",
  4026. $$("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 }), {
  4027. "id": "tcData",
  4028. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4029. "onresize": function() {}
  4030. }, {
  4031. closecallback: function() {}
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _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); } }
  4034. break;
  4035. case "tcNotice": //腾讯消息通知
  4036. _formdiv = new U.UF.UI.form(
  4037. "消息通知",
  4038. $$("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 }), {
  4039. "id": "tcNotice",
  4040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function() {}
  4042. }, {
  4043. closecallback: function() {}
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _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); } }
  4046. break;
  4047. case "myReport": //好友打开
  4048. _formdiv = new U.UF.UI.form(
  4049. "我的评价",
  4050. $$("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 }), {
  4051. "id": "myReport",
  4052. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4053. "onresize": function() {}
  4054. }, {
  4055. closecallback: function() {}
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _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); } }
  4058. break;
  4059. case "learnAna": //好友打开
  4060. _formdiv = new U.UF.UI.form(
  4061. "学习分析",
  4062. $$("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 }), {
  4063. "id": "learnAna",
  4064. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4065. "onresize": function() {}
  4066. }, {
  4067. closecallback: function() {}
  4068. }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. _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); } }
  4070. break;
  4071. case "AIChat": //AI共创
  4072. _formdiv = new U.UF.UI.form(
  4073. "AI共创",
  4074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4075. "id": "AIChat",
  4076. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4077. "onresize": function() {}
  4078. }, {
  4079. istop: true,
  4080. closecallback: function() { $("#aichat_icon").remove(); },
  4081. narrowcallback: function() {
  4082. if (!$("#aichat_icon")[0]) {
  4083. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4084. }
  4085. },
  4086. }, { "style": { "height": "36px" } }).form; //创建窗体
  4087. _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); } }
  4088. break;
  4089. case "ainew": //AI共创
  4090. _formdiv = new U.UF.UI.form(
  4091. "AI协同",
  4092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4093. "id": "ainew",
  4094. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4095. "onresize": function() {}
  4096. }, {
  4097. closecallback: function() {}
  4098. }, { "style": { "height": "36px" } }).form; //创建窗体
  4099. _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); } }
  4100. break;
  4101. case "futureClass": //AI共创
  4102. _formdiv = new U.UF.UI.form(
  4103. "协同建构",
  4104. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4105. "id": "futureClass",
  4106. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4107. "onresize": function() {}
  4108. }, {
  4109. closecallback: function() {}
  4110. }, { "style": { "height": "36px" } }).form; //创建窗体
  4111. _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); } }
  4112. break;
  4113. case "dataBoard": //数据看板
  4114. _formdiv = new U.UF.UI.form(
  4115. "数据看板",
  4116. $$("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 }), {
  4117. "id": "dataBoard",
  4118. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4119. "onresize": function() {}
  4120. }, {
  4121. closecallback: function() {}
  4122. }, { "style": { "height": "36px" } }).form; //创建窗体
  4123. _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); } }
  4124. break;
  4125. case "AIAnalyse": //AI共创
  4126. _formdiv = new U.UF.UI.form(
  4127. "AI分析",
  4128. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4129. "id": "AIAnalyse",
  4130. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4131. "onresize": function() {}
  4132. }, {
  4133. closecallback: function() {}
  4134. }, { "style": { "height": "36px" } }).form; //创建窗体
  4135. _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); } }
  4136. break;
  4137. case "studioCourse": //AI共创
  4138. _formdiv = new U.UF.UI.form(
  4139. "工作管理",
  4140. $$("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 }), {
  4141. "id": "studioCourse",
  4142. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4143. "onresize": function() {}
  4144. }, {
  4145. closecallback: function() {}
  4146. }, { "style": { "height": "36px" } }).form; //创建窗体
  4147. _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); } }
  4148. break;
  4149. case "studioIndex": //AI共创
  4150. _formdiv = new U.UF.UI.form(
  4151. "工作中心",
  4152. $$("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 }), {
  4153. "id": "studioIndex",
  4154. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4155. "onresize": function() {}
  4156. }, {
  4157. closecallback: function() {}
  4158. }, { "style": { "height": "36px" } }).form; //创建窗体
  4159. _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); } }
  4160. break;
  4161. case "source":
  4162. _formdiv = new U.UF.UI.form(
  4163. "教学资源",
  4164. $$("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 }), {
  4165. "id": "source",
  4166. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4167. "onresize": function() {}
  4168. }, {
  4169. closecallback: function() {}
  4170. }, { "style": { "height": "36px" } }).form; //创建窗体
  4171. _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); } }
  4172. break;
  4173. }
  4174. //U.MD.D.I.openClick(str);
  4175. //如果有任务栏信息
  4176. if (_taskbar) {
  4177. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4178. }
  4179. }
  4180. // U.MD.D.I.openClick = function(str){
  4181. // var click = '';
  4182. // switch(str){
  4183. // case 'friend':
  4184. // click = '我的好友';
  4185. // break;
  4186. // case 'domain':
  4187. // click = '域名管理';
  4188. // break;
  4189. // case 'disk':
  4190. // click = '我的云盘';
  4191. // break;
  4192. // case 'word':
  4193. // click = 'Word';
  4194. // break;
  4195. // case 'excel':
  4196. // click = 'Execl';
  4197. // break;
  4198. // case 'txt':
  4199. // click = '文本文件';
  4200. // break;
  4201. // case 'lookupFriend':
  4202. // click = '查找好友';
  4203. // break;
  4204. // case 'ftp':
  4205. // click = 'FTP';
  4206. // break;
  4207. // case 'group':
  4208. // click = '群组';
  4209. // break;
  4210. // case 'set':
  4211. // click = '我的设置';
  4212. // break;
  4213. // case 'systemSet':
  4214. // click = '系统设置';
  4215. // break;
  4216. // case 'boomYun':
  4217. // click = '互联办公';
  4218. // break;
  4219. // case 'xz':
  4220. // click = '云端下载';
  4221. // break;
  4222. // case 'client':
  4223. // click = '有思浏览器';
  4224. // break;
  4225. // case 'backEndProgramming':
  4226. // click = '在线后台编程';
  4227. // break;
  4228. // case 'frontEndProgramming':
  4229. // click = '在线前端编程';
  4230. // break;
  4231. // default: break;
  4232. // }
  4233. // if(U.MD.D.I.Ip && click){
  4234. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4235. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4236. // })
  4237. // }
  4238. // }
  4239. /**
  4240. *函数作用:ajax简易函数,使用post格式
  4241. *@param url {data} 后台地址
  4242. *@param data {data} 参数json
  4243. *@param fn {data} 回调函数
  4244. *
  4245. */
  4246. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4247. // var xhr = new XMLHttpRequest();
  4248. // xhr.open("GET",url,true);
  4249. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4250. // xhr.onreadystatechange = function(){
  4251. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4252. // fn.call(this,xhr.responseText);
  4253. // }
  4254. // };
  4255. // xhr.send();
  4256. // }
  4257. /*判断是否是内网IP*/
  4258. // U.MD.D.I.isInnerIPFn = function(str){
  4259. // var curPageUrl = str;
  4260. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4261. // curPageUrl =curPageUrl.replace(reg1,'');
  4262. // // console.log('curPageUrl-1 '+curPageUrl);
  4263. // var reg2 = /\:+/g;//替换冒号为一点
  4264. // curPageUrl =curPageUrl.replace(reg2,'.');
  4265. // // console.log('curPageUrl-2 '+curPageUrl);
  4266. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4267. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4268. // if(curPageUrl[2] != '16'){
  4269. // return ipAddress;
  4270. // }else{
  4271. // return false;
  4272. // }
  4273. // }
  4274. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4275. // //compatibility for firefox and chrome
  4276. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4277. // var pc = new myPeerConnection({
  4278. // iceServers: []
  4279. // }),
  4280. // noop = function() {},
  4281. // localIPs = {},
  4282. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4283. // key;
  4284. // function iterateIP(ip) {
  4285. // if (!localIPs[ip]) onNewIP(ip);
  4286. // localIPs[ip] = true;
  4287. // }
  4288. // //create a bogus data channel
  4289. // pc.createDataChannel("");
  4290. // // create offer and set local description
  4291. // pc.createOffer().then(function(sdp) {
  4292. // sdp.sdp.split('\n').forEach(function(line) {
  4293. // if (line.indexOf('candidate') < 0) return;
  4294. // line.match(ipRegex).forEach(iterateIP);
  4295. // });
  4296. // pc.setLocalDescription(sdp, noop, noop);
  4297. // }).catch(function(reason) {
  4298. // // An error occurred, so handle the failure to connect
  4299. // });
  4300. // //sten for candidate events
  4301. // pc.onicecandidate = function(ice) {
  4302. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4303. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4304. // };
  4305. // }
  4306. // U.MD.D.I.getUserIpBool = function(callback){
  4307. // U.MD.D.I.getUserIP(function(ip){
  4308. // alert("Got IP! :" + ip);
  4309. // });
  4310. //}
  4311. //#endregion
  4312. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4313. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4314. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4315. _userinfo = US.userInfo, //登录用户信息
  4316. _userid = US.userInfo.userid //登录用户id
  4317. let _iframe;
  4318. let _cid = cid,
  4319. _stage = stage,
  4320. _task = task,
  4321. _tool = tool;
  4322. var _jie = $$("div", {
  4323. "style": {
  4324. "position": "absolute",
  4325. "bottom": "50px",
  4326. "right": "50px",
  4327. "zIndex": "9999",
  4328. "backgroundColor": "#2268bc",
  4329. "color": "#fff",
  4330. "padding": "12px 20px",
  4331. "cursor": "pointer",
  4332. "borderRadius": "4px",
  4333. },
  4334. "innerHTML": "提交作业"
  4335. })
  4336. let aTool = ''
  4337. let _loading = document.createElement('div')
  4338. _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;"
  4339. // _loading.id = "";
  4340. let _lchild = document.createElement('div')
  4341. let _limg = document.createElement('img')
  4342. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4343. _limg.style = "width: 26px;margin-right: 10px;"
  4344. _lchild.appendChild(_limg)
  4345. let _lspan = document.createElement('span')
  4346. _lspan.innerHTML = "上传中..."
  4347. _lchild.appendChild(_lspan)
  4348. _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%);"
  4349. _loading.appendChild(_lchild)
  4350. var _box = $$('div', {
  4351. "style": {
  4352. "position": "relative",
  4353. "width": "100%",
  4354. "height": "100%",
  4355. },
  4356. })
  4357. _box.appendChild(_loading)
  4358. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4359. switch (str) {
  4360. case "whiteboard":
  4361. aTool = 1;
  4362. _iframe = $$("iframe", {
  4363. "frameborder": "no",
  4364. "border": "0",
  4365. "scrolling ": "no",
  4366. "style": {
  4367. "cssText": "border:0;width:100%;height:100%"
  4368. },
  4369. "src": "https://iwb.cocorobo.cn/"
  4370. })
  4371. _box.appendChild(_iframe);
  4372. _box.appendChild(_jie);
  4373. _formdiv = new U.UF.UI.form(
  4374. "电子白板",
  4375. _box, {
  4376. "id": "whiteboard" + cid + stage + task + tool,
  4377. "style": {
  4378. "width": "90%",
  4379. "height": "90%",
  4380. "overflow": 'hidden'
  4381. },
  4382. "onresize": function() {}
  4383. }, {
  4384. closecallback: function() {}
  4385. }, {
  4386. "style": {
  4387. "height": "36px"
  4388. }
  4389. }).form; //创建窗体
  4390. _taskbar = {
  4391. "id": str + _formdiv.id,
  4392. "style": {
  4393. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4394. },
  4395. "name": "电子白板",
  4396. "forms": _formdiv,
  4397. "click": function() {
  4398. U.MD.D.I.openApplication(str, obj, info);
  4399. }
  4400. }
  4401. break;
  4402. case "mind":
  4403. aTool = 3;
  4404. _iframe = $$("iframe", {
  4405. "frameborder": "no",
  4406. "border": "0",
  4407. "scrolling ": "no",
  4408. "style": {
  4409. "cssText": "border:0;width:100%;height:100%"
  4410. },
  4411. "src": "/kityminder-editor/dist/index.html"
  4412. })
  4413. _box.appendChild(_iframe);
  4414. _box.appendChild(_jie);
  4415. _formdiv = new U.UF.UI.form(
  4416. "思维导图",
  4417. _box, { //"/jsmind/example/demo.html"
  4418. "id": "mind" + cid + stage + task + tool,
  4419. "style": {
  4420. "width": "90%",
  4421. "height": "90%",
  4422. "overflow": 'hidden'
  4423. },
  4424. "onresize": function() {}
  4425. }, {
  4426. closecallback: function() {}
  4427. }, {
  4428. "style": {
  4429. "height": "36px"
  4430. }
  4431. }).form; //创建窗体
  4432. _taskbar = {
  4433. "id": str + _formdiv.id,
  4434. "style": {
  4435. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4436. },
  4437. "name": "思维导图",
  4438. "forms": _formdiv,
  4439. "click": function() {
  4440. U.MD.D.I.openApplication(str, obj, info);
  4441. }
  4442. }
  4443. break;
  4444. case "MindMap":
  4445. aTool = 3;
  4446. _iframe = $$("iframe", {
  4447. "frameborder": "no",
  4448. "border": "0",
  4449. "scrolling ": "no",
  4450. "style": {
  4451. "cssText": "border:0;width:100%;height:100%"
  4452. },
  4453. "src": "//cloud.cocorobo.cn/mind/"
  4454. })
  4455. _box.appendChild(_iframe);
  4456. _box.appendChild(_jie);
  4457. _formdiv = new U.UF.UI.form(
  4458. "思维导图",
  4459. _box, { //"/jsmind/example/demo.html"
  4460. "id": "mind" + cid + stage + task + tool,
  4461. "style": {
  4462. "width": "90%",
  4463. "height": "90%",
  4464. "overflow": 'hidden'
  4465. },
  4466. "onresize": function() {}
  4467. }, {
  4468. closecallback: function() {}
  4469. }, {
  4470. "style": {
  4471. "height": "36px"
  4472. }
  4473. }).form; //创建窗体
  4474. _taskbar = {
  4475. "id": str + _formdiv.id,
  4476. "style": {
  4477. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4478. },
  4479. "name": "思维导图",
  4480. "forms": _formdiv,
  4481. "click": function() {
  4482. U.MD.D.I.openApplication(str, obj, info);
  4483. }
  4484. }
  4485. break;
  4486. case "doc":
  4487. aTool = 6;
  4488. _iframe = $$("iframe", {
  4489. "frameborder": "no",
  4490. "border": "0",
  4491. "scrolling ": "no",
  4492. "style": {
  4493. "cssText": "border:0;width:100%;height:100%"
  4494. },
  4495. "src": "/Office/Word/WordEditArea.htm"
  4496. })
  4497. _box.appendChild(_iframe);
  4498. _box.appendChild(_jie);
  4499. _formdiv = new U.UF.UI.form(
  4500. "协同文档",
  4501. _box, {
  4502. "id": "doc" + cid + stage + task + tool,
  4503. "style": {
  4504. "width": "90%",
  4505. "height": "90%",
  4506. "overflow": 'hidden'
  4507. },
  4508. "onresize": function() {}
  4509. }, {
  4510. closecallback: function() {}
  4511. }, {
  4512. "style": {
  4513. "height": "36px"
  4514. }
  4515. }).form; //创建窗体
  4516. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4517. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4518. })
  4519. _taskbar = {
  4520. "id": str + _formdiv.id,
  4521. "style": {
  4522. "backgroundImage": "url(/img/icon/doc.png)"
  4523. },
  4524. "name": "协同文档",
  4525. "forms": _formdiv,
  4526. "click": function() {
  4527. U.MD.D.I.openApplication(str, obj, info);
  4528. }
  4529. }
  4530. break;
  4531. case "mindNetwork": //好友打开
  4532. aTool = 7;
  4533. _iframe = $$("iframe", {
  4534. "webkitallowfullscreen": "",
  4535. "mozallowfullscreen": "",
  4536. "allowfullscreen": "",
  4537. "frameborder": "no",
  4538. "border": "0",
  4539. "scrolling ": "no",
  4540. "style": {
  4541. "cssText": "border:0; width:100%; height:100%;"
  4542. },
  4543. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4544. })
  4545. _box.appendChild(_iframe);
  4546. _box.appendChild(_jie);
  4547. _formdiv = new U.UF.UI.form(
  4548. "思维网格",
  4549. _box, {
  4550. "id": "mindNetwork" + cid + stage + task + tool,
  4551. "style": {
  4552. "width": "90%",
  4553. "height": "90%",
  4554. "overflow": 'hidden'
  4555. },
  4556. "onresize": function() {}
  4557. }, {
  4558. closecallback: function() {}
  4559. }, {
  4560. "style": {
  4561. "height": "36px"
  4562. }
  4563. }).form; //创建窗体
  4564. _taskbar = {
  4565. "id": str + _formdiv.id,
  4566. "style": {
  4567. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4568. },
  4569. "name": "思维网格",
  4570. "forms": _formdiv,
  4571. "click": function() {
  4572. U.MD.D.I.openApplication(str, obj, info);
  4573. }
  4574. }
  4575. break;
  4576. case "courseDesign":
  4577. _iframe = $$("iframe", {
  4578. "webkitallowfullscreen": "",
  4579. "mozallowfullscreen": "",
  4580. "allowfullscreen": "",
  4581. "frameborder": "no",
  4582. "border": "0",
  4583. "scrolling ": "no",
  4584. "style": {
  4585. "cssText": "border:0; width:100%; height:100%;"
  4586. },
  4587. "src": "/course-design-vue"
  4588. })
  4589. _box.appendChild(_iframe);
  4590. _box.appendChild(_jie);
  4591. _formdiv = new U.UF.UI.form(
  4592. "项目设计",
  4593. _box, {
  4594. "id": "courseDesign" + cid + stage + task + tool,
  4595. "style": {
  4596. "width": "90%",
  4597. "height": "90%",
  4598. "overflow": 'hidden'
  4599. },
  4600. "onresize": function() {}
  4601. }, {
  4602. closecallback: function() {}
  4603. }, {
  4604. "style": {
  4605. "height": "36px"
  4606. }
  4607. }).form; //创建窗体
  4608. _taskbar = {
  4609. "id": str + _formdiv.id,
  4610. "style": {
  4611. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4612. },
  4613. "name": "项目设计",
  4614. "forms": _formdiv,
  4615. "click": function() {
  4616. U.MD.D.I.openApplication(str, obj, info);
  4617. }
  4618. }
  4619. break;
  4620. }
  4621. const script1 = document.createElement("script");
  4622. script1.type = "text/javascript";
  4623. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4624. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4625. const script2 = document.createElement("script");
  4626. script2.type = "text/javascript";
  4627. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4628. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4629. const script3 = document.createElement("script");
  4630. script3.type = "text/javascript";
  4631. script3.charset = "UTF-8";
  4632. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4633. const script4 = document.createElement("script");
  4634. script4.type = "text/javascript";
  4635. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4636. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4637. if (_iframe) {
  4638. if (str == 'doc') {
  4639. _iframe = _formdiv.querySelector('iframe')
  4640. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4641. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4642. _iframe.contentWindow.document.body.appendChild(script1);
  4643. _iframe.contentWindow.document.body.appendChild(script2);
  4644. // _iframe.contentWindow.document.body.appendChild(script3);
  4645. _iframe.contentWindow.document.body.appendChild(script4);
  4646. })
  4647. if (onloadListener) {
  4648. _iframe.contentDocument.location.reload()
  4649. } else {
  4650. _iframe.contentDocument.location.reload()
  4651. }
  4652. } else if (str == 'courseDesign') {
  4653. U.UF.DL.iframeLoad(_iframe, function() {
  4654. // _iframe.contentWindow.U.MD.O.W.load();
  4655. // _iframe.contentWindow.document.body.appendChild(script1);
  4656. _iframe.contentWindow.document.body.appendChild(script2);
  4657. _iframe.contentWindow.document.body.appendChild(script4);
  4658. })
  4659. } else if (str == 'mind') {
  4660. _iframe = _formdiv.querySelector('iframe')
  4661. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4662. //
  4663. _iframe.contentWindow.document.body.appendChild(script1);
  4664. _iframe.contentWindow.document.body.appendChild(script2);
  4665. _iframe.contentWindow.document.body.appendChild(script4);
  4666. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4667. })
  4668. if (onloadListener) {
  4669. _iframe.contentDocument.location.reload()
  4670. } else {
  4671. _iframe.contentDocument.location.reload()
  4672. }
  4673. } else if (str == 'whiteboard') {
  4674. _iframe = _formdiv.querySelector('iframe')
  4675. let onloadListener = _iframe.onload = () => {
  4676. _iframe.contentWindow.document.body.appendChild(script1);
  4677. _iframe.contentWindow.document.body.appendChild(script2);
  4678. _iframe.contentWindow.document.body.appendChild(script4);
  4679. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4680. };
  4681. if (onloadListener) {
  4682. _iframe.contentDocument.location.reload()
  4683. } else {
  4684. _iframe.contentDocument.location.reload()
  4685. }
  4686. } else {
  4687. _iframe.onload = () => {
  4688. _iframe.contentWindow.document.body.appendChild(script1);
  4689. _iframe.contentWindow.document.body.appendChild(script2);
  4690. // _iframe.contentWindow.document.body.appendChild(script3);
  4691. _iframe.contentWindow.document.body.appendChild(script4);
  4692. };
  4693. }
  4694. _jie.onclick = async() => {
  4695. let text = ''
  4696. if (aTool == 1) {
  4697. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4698. } else if (aTool == 6) {
  4699. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4700. } else if (aTool == 3) {
  4701. text = await U.MD.D.I.getEditorContent(_iframe);
  4702. }
  4703. _loading.style.display = 'flex'
  4704. console.log(_loading);
  4705. var _ajs = _iframe.contentWindow.document.createElement("script");
  4706. _ajs.type = "text/javascript";
  4707. _ajs.innerHTML =
  4708. // 'console.log(' + _loading + ');\n' +
  4709. 'var _js = document.createElement("script");\n' +
  4710. '_js.type="text/javascript";\n' +
  4711. '_js.charset="UTF-8";\n' +
  4712. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4713. "_js.onload = function(){\n" +
  4714. ' var a = document.getElementsByTagName("img")\n' +
  4715. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4716. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4717. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4718. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4719. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4720. "beforeUpload_shishi(file," +
  4721. "'" +
  4722. _userid +
  4723. "'" +
  4724. ", " +
  4725. "'" +
  4726. _cid +
  4727. "'" +
  4728. ", " +
  4729. "'" +
  4730. _stage +
  4731. "'" +
  4732. ", " +
  4733. "'" +
  4734. _task +
  4735. "'" +
  4736. ", " +
  4737. "'" +
  4738. _tool +
  4739. "'" +
  4740. ", " +
  4741. "'" +
  4742. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4743. "'" +
  4744. ", " +
  4745. "'" +
  4746. aTool +
  4747. "'" +
  4748. ", " +
  4749. "`" +
  4750. text +
  4751. "`" +
  4752. ")\n" +
  4753. " });\n" +
  4754. "}\n" +
  4755. "document.head.appendChild(_js);\n";
  4756. _iframe.contentWindow.document.head.appendChild(_ajs);
  4757. }
  4758. }
  4759. //U.MD.D.I.openClick(str);
  4760. //如果有任务栏信息
  4761. // if (_taskbar) {
  4762. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4763. // }
  4764. }
  4765. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4766. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4767. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4768. _userinfo = US.userInfo, //登录用户信息
  4769. _userid = US.userInfo.userid //登录用户id
  4770. let _iframe;
  4771. let _cid = cid,
  4772. _stage = stage,
  4773. _task = task,
  4774. _tool = tool;
  4775. var _jie = $$("div", {
  4776. "style": {
  4777. "position": "absolute",
  4778. "bottom": "50px",
  4779. "right": "50px",
  4780. "zIndex": "9999",
  4781. "backgroundColor": "#2268bc",
  4782. "color": "#fff",
  4783. "padding": "12px 20px",
  4784. "cursor": "pointer",
  4785. "borderRadius": "4px",
  4786. },
  4787. "innerHTML": "提交作业"
  4788. })
  4789. let aTool = ''
  4790. let _loading = document.createElement('div')
  4791. _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;"
  4792. // _loading.id = "";
  4793. let _lchild = document.createElement('div')
  4794. let _limg = document.createElement('img')
  4795. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4796. _limg.style = "width: 26px;margin-right: 10px;"
  4797. _lchild.appendChild(_limg)
  4798. let _lspan = document.createElement('span')
  4799. _lspan.innerHTML = "上传中..."
  4800. _lchild.appendChild(_lspan)
  4801. _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%);"
  4802. _loading.appendChild(_lchild)
  4803. var _box = $$('div', {
  4804. "style": {
  4805. "position": "relative",
  4806. "width": "100%",
  4807. "height": "100%",
  4808. },
  4809. })
  4810. _box.appendChild(_loading)
  4811. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4812. switch (str) {
  4813. case "whiteboard":
  4814. aTool = 1;
  4815. _iframe = $$("iframe", {
  4816. "frameborder": "no",
  4817. "border": "0",
  4818. "scrolling ": "no",
  4819. "style": {
  4820. "cssText": "border:0;width:100%;height:100%"
  4821. },
  4822. "src": "https://iwb.cocorobo.cn/"
  4823. })
  4824. _box.appendChild(_iframe);
  4825. _box.appendChild(_jie);
  4826. _formdiv = new U.UF.UI.form(
  4827. "电子白板",
  4828. _box, {
  4829. "id": "whiteboard" + cid + stage + task + tool,
  4830. "style": {
  4831. "width": "90%",
  4832. "height": "90%",
  4833. "overflow": 'hidden'
  4834. },
  4835. "onresize": function() {}
  4836. }, {
  4837. closecallback: function() {}
  4838. }, {
  4839. "style": {
  4840. "height": "36px"
  4841. }
  4842. }).form; //创建窗体
  4843. _taskbar = {
  4844. "id": str + _formdiv.id,
  4845. "style": {
  4846. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4847. },
  4848. "name": "电子白板",
  4849. "forms": _formdiv,
  4850. "click": function() {
  4851. U.MD.D.I.openApplication(str, obj, info);
  4852. }
  4853. }
  4854. break;
  4855. case "mind":
  4856. aTool = 3;
  4857. _iframe = $$("iframe", {
  4858. "frameborder": "no",
  4859. "border": "0",
  4860. "scrolling ": "no",
  4861. "style": {
  4862. "cssText": "border:0;width:100%;height:100%"
  4863. },
  4864. "src": "/kityminder-editor/dist/index.html"
  4865. })
  4866. _box.appendChild(_iframe);
  4867. _box.appendChild(_jie);
  4868. _formdiv = new U.UF.UI.form(
  4869. "思维导图",
  4870. _box, { //"/jsmind/example/demo.html"
  4871. "id": "mind" + cid + stage + task + tool,
  4872. "style": {
  4873. "width": "90%",
  4874. "height": "90%",
  4875. "overflow": 'hidden'
  4876. },
  4877. "onresize": function() {}
  4878. }, {
  4879. closecallback: function() {}
  4880. }, {
  4881. "style": {
  4882. "height": "36px"
  4883. }
  4884. }).form; //创建窗体
  4885. _taskbar = {
  4886. "id": str + _formdiv.id,
  4887. "style": {
  4888. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4889. },
  4890. "name": "思维导图",
  4891. "forms": _formdiv,
  4892. "click": function() {
  4893. U.MD.D.I.openApplication(str, obj, info);
  4894. }
  4895. }
  4896. break;
  4897. case "MindMap":
  4898. aTool = 3;
  4899. _iframe = $$("iframe", {
  4900. "frameborder": "no",
  4901. "border": "0",
  4902. "scrolling ": "no",
  4903. "style": {
  4904. "cssText": "border:0;width:100%;height:100%"
  4905. },
  4906. "src": "//cloud.cocorobo.cn/mind/"
  4907. })
  4908. _box.appendChild(_iframe);
  4909. _box.appendChild(_jie);
  4910. _formdiv = new U.UF.UI.form(
  4911. "思维导图",
  4912. _box, { //"/jsmind/example/demo.html"
  4913. "id": "mind" + cid + stage + task + tool,
  4914. "style": {
  4915. "width": "90%",
  4916. "height": "90%",
  4917. "overflow": 'hidden'
  4918. },
  4919. "onresize": function() {}
  4920. }, {
  4921. closecallback: function() {}
  4922. }, {
  4923. "style": {
  4924. "height": "36px"
  4925. }
  4926. }).form; //创建窗体
  4927. _taskbar = {
  4928. "id": str + _formdiv.id,
  4929. "style": {
  4930. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4931. },
  4932. "name": "思维导图",
  4933. "forms": _formdiv,
  4934. "click": function() {
  4935. U.MD.D.I.openApplication(str, obj, info);
  4936. }
  4937. }
  4938. break;
  4939. case "doc":
  4940. aTool = 6;
  4941. _iframe = $$("iframe", {
  4942. "frameborder": "no",
  4943. "border": "0",
  4944. "scrolling ": "no",
  4945. "style": {
  4946. "cssText": "border:0;width:100%;height:100%"
  4947. },
  4948. "src": "/Office/Word/WordEditArea.htm"
  4949. })
  4950. _box.appendChild(_iframe);
  4951. _box.appendChild(_jie);
  4952. _formdiv = new U.UF.UI.form(
  4953. "协同文档",
  4954. _box, {
  4955. "id": "doc" + cid + stage + task + tool,
  4956. "style": {
  4957. "width": "90%",
  4958. "height": "90%",
  4959. "overflow": 'hidden'
  4960. },
  4961. "onresize": function() {}
  4962. }, {
  4963. closecallback: function() {}
  4964. }, {
  4965. "style": {
  4966. "height": "36px"
  4967. }
  4968. }).form; //创建窗体
  4969. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4970. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4971. })
  4972. _taskbar = {
  4973. "id": str + _formdiv.id,
  4974. "style": {
  4975. "backgroundImage": "url(/img/icon/doc.png)"
  4976. },
  4977. "name": "协同文档",
  4978. "forms": _formdiv,
  4979. "click": function() {
  4980. U.MD.D.I.openApplication(str, obj, info);
  4981. }
  4982. }
  4983. break;
  4984. case "mindNetwork": //好友打开
  4985. aTool = 7;
  4986. _iframe = $$("iframe", {
  4987. "webkitallowfullscreen": "",
  4988. "mozallowfullscreen": "",
  4989. "allowfullscreen": "",
  4990. "frameborder": "no",
  4991. "border": "0",
  4992. "scrolling ": "no",
  4993. "style": {
  4994. "cssText": "border:0; width:100%; height:100%;"
  4995. },
  4996. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4997. })
  4998. _box.appendChild(_iframe);
  4999. _box.appendChild(_jie);
  5000. _formdiv = new U.UF.UI.form(
  5001. "思维网格",
  5002. _box, {
  5003. "id": "mindNetwork" + cid + stage + task + tool,
  5004. "style": {
  5005. "width": "90%",
  5006. "height": "90%",
  5007. "overflow": 'hidden'
  5008. },
  5009. "onresize": function() {}
  5010. }, {
  5011. closecallback: function() {}
  5012. }, {
  5013. "style": {
  5014. "height": "36px"
  5015. }
  5016. }).form; //创建窗体
  5017. _taskbar = {
  5018. "id": str + _formdiv.id,
  5019. "style": {
  5020. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5021. },
  5022. "name": "思维网格",
  5023. "forms": _formdiv,
  5024. "click": function() {
  5025. U.MD.D.I.openApplication(str, obj, info);
  5026. }
  5027. }
  5028. break;
  5029. case "courseDesign":
  5030. _iframe = $$("iframe", {
  5031. "webkitallowfullscreen": "",
  5032. "mozallowfullscreen": "",
  5033. "allowfullscreen": "",
  5034. "frameborder": "no",
  5035. "border": "0",
  5036. "scrolling ": "no",
  5037. "style": {
  5038. "cssText": "border:0; width:100%; height:100%;"
  5039. },
  5040. "src": "/course-design-vue"
  5041. })
  5042. _box.appendChild(_iframe);
  5043. _box.appendChild(_jie);
  5044. _formdiv = new U.UF.UI.form(
  5045. "项目设计",
  5046. _box, {
  5047. "id": "courseDesign" + cid + stage + task + tool,
  5048. "style": {
  5049. "width": "90%",
  5050. "height": "90%",
  5051. "overflow": 'hidden'
  5052. },
  5053. "onresize": function() {}
  5054. }, {
  5055. closecallback: function() {}
  5056. }, {
  5057. "style": {
  5058. "height": "36px"
  5059. }
  5060. }).form; //创建窗体
  5061. _taskbar = {
  5062. "id": str + _formdiv.id,
  5063. "style": {
  5064. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5065. },
  5066. "name": "项目设计",
  5067. "forms": _formdiv,
  5068. "click": function() {
  5069. U.MD.D.I.openApplication(str, obj, info);
  5070. }
  5071. }
  5072. break;
  5073. }
  5074. const script1 = document.createElement("script");
  5075. script1.type = "text/javascript";
  5076. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5077. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5078. const script2 = document.createElement("script");
  5079. script2.type = "text/javascript";
  5080. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5081. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5082. const script3 = document.createElement("script");
  5083. script3.type = "text/javascript";
  5084. script3.charset = "UTF-8";
  5085. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5086. const script4 = document.createElement("script");
  5087. script4.type = "text/javascript";
  5088. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5089. script4.src = window.origin + "/js/Common/jietu2E.js";
  5090. if (_iframe) {
  5091. if (str == 'doc') {
  5092. _iframe = _formdiv.querySelector('iframe')
  5093. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5094. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5095. _iframe.contentWindow.document.body.appendChild(script1);
  5096. _iframe.contentWindow.document.body.appendChild(script2);
  5097. // _iframe.contentWindow.document.body.appendChild(script3);
  5098. _iframe.contentWindow.document.body.appendChild(script4);
  5099. })
  5100. if (onloadListener) {
  5101. _iframe.contentDocument.location.reload()
  5102. } else {
  5103. _iframe.contentDocument.location.reload()
  5104. }
  5105. } else if (str == 'courseDesign') {
  5106. U.UF.DL.iframeLoad(_iframe, function() {
  5107. // _iframe.contentWindow.U.MD.O.W.load();
  5108. // _iframe.contentWindow.document.body.appendChild(script1);
  5109. _iframe.contentWindow.document.body.appendChild(script2);
  5110. _iframe.contentWindow.document.body.appendChild(script4);
  5111. })
  5112. } else if (str == 'mind') {
  5113. _iframe = _formdiv.querySelector('iframe')
  5114. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5115. //
  5116. _iframe.contentWindow.document.body.appendChild(script1);
  5117. _iframe.contentWindow.document.body.appendChild(script2);
  5118. _iframe.contentWindow.document.body.appendChild(script4);
  5119. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5120. })
  5121. if (onloadListener) {
  5122. _iframe.contentDocument.location.reload()
  5123. } else {
  5124. _iframe.contentDocument.location.reload()
  5125. }
  5126. } else if (str == 'whiteboard') {
  5127. _iframe = _formdiv.querySelector('iframe')
  5128. let onloadListener = _iframe.onload = () => {
  5129. _iframe.contentWindow.document.body.appendChild(script1);
  5130. _iframe.contentWindow.document.body.appendChild(script2);
  5131. _iframe.contentWindow.document.body.appendChild(script4);
  5132. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5133. };
  5134. if (onloadListener) {
  5135. _iframe.contentDocument.location.reload()
  5136. } else {
  5137. _iframe.contentDocument.location.reload()
  5138. }
  5139. } else {
  5140. _iframe.onload = () => {
  5141. _iframe.contentWindow.document.body.appendChild(script1);
  5142. _iframe.contentWindow.document.body.appendChild(script2);
  5143. // _iframe.contentWindow.document.body.appendChild(script3);
  5144. _iframe.contentWindow.document.body.appendChild(script4);
  5145. };
  5146. }
  5147. _jie.onclick = async() => {
  5148. let text = ''
  5149. if (aTool == 1) {
  5150. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5151. } else if (aTool == 6) {
  5152. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5153. } else if (aTool == 3) {
  5154. text = await U.MD.D.I.getEditorContent(_iframe);
  5155. }
  5156. _loading.style.display = 'flex'
  5157. console.log(_loading);
  5158. var _ajs = _iframe.contentWindow.document.createElement("script");
  5159. _ajs.type = "text/javascript";
  5160. _ajs.innerHTML =
  5161. // 'console.log(' + _loading + ');\n' +
  5162. 'var _js = document.createElement("script");\n' +
  5163. '_js.type="text/javascript";\n' +
  5164. '_js.charset="UTF-8";\n' +
  5165. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5166. "_js.onload = function(){\n" +
  5167. ' var a = document.getElementsByTagName("img")\n' +
  5168. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5169. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5170. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5171. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5172. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5173. "beforeUpload_shishi(file," +
  5174. "'" +
  5175. _userid +
  5176. "'" +
  5177. ", " +
  5178. "'" +
  5179. _cid +
  5180. "'" +
  5181. ", " +
  5182. "'" +
  5183. _stage +
  5184. "'" +
  5185. ", " +
  5186. "'" +
  5187. _task +
  5188. "'" +
  5189. ", " +
  5190. "'" +
  5191. _tool +
  5192. "'" +
  5193. ", " +
  5194. "'" +
  5195. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5196. "'" +
  5197. ", " +
  5198. "'" +
  5199. aTool +
  5200. "'" +
  5201. ", " +
  5202. "`" +
  5203. text +
  5204. "`" +
  5205. ")\n" +
  5206. " });\n" +
  5207. "}\n" +
  5208. "document.head.appendChild(_js);\n";
  5209. _iframe.contentWindow.document.head.appendChild(_ajs);
  5210. }
  5211. }
  5212. //U.MD.D.I.openClick(str);
  5213. //如果有任务栏信息
  5214. // if (_taskbar) {
  5215. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5216. // }
  5217. }
  5218. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5219. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5220. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5221. _userid = student.userid, //登录用户id
  5222. _username = student.student //用户名字
  5223. let _iframe;
  5224. let _cid = cid,
  5225. _stage = stage,
  5226. _task = task,
  5227. _tool = tool;
  5228. var _jie = $$("div", {
  5229. "style": {
  5230. "position": "absolute",
  5231. "bottom": "50px",
  5232. "right": "50px",
  5233. "zIndex": "9999",
  5234. "backgroundColor": "#2268bc",
  5235. "color": "#fff",
  5236. "padding": "12px 20px",
  5237. "cursor": "pointer",
  5238. "borderRadius": "4px",
  5239. },
  5240. "innerHTML": "提交作业"
  5241. })
  5242. let aTool = ''
  5243. let _loading = document.createElement('div')
  5244. _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;"
  5245. // _loading.id = "";
  5246. let _lchild = document.createElement('div')
  5247. let _limg = document.createElement('img')
  5248. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5249. _limg.style = "width: 26px;margin-right: 10px;"
  5250. _lchild.appendChild(_limg)
  5251. let _lspan = document.createElement('span')
  5252. _lspan.innerHTML = "上传中..."
  5253. _lchild.appendChild(_lspan)
  5254. _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%);"
  5255. _loading.appendChild(_lchild)
  5256. var _box = $$('div', {
  5257. "style": {
  5258. "position": "relative",
  5259. "width": "100%",
  5260. "height": "100%",
  5261. },
  5262. })
  5263. _box.appendChild(_loading)
  5264. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5265. switch (str) {
  5266. case "whiteboard":
  5267. aTool = 1;
  5268. _iframe = $$("iframe", {
  5269. "frameborder": "no",
  5270. "border": "0",
  5271. "scrolling ": "no",
  5272. "style": {
  5273. "cssText": "border:0;width:100%;height:100%"
  5274. },
  5275. "src": "https://iwb.cocorobo.cn/"
  5276. })
  5277. _box.appendChild(_iframe);
  5278. _box.appendChild(_jie);
  5279. _formdiv = new U.UF.UI.form(
  5280. "电子白板-" + _username,
  5281. _box, {
  5282. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5283. "style": {
  5284. "width": "90%",
  5285. "height": "90%",
  5286. "overflow": 'hidden'
  5287. },
  5288. "onresize": function() {}
  5289. }, {
  5290. closecallback: function() {}
  5291. }, {
  5292. "style": {
  5293. "height": "36px"
  5294. }
  5295. }).form; //创建窗体
  5296. _taskbar = {
  5297. "id": str + _formdiv.id,
  5298. "style": {
  5299. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5300. },
  5301. "name": "电子白板",
  5302. "forms": _formdiv,
  5303. "click": function() {
  5304. U.MD.D.I.openApplication(str, obj, info);
  5305. }
  5306. }
  5307. break;
  5308. case "mind":
  5309. aTool = 3;
  5310. _iframe = $$("iframe", {
  5311. "frameborder": "no",
  5312. "border": "0",
  5313. "scrolling ": "no",
  5314. "style": {
  5315. "cssText": "border:0;width:100%;height:100%"
  5316. },
  5317. "src": "/kityminder-editor/dist/index.html"
  5318. })
  5319. _box.appendChild(_iframe);
  5320. _box.appendChild(_jie);
  5321. _formdiv = new U.UF.UI.form(
  5322. "思维导图-" + _username,
  5323. _box, { //"/jsmind/example/demo.html"
  5324. "id": "mind" + cid + stage + task + tool + _userid,
  5325. "style": {
  5326. "width": "90%",
  5327. "height": "90%",
  5328. "overflow": 'hidden'
  5329. },
  5330. "onresize": function() {}
  5331. }, {
  5332. closecallback: function() {}
  5333. }, {
  5334. "style": {
  5335. "height": "36px"
  5336. }
  5337. }).form; //创建窗体
  5338. _taskbar = {
  5339. "id": str + _formdiv.id,
  5340. "style": {
  5341. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5342. },
  5343. "name": "思维导图",
  5344. "forms": _formdiv,
  5345. "click": function() {
  5346. U.MD.D.I.openApplication(str, obj, info);
  5347. }
  5348. }
  5349. break;
  5350. case "MindMap":
  5351. aTool = 3;
  5352. _iframe = $$("iframe", {
  5353. "frameborder": "no",
  5354. "border": "0",
  5355. "scrolling ": "no",
  5356. "style": {
  5357. "cssText": "border:0;width:100%;height:100%"
  5358. },
  5359. "src": "//cloud.cocorobo.cn/mind/"
  5360. })
  5361. _box.appendChild(_iframe);
  5362. _box.appendChild(_jie);
  5363. _formdiv = new U.UF.UI.form(
  5364. "思维导图-" + _username,
  5365. _box, { //"/jsmind/example/demo.html"
  5366. "id": "mind" + cid + stage + task + tool + _userid,
  5367. "style": {
  5368. "width": "90%",
  5369. "height": "90%",
  5370. "overflow": 'hidden'
  5371. },
  5372. "onresize": function() {}
  5373. }, {
  5374. closecallback: function() {}
  5375. }, {
  5376. "style": {
  5377. "height": "36px"
  5378. }
  5379. }).form; //创建窗体
  5380. _taskbar = {
  5381. "id": str + _formdiv.id,
  5382. "style": {
  5383. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5384. },
  5385. "name": "思维导图",
  5386. "forms": _formdiv,
  5387. "click": function() {
  5388. U.MD.D.I.openApplication(str, obj, info);
  5389. }
  5390. }
  5391. break;
  5392. case "doc":
  5393. aTool = 6;
  5394. _iframe = $$("iframe", {
  5395. "frameborder": "no",
  5396. "border": "0",
  5397. "scrolling ": "no",
  5398. "style": {
  5399. "cssText": "border:0;width:100%;height:100%"
  5400. },
  5401. "src": "/Office/Word/WordEditArea.htm"
  5402. })
  5403. _box.appendChild(_iframe);
  5404. _box.appendChild(_jie);
  5405. _formdiv = new U.UF.UI.form(
  5406. "协同文档-" + _username,
  5407. _box, {
  5408. "id": "doc" + cid + stage + task + tool + _userid,
  5409. "style": {
  5410. "width": "90%",
  5411. "height": "90%",
  5412. "overflow": 'hidden'
  5413. },
  5414. "onresize": function() {}
  5415. }, {
  5416. closecallback: function() {}
  5417. }, {
  5418. "style": {
  5419. "height": "36px"
  5420. }
  5421. }).form; //创建窗体
  5422. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5423. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5424. })
  5425. _taskbar = {
  5426. "id": str + _formdiv.id,
  5427. "style": {
  5428. "backgroundImage": "url(/img/icon/doc.png)"
  5429. },
  5430. "name": "协同文档",
  5431. "forms": _formdiv,
  5432. "click": function() {
  5433. U.MD.D.I.openApplication(str, obj, info);
  5434. }
  5435. }
  5436. break;
  5437. case "mindNetwork": //好友打开
  5438. aTool = 7;
  5439. _iframe = $$("iframe", {
  5440. "webkitallowfullscreen": "",
  5441. "mozallowfullscreen": "",
  5442. "allowfullscreen": "",
  5443. "frameborder": "no",
  5444. "border": "0",
  5445. "scrolling ": "no",
  5446. "style": {
  5447. "cssText": "border:0; width:100%; height:100%;"
  5448. },
  5449. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5450. })
  5451. _box.appendChild(_iframe);
  5452. _box.appendChild(_jie);
  5453. _formdiv = new U.UF.UI.form(
  5454. "思维网格-" + _username,
  5455. _box, {
  5456. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5457. "style": {
  5458. "width": "90%",
  5459. "height": "90%",
  5460. "overflow": 'hidden'
  5461. },
  5462. "onresize": function() {}
  5463. }, {
  5464. closecallback: function() {}
  5465. }, {
  5466. "style": {
  5467. "height": "36px"
  5468. }
  5469. }).form; //创建窗体
  5470. _taskbar = {
  5471. "id": str + _formdiv.id,
  5472. "style": {
  5473. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5474. },
  5475. "name": "思维网格",
  5476. "forms": _formdiv,
  5477. "click": function() {
  5478. U.MD.D.I.openApplication(str, obj, info);
  5479. }
  5480. }
  5481. break;
  5482. case "courseDesign":
  5483. _iframe = $$("iframe", {
  5484. "webkitallowfullscreen": "",
  5485. "mozallowfullscreen": "",
  5486. "allowfullscreen": "",
  5487. "frameborder": "no",
  5488. "border": "0",
  5489. "scrolling ": "no",
  5490. "style": {
  5491. "cssText": "border:0; width:100%; height:100%;"
  5492. },
  5493. "src": "/course-design-vue"
  5494. })
  5495. _box.appendChild(_iframe);
  5496. _box.appendChild(_jie);
  5497. _formdiv = new U.UF.UI.form(
  5498. "项目设计-" + _username,
  5499. _box, {
  5500. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5501. "style": {
  5502. "width": "90%",
  5503. "height": "90%",
  5504. "overflow": 'hidden'
  5505. },
  5506. "onresize": function() {}
  5507. }, {
  5508. closecallback: function() {}
  5509. }, {
  5510. "style": {
  5511. "height": "36px"
  5512. }
  5513. }).form; //创建窗体
  5514. _taskbar = {
  5515. "id": str + _formdiv.id,
  5516. "style": {
  5517. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5518. },
  5519. "name": "项目设计",
  5520. "forms": _formdiv,
  5521. "click": function() {
  5522. U.MD.D.I.openApplication(str, obj, info);
  5523. }
  5524. }
  5525. break;
  5526. }
  5527. const script1 = document.createElement("script");
  5528. script1.type = "text/javascript";
  5529. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5530. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5531. const script2 = document.createElement("script");
  5532. script2.type = "text/javascript";
  5533. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5534. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5535. const script3 = document.createElement("script");
  5536. script3.type = "text/javascript";
  5537. script3.charset = "UTF-8";
  5538. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5539. const script4 = document.createElement("script");
  5540. script4.type = "text/javascript";
  5541. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5542. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5543. if (_iframe) {
  5544. if (str == 'doc') {
  5545. _iframe = _formdiv.querySelector('iframe')
  5546. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5547. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5548. _iframe.contentWindow.document.body.appendChild(script1);
  5549. _iframe.contentWindow.document.body.appendChild(script2);
  5550. // _iframe.contentWindow.document.body.appendChild(script3);
  5551. _iframe.contentWindow.document.body.appendChild(script4);
  5552. })
  5553. if (onloadListener) {
  5554. _iframe.contentDocument.location.reload()
  5555. } else {
  5556. _iframe.contentDocument.location.reload()
  5557. }
  5558. } else if (str == 'courseDesign') {
  5559. U.UF.DL.iframeLoad(_iframe, function() {
  5560. // _iframe.contentWindow.U.MD.O.W.load();
  5561. // _iframe.contentWindow.document.body.appendChild(script1);
  5562. _iframe.contentWindow.document.body.appendChild(script2);
  5563. _iframe.contentWindow.document.body.appendChild(script4);
  5564. })
  5565. } else if (str == 'mind') {
  5566. _iframe = _formdiv.querySelector('iframe')
  5567. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5568. //
  5569. _iframe.contentWindow.document.body.appendChild(script1);
  5570. _iframe.contentWindow.document.body.appendChild(script2);
  5571. _iframe.contentWindow.document.body.appendChild(script4);
  5572. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5573. })
  5574. if (onloadListener) {
  5575. _iframe.contentDocument.location.reload()
  5576. } else {
  5577. _iframe.contentDocument.location.reload()
  5578. }
  5579. } else if (str == 'whiteboard') {
  5580. _iframe = _formdiv.querySelector('iframe')
  5581. let onloadListener = _iframe.onload = () => {
  5582. _iframe.contentWindow.document.body.appendChild(script1);
  5583. _iframe.contentWindow.document.body.appendChild(script2);
  5584. _iframe.contentWindow.document.body.appendChild(script4);
  5585. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5586. };
  5587. if (onloadListener) {
  5588. _iframe.contentDocument.location.reload()
  5589. } else {
  5590. _iframe.contentDocument.location.reload()
  5591. }
  5592. } else {
  5593. _iframe.onload = () => {
  5594. _iframe.contentWindow.document.body.appendChild(script1);
  5595. _iframe.contentWindow.document.body.appendChild(script2);
  5596. // _iframe.contentWindow.document.body.appendChild(script3);
  5597. _iframe.contentWindow.document.body.appendChild(script4);
  5598. };
  5599. }
  5600. _jie.onclick = async() => {
  5601. let text = ''
  5602. if (aTool == 1) {
  5603. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5604. } else if (aTool == 6) {
  5605. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5606. } else if (aTool == 3) {
  5607. text = await U.MD.D.I.getEditorContent(_iframe);
  5608. }
  5609. _loading.style.display = 'flex'
  5610. console.log(_loading);
  5611. var _ajs = _iframe.contentWindow.document.createElement("script");
  5612. _ajs.type = "text/javascript";
  5613. _ajs.innerHTML =
  5614. // 'console.log(' + _loading + ');\n' +
  5615. 'var _js = document.createElement("script");\n' +
  5616. '_js.type="text/javascript";\n' +
  5617. '_js.charset="UTF-8";\n' +
  5618. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5619. "_js.onload = function(){\n" +
  5620. ' var a = document.getElementsByTagName("img")\n' +
  5621. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5622. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5623. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5624. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5625. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5626. "beforeUpload_shishi(file," +
  5627. "'" +
  5628. _userid +
  5629. "'" +
  5630. ", " +
  5631. "'" +
  5632. _cid +
  5633. "'" +
  5634. ", " +
  5635. "'" +
  5636. _stage +
  5637. "'" +
  5638. ", " +
  5639. "'" +
  5640. _task +
  5641. "'" +
  5642. ", " +
  5643. "'" +
  5644. _tool +
  5645. "'" +
  5646. ", " +
  5647. "'" +
  5648. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5649. "'" +
  5650. ", " +
  5651. "'" +
  5652. aTool +
  5653. "'" +
  5654. ", " +
  5655. "`" +
  5656. text +
  5657. "`" +
  5658. ")\n" +
  5659. " });\n" +
  5660. "}\n" +
  5661. "document.head.appendChild(_js);\n";
  5662. _iframe.contentWindow.document.head.appendChild(_ajs);
  5663. }
  5664. }
  5665. }
  5666. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5667. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5668. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5669. _userid = student.userid, //登录用户id
  5670. _username = student.student //用户名字
  5671. let _iframe;
  5672. let _cid = cid,
  5673. _stage = stage,
  5674. _task = task,
  5675. _tool = tool;
  5676. var _jie = $$("div", {
  5677. "style": {
  5678. "position": "absolute",
  5679. "bottom": "50px",
  5680. "right": "50px",
  5681. "zIndex": "9999",
  5682. "backgroundColor": "#2268bc",
  5683. "color": "#fff",
  5684. "padding": "12px 20px",
  5685. "cursor": "pointer",
  5686. "borderRadius": "4px",
  5687. },
  5688. "innerHTML": "提交作业"
  5689. })
  5690. let aTool = ''
  5691. let _loading = document.createElement('div')
  5692. _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;"
  5693. // _loading.id = "";
  5694. let _lchild = document.createElement('div')
  5695. let _limg = document.createElement('img')
  5696. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5697. _limg.style = "width: 26px;margin-right: 10px;"
  5698. _lchild.appendChild(_limg)
  5699. let _lspan = document.createElement('span')
  5700. _lspan.innerHTML = "上传中..."
  5701. _lchild.appendChild(_lspan)
  5702. _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%);"
  5703. _loading.appendChild(_lchild)
  5704. var _box = $$('div', {
  5705. "style": {
  5706. "position": "relative",
  5707. "width": "100%",
  5708. "height": "100%",
  5709. },
  5710. })
  5711. _box.appendChild(_loading)
  5712. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5713. switch (str) {
  5714. case "whiteboard":
  5715. aTool = 1;
  5716. _iframe = $$("iframe", {
  5717. "frameborder": "no",
  5718. "border": "0",
  5719. "scrolling ": "no",
  5720. "style": {
  5721. "cssText": "border:0;width:100%;height:100%"
  5722. },
  5723. "src": "https://iwb.cocorobo.cn/"
  5724. })
  5725. _box.appendChild(_iframe);
  5726. _box.appendChild(_jie);
  5727. _formdiv = new U.UF.UI.form(
  5728. "电子白板-" + _username,
  5729. _box, {
  5730. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5731. "style": {
  5732. "width": "90%",
  5733. "height": "90%",
  5734. "overflow": 'hidden'
  5735. },
  5736. "onresize": function() {}
  5737. }, {
  5738. closecallback: function() {}
  5739. }, {
  5740. "style": {
  5741. "height": "36px"
  5742. }
  5743. }).form; //创建窗体
  5744. _taskbar = {
  5745. "id": str + _formdiv.id,
  5746. "style": {
  5747. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5748. },
  5749. "name": "电子白板",
  5750. "forms": _formdiv,
  5751. "click": function() {
  5752. U.MD.D.I.openApplication(str, obj, info);
  5753. }
  5754. }
  5755. break;
  5756. case "mind":
  5757. aTool = 3;
  5758. _iframe = $$("iframe", {
  5759. "frameborder": "no",
  5760. "border": "0",
  5761. "scrolling ": "no",
  5762. "style": {
  5763. "cssText": "border:0;width:100%;height:100%"
  5764. },
  5765. "src": "/kityminder-editor/dist/index.html"
  5766. })
  5767. _box.appendChild(_iframe);
  5768. _box.appendChild(_jie);
  5769. _formdiv = new U.UF.UI.form(
  5770. "思维导图-" + _username,
  5771. _box, { //"/jsmind/example/demo.html"
  5772. "id": "mind" + cid + stage + task + tool + _userid,
  5773. "style": {
  5774. "width": "90%",
  5775. "height": "90%",
  5776. "overflow": 'hidden'
  5777. },
  5778. "onresize": function() {}
  5779. }, {
  5780. closecallback: function() {}
  5781. }, {
  5782. "style": {
  5783. "height": "36px"
  5784. }
  5785. }).form; //创建窗体
  5786. _taskbar = {
  5787. "id": str + _formdiv.id,
  5788. "style": {
  5789. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5790. },
  5791. "name": "思维导图",
  5792. "forms": _formdiv,
  5793. "click": function() {
  5794. U.MD.D.I.openApplication(str, obj, info);
  5795. }
  5796. }
  5797. break;
  5798. case "MindMap":
  5799. aTool = 3;
  5800. _iframe = $$("iframe", {
  5801. "frameborder": "no",
  5802. "border": "0",
  5803. "scrolling ": "no",
  5804. "style": {
  5805. "cssText": "border:0;width:100%;height:100%"
  5806. },
  5807. "src": "//cloud.cocorobo.cn/mind/"
  5808. })
  5809. _box.appendChild(_iframe);
  5810. _box.appendChild(_jie);
  5811. _formdiv = new U.UF.UI.form(
  5812. "思维导图-" + _username,
  5813. _box, { //"/jsmind/example/demo.html"
  5814. "id": "mind" + cid + stage + task + tool + _userid,
  5815. "style": {
  5816. "width": "90%",
  5817. "height": "90%",
  5818. "overflow": 'hidden'
  5819. },
  5820. "onresize": function() {}
  5821. }, {
  5822. closecallback: function() {}
  5823. }, {
  5824. "style": {
  5825. "height": "36px"
  5826. }
  5827. }).form; //创建窗体
  5828. _taskbar = {
  5829. "id": str + _formdiv.id,
  5830. "style": {
  5831. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5832. },
  5833. "name": "思维导图",
  5834. "forms": _formdiv,
  5835. "click": function() {
  5836. U.MD.D.I.openApplication(str, obj, info);
  5837. }
  5838. }
  5839. break;
  5840. case "doc":
  5841. aTool = 6;
  5842. _iframe = $$("iframe", {
  5843. "frameborder": "no",
  5844. "border": "0",
  5845. "scrolling ": "no",
  5846. "style": {
  5847. "cssText": "border:0;width:100%;height:100%"
  5848. },
  5849. "src": "/Office/Word/WordEditArea.htm"
  5850. })
  5851. _box.appendChild(_iframe);
  5852. _box.appendChild(_jie);
  5853. _formdiv = new U.UF.UI.form(
  5854. "协同文档-" + _username,
  5855. _box, {
  5856. "id": "doc" + cid + stage + task + tool + _userid,
  5857. "style": {
  5858. "width": "90%",
  5859. "height": "90%",
  5860. "overflow": 'hidden'
  5861. },
  5862. "onresize": function() {}
  5863. }, {
  5864. closecallback: function() {}
  5865. }, {
  5866. "style": {
  5867. "height": "36px"
  5868. }
  5869. }).form; //创建窗体
  5870. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5871. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5872. })
  5873. _taskbar = {
  5874. "id": str + _formdiv.id,
  5875. "style": {
  5876. "backgroundImage": "url(/img/icon/doc.png)"
  5877. },
  5878. "name": "协同文档",
  5879. "forms": _formdiv,
  5880. "click": function() {
  5881. U.MD.D.I.openApplication(str, obj, info);
  5882. }
  5883. }
  5884. break;
  5885. case "mindNetwork": //好友打开
  5886. aTool = 7;
  5887. _iframe = $$("iframe", {
  5888. "webkitallowfullscreen": "",
  5889. "mozallowfullscreen": "",
  5890. "allowfullscreen": "",
  5891. "frameborder": "no",
  5892. "border": "0",
  5893. "scrolling ": "no",
  5894. "style": {
  5895. "cssText": "border:0; width:100%; height:100%;"
  5896. },
  5897. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5898. })
  5899. _box.appendChild(_iframe);
  5900. _box.appendChild(_jie);
  5901. _formdiv = new U.UF.UI.form(
  5902. "思维网格-" + _username,
  5903. _box, {
  5904. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5905. "style": {
  5906. "width": "90%",
  5907. "height": "90%",
  5908. "overflow": 'hidden'
  5909. },
  5910. "onresize": function() {}
  5911. }, {
  5912. closecallback: function() {}
  5913. }, {
  5914. "style": {
  5915. "height": "36px"
  5916. }
  5917. }).form; //创建窗体
  5918. _taskbar = {
  5919. "id": str + _formdiv.id,
  5920. "style": {
  5921. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5922. },
  5923. "name": "思维网格",
  5924. "forms": _formdiv,
  5925. "click": function() {
  5926. U.MD.D.I.openApplication(str, obj, info);
  5927. }
  5928. }
  5929. break;
  5930. case "courseDesign":
  5931. _iframe = $$("iframe", {
  5932. "webkitallowfullscreen": "",
  5933. "mozallowfullscreen": "",
  5934. "allowfullscreen": "",
  5935. "frameborder": "no",
  5936. "border": "0",
  5937. "scrolling ": "no",
  5938. "style": {
  5939. "cssText": "border:0; width:100%; height:100%;"
  5940. },
  5941. "src": "/course-design-vue"
  5942. })
  5943. _box.appendChild(_iframe);
  5944. _box.appendChild(_jie);
  5945. _formdiv = new U.UF.UI.form(
  5946. "项目设计-" + _username,
  5947. _box, {
  5948. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5949. "style": {
  5950. "width": "90%",
  5951. "height": "90%",
  5952. "overflow": 'hidden'
  5953. },
  5954. "onresize": function() {}
  5955. }, {
  5956. closecallback: function() {}
  5957. }, {
  5958. "style": {
  5959. "height": "36px"
  5960. }
  5961. }).form; //创建窗体
  5962. _taskbar = {
  5963. "id": str + _formdiv.id,
  5964. "style": {
  5965. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5966. },
  5967. "name": "项目设计",
  5968. "forms": _formdiv,
  5969. "click": function() {
  5970. U.MD.D.I.openApplication(str, obj, info);
  5971. }
  5972. }
  5973. break;
  5974. }
  5975. const script1 = document.createElement("script");
  5976. script1.type = "text/javascript";
  5977. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5978. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5979. const script2 = document.createElement("script");
  5980. script2.type = "text/javascript";
  5981. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5982. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5983. const script3 = document.createElement("script");
  5984. script3.type = "text/javascript";
  5985. script3.charset = "UTF-8";
  5986. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5987. const script4 = document.createElement("script");
  5988. script4.type = "text/javascript";
  5989. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5990. script4.src = window.origin + "/js/Common/jietu2E.js";
  5991. if (_iframe) {
  5992. if (str == 'doc') {
  5993. _iframe = _formdiv.querySelector('iframe')
  5994. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5995. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5996. _iframe.contentWindow.document.body.appendChild(script1);
  5997. _iframe.contentWindow.document.body.appendChild(script2);
  5998. // _iframe.contentWindow.document.body.appendChild(script3);
  5999. _iframe.contentWindow.document.body.appendChild(script4);
  6000. })
  6001. if (onloadListener) {
  6002. _iframe.contentDocument.location.reload()
  6003. } else {
  6004. _iframe.contentDocument.location.reload()
  6005. }
  6006. } else if (str == 'courseDesign') {
  6007. U.UF.DL.iframeLoad(_iframe, function() {
  6008. // _iframe.contentWindow.U.MD.O.W.load();
  6009. // _iframe.contentWindow.document.body.appendChild(script1);
  6010. _iframe.contentWindow.document.body.appendChild(script2);
  6011. _iframe.contentWindow.document.body.appendChild(script4);
  6012. })
  6013. } else if (str == 'mind') {
  6014. _iframe = _formdiv.querySelector('iframe')
  6015. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6016. //
  6017. _iframe.contentWindow.document.body.appendChild(script1);
  6018. _iframe.contentWindow.document.body.appendChild(script2);
  6019. _iframe.contentWindow.document.body.appendChild(script4);
  6020. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6021. })
  6022. if (onloadListener) {
  6023. _iframe.contentDocument.location.reload()
  6024. } else {
  6025. _iframe.contentDocument.location.reload()
  6026. }
  6027. } else if (str == 'whiteboard') {
  6028. _iframe = _formdiv.querySelector('iframe')
  6029. let onloadListener = _iframe.onload = () => {
  6030. _iframe.contentWindow.document.body.appendChild(script1);
  6031. _iframe.contentWindow.document.body.appendChild(script2);
  6032. _iframe.contentWindow.document.body.appendChild(script4);
  6033. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6034. };
  6035. if (onloadListener) {
  6036. _iframe.contentDocument.location.reload()
  6037. } else {
  6038. _iframe.contentDocument.location.reload()
  6039. }
  6040. } else {
  6041. _iframe.onload = () => {
  6042. _iframe.contentWindow.document.body.appendChild(script1);
  6043. _iframe.contentWindow.document.body.appendChild(script2);
  6044. // _iframe.contentWindow.document.body.appendChild(script3);
  6045. _iframe.contentWindow.document.body.appendChild(script4);
  6046. };
  6047. }
  6048. _jie.onclick = async() => {
  6049. let text = ''
  6050. if (aTool == 1) {
  6051. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6052. } else if (aTool == 6) {
  6053. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6054. } else if (aTool == 3) {
  6055. text = await U.MD.D.I.getEditorContent(_iframe);
  6056. }
  6057. _loading.style.display = 'flex'
  6058. console.log(_loading);
  6059. var _ajs = _iframe.contentWindow.document.createElement("script");
  6060. _ajs.type = "text/javascript";
  6061. _ajs.innerHTML =
  6062. // 'console.log(' + _loading + ');\n' +
  6063. 'var _js = document.createElement("script");\n' +
  6064. '_js.type="text/javascript";\n' +
  6065. '_js.charset="UTF-8";\n' +
  6066. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6067. "_js.onload = function(){\n" +
  6068. ' var a = document.getElementsByTagName("img")\n' +
  6069. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6070. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6071. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6072. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6073. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6074. "beforeUpload_shishi(file," +
  6075. "'" +
  6076. _userid +
  6077. "'" +
  6078. ", " +
  6079. "'" +
  6080. _cid +
  6081. "'" +
  6082. ", " +
  6083. "'" +
  6084. _stage +
  6085. "'" +
  6086. ", " +
  6087. "'" +
  6088. _task +
  6089. "'" +
  6090. ", " +
  6091. "'" +
  6092. _tool +
  6093. "'" +
  6094. ", " +
  6095. "'" +
  6096. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6097. "'" +
  6098. ", " +
  6099. "'" +
  6100. aTool +
  6101. "'" +
  6102. ", " +
  6103. "`" +
  6104. text +
  6105. "`" +
  6106. ")\n" +
  6107. " });\n" +
  6108. "}\n" +
  6109. "document.head.appendChild(_js);\n";
  6110. _iframe.contentWindow.document.head.appendChild(_ajs);
  6111. }
  6112. }
  6113. }
  6114. U.MD.D.I.getEditorContent = function(iframe) {
  6115. return new Promise((resolve, reject) => {
  6116. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6117. console.log(content);
  6118. resolve(content)
  6119. });
  6120. });
  6121. }
  6122. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6123. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6124. // if (res.value[0].length > 0) {
  6125. // // resolve(res.value[0][0].text);
  6126. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6127. // $(fileInput).val('');
  6128. // });
  6129. // }
  6130. // }, [], { "type": "GET", "withCredentials": true });
  6131. var xmlhttp;
  6132. var Mac, Sn, DeviceId
  6133. if (window.XMLHttpRequest) {
  6134. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6135. xmlhttp = new XMLHttpRequest();
  6136. } else {
  6137. // IE6, IE5 浏览器执行代码
  6138. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6139. }
  6140. xmlhttp.onreadystatechange = function() {
  6141. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6142. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6143. // resolve(res.value[0][0].text);
  6144. if (type == '2') {
  6145. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6146. } else if (type == '3') {
  6147. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6148. }
  6149. } else {
  6150. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6151. }
  6152. }
  6153. }
  6154. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6155. xmlhttp.send();
  6156. }
  6157. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6158. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6159. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6160. _userinfo = US.userInfo, //登录用户信息
  6161. _userid = US.userInfo.userid //登录用户id
  6162. let _iframe;
  6163. let _cid = cid,
  6164. _stage = stage,
  6165. _task = task,
  6166. _tool = tool;
  6167. var _jie = $$("div", {
  6168. "style": {
  6169. "position": "absolute",
  6170. "bottom": "50px",
  6171. "right": "50px",
  6172. "zIndex": "9999",
  6173. "backgroundColor": "#2268bc",
  6174. "color": "#fff",
  6175. "padding": "12px 20px",
  6176. "cursor": "pointer",
  6177. "borderRadius": "4px",
  6178. },
  6179. "innerHTML": "确认并提交"
  6180. })
  6181. let aTool = ''
  6182. let _loading = document.createElement('div')
  6183. _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;"
  6184. // _loading.id = "";
  6185. let _lchild = document.createElement('div')
  6186. let _limg = document.createElement('img')
  6187. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6188. _limg.style = "width: 26px;margin-right: 10px;"
  6189. _lchild.appendChild(_limg)
  6190. let _lspan = document.createElement('span')
  6191. _lspan.innerHTML = "上传中..."
  6192. _lchild.appendChild(_lspan)
  6193. _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%);"
  6194. _loading.appendChild(_lchild)
  6195. var _box = $$('div', {
  6196. "style": {
  6197. "position": "relative",
  6198. "width": "100%",
  6199. "height": "100%",
  6200. },
  6201. })
  6202. _box.appendChild(_loading)
  6203. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6204. switch (str) {
  6205. case "whiteboard":
  6206. aTool = 1;
  6207. _iframe = $$("iframe", {
  6208. "frameborder": "no",
  6209. "border": "0",
  6210. "scrolling ": "no",
  6211. "style": {
  6212. "cssText": "border:0;width:100%;height:100%"
  6213. },
  6214. "src": "https://iwb.cocorobo.cn/"
  6215. })
  6216. _box.appendChild(_iframe);
  6217. _box.appendChild(_jie);
  6218. _formdiv = new U.UF.UI.form(
  6219. "电子白板",
  6220. _box, {
  6221. "id": "whiteboards" + cid + stage + task + tool,
  6222. "style": {
  6223. "width": "90%",
  6224. "height": "90%",
  6225. "overflow": 'hidden'
  6226. },
  6227. "onresize": function() {}
  6228. }, {
  6229. closecallback: function() {}
  6230. }, {
  6231. "style": {
  6232. "height": "36px"
  6233. }
  6234. }).form; //创建窗体
  6235. _taskbar = {
  6236. "id": str + _formdiv.id,
  6237. "style": {
  6238. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6239. },
  6240. "name": "电子白板",
  6241. "forms": _formdiv,
  6242. "click": function() {
  6243. U.MD.D.I.openApplication(str, obj, info);
  6244. }
  6245. }
  6246. break;
  6247. case "mind":
  6248. aTool = 3;
  6249. _iframe = $$("iframe", {
  6250. "frameborder": "no",
  6251. "border": "0",
  6252. "scrolling ": "no",
  6253. "style": {
  6254. "cssText": "border:0;width:100%;height:100%"
  6255. },
  6256. "src": "/kityminder-editor/dist/index.html"
  6257. });
  6258. _box.appendChild(_iframe);
  6259. _box.appendChild(_jie);
  6260. _formdiv = new U.UF.UI.form(
  6261. "思维导图",
  6262. _box, { //"/jsmind/example/demo.html"
  6263. "id": "minds" + cid + stage + task + tool,
  6264. "style": {
  6265. "width": "90%",
  6266. "height": "90%",
  6267. "overflow": 'hidden'
  6268. },
  6269. "onresize": function() {}
  6270. }, {
  6271. closecallback: function() {}
  6272. }, {
  6273. "style": {
  6274. "height": "36px"
  6275. }
  6276. }).form; //创建窗体
  6277. _taskbar = {
  6278. "id": str + _formdiv.id,
  6279. "style": {
  6280. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6281. },
  6282. "name": "思维导图",
  6283. "forms": _formdiv,
  6284. "click": function() {
  6285. U.MD.D.I.openApplication(str, obj, info);
  6286. }
  6287. }
  6288. break;
  6289. case "doc":
  6290. aTool = 6;
  6291. _iframe = $$("iframe", {
  6292. "frameborder": "no",
  6293. "border": "0",
  6294. "scrolling ": "no",
  6295. "style": {
  6296. "cssText": "border:0;width:100%;height:100%"
  6297. },
  6298. "src": "/Office/Word/WordEditArea.htm"
  6299. })
  6300. _box.appendChild(_iframe);
  6301. _box.appendChild(_jie);
  6302. _formdiv = new U.UF.UI.form(
  6303. "协同文档",
  6304. _box, {
  6305. "id": "docs" + cid + stage + task + tool,
  6306. "style": {
  6307. "width": "90%",
  6308. "height": "90%",
  6309. "overflow": 'hidden'
  6310. },
  6311. "onresize": function() {}
  6312. }, {
  6313. closecallback: function() {}
  6314. }, {
  6315. "style": {
  6316. "height": "36px"
  6317. }
  6318. }).form; //创建窗体
  6319. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6320. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6321. })
  6322. _taskbar = {
  6323. "id": str + _formdiv.id,
  6324. "style": {
  6325. "backgroundImage": "url(/img/icon/doc.png)"
  6326. },
  6327. "name": "协同文档",
  6328. "forms": _formdiv,
  6329. "click": function() {
  6330. U.MD.D.I.openApplication(str, obj, info);
  6331. }
  6332. }
  6333. break;
  6334. }
  6335. const script1 = document.createElement("script");
  6336. script1.type = "text/javascript";
  6337. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6338. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6339. const script2 = document.createElement("script");
  6340. script2.type = "text/javascript";
  6341. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6342. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6343. const script3 = document.createElement("script");
  6344. script3.type = "text/javascript";
  6345. script3.charset = "UTF-8";
  6346. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6347. const script4 = document.createElement("script");
  6348. script4.type = "text/javascript";
  6349. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6350. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6351. if (_iframe) {
  6352. if (str == 'doc') {
  6353. _iframe = _formdiv.querySelector('iframe')
  6354. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6355. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6356. _iframe.contentWindow.document.body.appendChild(script1);
  6357. _iframe.contentWindow.document.body.appendChild(script2);
  6358. // _iframe.contentWindow.document.body.appendChild(script3);
  6359. _iframe.contentWindow.document.body.appendChild(script4);
  6360. })
  6361. if (onloadListener) {
  6362. _iframe.contentDocument.location.reload()
  6363. } else {
  6364. _iframe.contentDocument.location.reload()
  6365. }
  6366. } else if (str == 'mind') {
  6367. _iframe = _formdiv.querySelector('iframe')
  6368. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6369. _iframe.contentWindow.document.body.appendChild(script1);
  6370. _iframe.contentWindow.document.body.appendChild(script2);
  6371. _iframe.contentWindow.document.body.appendChild(script4);
  6372. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6373. })
  6374. if (onloadListener) {
  6375. _iframe.contentDocument.location.reload()
  6376. } else {
  6377. _iframe.contentDocument.location.reload()
  6378. }
  6379. } else {
  6380. _iframe.onload = () => {
  6381. _iframe.contentWindow.document.body.appendChild(script1);
  6382. _iframe.contentWindow.document.body.appendChild(script2);
  6383. // _iframe.contentWindow.document.body.appendChild(script3);
  6384. _iframe.contentWindow.document.body.appendChild(script4);
  6385. };
  6386. }
  6387. _jie.onclick = async() => {
  6388. let text = ''
  6389. if (aTool == 6) {
  6390. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6391. } else if (aTool == 3) {
  6392. text = await U.MD.D.I.getEditorContent(_iframe);
  6393. }
  6394. _loading.style.display = 'flex'
  6395. console.log(_loading);
  6396. var _ajs = _iframe.contentWindow.document.createElement("script");
  6397. _ajs.type = "text/javascript";
  6398. _ajs.innerHTML =
  6399. // 'console.log(' + _loading + ');\n' +
  6400. 'var _js = document.createElement("script");\n' +
  6401. '_js.type="text/javascript";\n' +
  6402. '_js.charset="UTF-8";\n' +
  6403. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6404. "_js.onload = function(){\n" +
  6405. ' var a = document.getElementsByTagName("img")\n' +
  6406. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6407. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6408. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6409. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6410. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6411. "beforeUpload_shishi(file," +
  6412. "'" +
  6413. _userid +
  6414. "'" +
  6415. ", " +
  6416. "'" +
  6417. _cid +
  6418. "'" +
  6419. ", " +
  6420. "'" +
  6421. _stage +
  6422. "'" +
  6423. ", " +
  6424. "'" +
  6425. _task +
  6426. "'" +
  6427. ", " +
  6428. "'" +
  6429. _tool +
  6430. "'" +
  6431. ", " +
  6432. "'" +
  6433. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6434. "'" +
  6435. ", " +
  6436. "'" +
  6437. aTool +
  6438. "'" +
  6439. ", " +
  6440. "`" +
  6441. text +
  6442. "`" +
  6443. ")\n" +
  6444. " });\n" +
  6445. "}\n" +
  6446. "document.head.appendChild(_js);\n";
  6447. _iframe.contentWindow.document.head.appendChild(_ajs);
  6448. }
  6449. }
  6450. //U.MD.D.I.openClick(str);
  6451. //如果有任务栏信息
  6452. // if (_taskbar) {
  6453. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6454. // }
  6455. }
  6456. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6457. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6458. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6459. _userinfo = US.userInfo, //登录用户信息
  6460. _userid = US.userInfo.userid //登录用户id
  6461. let _iframe;
  6462. let _cid = cid,
  6463. _stage = stage,
  6464. _task = task,
  6465. _tool = tool;
  6466. var _jie = $$("div", {
  6467. "style": {
  6468. "position": "absolute",
  6469. "bottom": "50px",
  6470. "right": "50px",
  6471. "zIndex": "9999",
  6472. "backgroundColor": "#2268bc",
  6473. "color": "#fff",
  6474. "padding": "12px 20px",
  6475. "cursor": "pointer",
  6476. "borderRadius": "4px",
  6477. },
  6478. "innerHTML": "确认并提交"
  6479. })
  6480. let aTool = ''
  6481. let _loading = document.createElement('div')
  6482. _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;"
  6483. // _loading.id = "";
  6484. let _lchild = document.createElement('div')
  6485. let _limg = document.createElement('img')
  6486. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6487. _limg.style = "width: 26px;margin-right: 10px;"
  6488. _lchild.appendChild(_limg)
  6489. let _lspan = document.createElement('span')
  6490. _lspan.innerHTML = "上传中..."
  6491. _lchild.appendChild(_lspan)
  6492. _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%);"
  6493. _loading.appendChild(_lchild)
  6494. var _box = $$('div', {
  6495. "style": {
  6496. "position": "relative",
  6497. "width": "100%",
  6498. "height": "100%",
  6499. },
  6500. })
  6501. _box.appendChild(_loading)
  6502. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6503. switch (str) {
  6504. case "whiteboard":
  6505. aTool = 1;
  6506. _iframe = $$("iframe", {
  6507. "frameborder": "no",
  6508. "border": "0",
  6509. "scrolling ": "no",
  6510. "style": {
  6511. "cssText": "border:0;width:100%;height:100%"
  6512. },
  6513. "src": "https://iwb.cocorobo.cn/"
  6514. })
  6515. _box.appendChild(_iframe);
  6516. _box.appendChild(_jie);
  6517. _formdiv = new U.UF.UI.form(
  6518. "电子白板",
  6519. _box, {
  6520. "id": "whiteboards" + cid + stage + task + tool,
  6521. "style": {
  6522. "width": "90%",
  6523. "height": "90%",
  6524. "overflow": 'hidden'
  6525. },
  6526. "onresize": function() {}
  6527. }, {
  6528. closecallback: function() {}
  6529. }, {
  6530. "style": {
  6531. "height": "36px"
  6532. }
  6533. }).form; //创建窗体
  6534. _taskbar = {
  6535. "id": str + _formdiv.id,
  6536. "style": {
  6537. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6538. },
  6539. "name": "电子白板",
  6540. "forms": _formdiv,
  6541. "click": function() {
  6542. U.MD.D.I.openApplication(str, obj, info);
  6543. }
  6544. }
  6545. break;
  6546. case "mind":
  6547. aTool = 3;
  6548. _iframe = $$("iframe", {
  6549. "frameborder": "no",
  6550. "border": "0",
  6551. "scrolling ": "no",
  6552. "style": {
  6553. "cssText": "border:0;width:100%;height:100%"
  6554. },
  6555. "src": "/kityminder-editor/dist/index.html"
  6556. });
  6557. _box.appendChild(_iframe);
  6558. _box.appendChild(_jie);
  6559. _formdiv = new U.UF.UI.form(
  6560. "思维导图",
  6561. _box, { //"/jsmind/example/demo.html"
  6562. "id": "minds" + cid + stage + task + tool,
  6563. "style": {
  6564. "width": "90%",
  6565. "height": "90%",
  6566. "overflow": 'hidden'
  6567. },
  6568. "onresize": function() {}
  6569. }, {
  6570. closecallback: function() {}
  6571. }, {
  6572. "style": {
  6573. "height": "36px"
  6574. }
  6575. }).form; //创建窗体
  6576. _taskbar = {
  6577. "id": str + _formdiv.id,
  6578. "style": {
  6579. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6580. },
  6581. "name": "思维导图",
  6582. "forms": _formdiv,
  6583. "click": function() {
  6584. U.MD.D.I.openApplication(str, obj, info);
  6585. }
  6586. }
  6587. break;
  6588. case "doc":
  6589. aTool = 6;
  6590. _iframe = $$("iframe", {
  6591. "frameborder": "no",
  6592. "border": "0",
  6593. "scrolling ": "no",
  6594. "style": {
  6595. "cssText": "border:0;width:100%;height:100%"
  6596. },
  6597. "src": "/Office/Word/WordEditArea.htm"
  6598. })
  6599. _box.appendChild(_iframe);
  6600. _box.appendChild(_jie);
  6601. _formdiv = new U.UF.UI.form(
  6602. "协同文档",
  6603. _box, {
  6604. "id": "docs" + cid + stage + task + tool,
  6605. "style": {
  6606. "width": "90%",
  6607. "height": "90%",
  6608. "overflow": 'hidden'
  6609. },
  6610. "onresize": function() {}
  6611. }, {
  6612. closecallback: function() {}
  6613. }, {
  6614. "style": {
  6615. "height": "36px"
  6616. }
  6617. }).form; //创建窗体
  6618. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6619. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6620. })
  6621. _taskbar = {
  6622. "id": str + _formdiv.id,
  6623. "style": {
  6624. "backgroundImage": "url(/img/icon/doc.png)"
  6625. },
  6626. "name": "协同文档",
  6627. "forms": _formdiv,
  6628. "click": function() {
  6629. U.MD.D.I.openApplication(str, obj, info);
  6630. }
  6631. }
  6632. break;
  6633. }
  6634. const script1 = document.createElement("script");
  6635. script1.type = "text/javascript";
  6636. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6637. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6638. const script2 = document.createElement("script");
  6639. script2.type = "text/javascript";
  6640. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6641. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6642. const script3 = document.createElement("script");
  6643. script3.type = "text/javascript";
  6644. script3.charset = "UTF-8";
  6645. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6646. const script4 = document.createElement("script");
  6647. script4.type = "text/javascript";
  6648. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6649. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6650. if (_iframe) {
  6651. if (str == 'doc') {
  6652. _iframe = _formdiv.querySelector('iframe')
  6653. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6654. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6655. _iframe.contentWindow.document.body.appendChild(script1);
  6656. _iframe.contentWindow.document.body.appendChild(script2);
  6657. // _iframe.contentWindow.document.body.appendChild(script3);
  6658. _iframe.contentWindow.document.body.appendChild(script4);
  6659. })
  6660. if (onloadListener) {
  6661. _iframe.contentDocument.location.reload()
  6662. } else {
  6663. _iframe.contentDocument.location.reload()
  6664. }
  6665. } else if (str == 'mind') {
  6666. _iframe = _formdiv.querySelector('iframe')
  6667. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6668. _iframe.contentWindow.document.body.appendChild(script1);
  6669. _iframe.contentWindow.document.body.appendChild(script2);
  6670. _iframe.contentWindow.document.body.appendChild(script4);
  6671. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6672. })
  6673. if (onloadListener) {
  6674. _iframe.contentDocument.location.reload()
  6675. } else {
  6676. _iframe.contentDocument.location.reload()
  6677. }
  6678. } else {
  6679. _iframe.onload = () => {
  6680. _iframe.contentWindow.document.body.appendChild(script1);
  6681. _iframe.contentWindow.document.body.appendChild(script2);
  6682. // _iframe.contentWindow.document.body.appendChild(script3);
  6683. _iframe.contentWindow.document.body.appendChild(script4);
  6684. };
  6685. }
  6686. _jie.onclick = async() => {
  6687. let text = ''
  6688. if (aTool == 6) {
  6689. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6690. } else if (aTool == 3) {
  6691. text = await U.MD.D.I.getEditorContent(_iframe);
  6692. }
  6693. _loading.style.display = 'flex'
  6694. console.log(_loading);
  6695. var _ajs = _iframe.contentWindow.document.createElement("script");
  6696. _ajs.type = "text/javascript";
  6697. _ajs.innerHTML =
  6698. // 'console.log(' + _loading + ');\n' +
  6699. 'var _js = document.createElement("script");\n' +
  6700. '_js.type="text/javascript";\n' +
  6701. '_js.charset="UTF-8";\n' +
  6702. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6703. "_js.onload = function(){\n" +
  6704. ' var a = document.getElementsByTagName("img")\n' +
  6705. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6706. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6707. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6708. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6709. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6710. "beforeUpload_shishi(file," +
  6711. "'" +
  6712. _userid +
  6713. "'" +
  6714. ", " +
  6715. "'" +
  6716. _cid +
  6717. "'" +
  6718. ", " +
  6719. "'" +
  6720. _stage +
  6721. "'" +
  6722. ", " +
  6723. "'" +
  6724. _task +
  6725. "'" +
  6726. ", " +
  6727. "'" +
  6728. _tool +
  6729. "'" +
  6730. ", " +
  6731. "'" +
  6732. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6733. "'" +
  6734. ", " +
  6735. "'" +
  6736. aTool +
  6737. "'" +
  6738. ", " +
  6739. "`" +
  6740. text +
  6741. "`" +
  6742. ")\n" +
  6743. " });\n" +
  6744. "}\n" +
  6745. "document.head.appendChild(_js);\n";
  6746. _iframe.contentWindow.document.head.appendChild(_ajs);
  6747. }
  6748. }
  6749. //U.MD.D.I.openClick(str);
  6750. //如果有任务栏信息
  6751. // if (_taskbar) {
  6752. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6753. // }
  6754. }
  6755. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6756. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6757. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6758. _userinfo = US.userInfo, //登录用户信息
  6759. _userid = US.userInfo.userid //登录用户id
  6760. let _iframe;
  6761. let _cid = cid,
  6762. _stage = stage,
  6763. _task = task,
  6764. _tool = tool;
  6765. var _jie = $$("div", {
  6766. "style": {
  6767. "position": "absolute",
  6768. "bottom": "50px",
  6769. "right": "50px",
  6770. "zIndex": "9999",
  6771. "backgroundColor": "#2268bc",
  6772. "color": "#fff",
  6773. "padding": "12px 20px",
  6774. "cursor": "pointer",
  6775. "borderRadius": "4px",
  6776. },
  6777. "innerHTML": "上传模板"
  6778. })
  6779. let aTool = ''
  6780. let _loading = document.createElement('div')
  6781. _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;"
  6782. // _loading.id = "";
  6783. let _lchild = document.createElement('div')
  6784. let _limg = document.createElement('img')
  6785. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6786. _limg.style = "width: 26px;margin-right: 10px;"
  6787. _lchild.appendChild(_limg)
  6788. let _lspan = document.createElement('span')
  6789. _lspan.innerHTML = "上传中..."
  6790. _lchild.appendChild(_lspan)
  6791. _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%);"
  6792. _loading.appendChild(_lchild)
  6793. var _box = $$('div', {
  6794. "style": {
  6795. "position": "relative",
  6796. "width": "100%",
  6797. "height": "100%",
  6798. },
  6799. })
  6800. _box.appendChild(_loading)
  6801. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6802. switch (str) {
  6803. case "whiteboard":
  6804. aTool = 1;
  6805. _iframe = $$("iframe", {
  6806. "frameborder": "no",
  6807. "border": "0",
  6808. "scrolling ": "no",
  6809. "style": {
  6810. "cssText": "border:0;width:100%;height:100%"
  6811. },
  6812. "src": "https://iwb.cocorobo.cn/"
  6813. })
  6814. _box.appendChild(_iframe);
  6815. _box.appendChild(_jie);
  6816. _formdiv = new U.UF.UI.form(
  6817. "电子白板",
  6818. _box, {
  6819. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6820. "style": {
  6821. "width": "90%",
  6822. "height": "90%",
  6823. "overflow": 'hidden'
  6824. },
  6825. "onresize": function() {}
  6826. }, {
  6827. closecallback: function() {}
  6828. }, {
  6829. "style": {
  6830. "height": "36px"
  6831. }
  6832. }).form; //创建窗体
  6833. _taskbar = {
  6834. "id": str + _formdiv.id,
  6835. "style": {
  6836. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6837. },
  6838. "name": "电子白板",
  6839. "forms": _formdiv,
  6840. "click": function() {
  6841. U.MD.D.I.openApplication(str, obj, info);
  6842. }
  6843. }
  6844. break;
  6845. case "mind":
  6846. aTool = 3;
  6847. _iframe = $$("iframe", {
  6848. "frameborder": "no",
  6849. "border": "0",
  6850. "scrolling ": "no",
  6851. "style": {
  6852. "cssText": "border:0;width:100%;height:100%"
  6853. },
  6854. "src": "/kityminder-editor/dist/index.html"
  6855. });
  6856. _box.appendChild(_iframe);
  6857. _box.appendChild(_jie);
  6858. _formdiv = new U.UF.UI.form(
  6859. "思维导图",
  6860. _box, { //"/jsmind/example/demo.html"
  6861. "id": "minds_Yu" + cid + stage + task + tool,
  6862. "style": {
  6863. "width": "90%",
  6864. "height": "90%",
  6865. "overflow": 'hidden'
  6866. },
  6867. "onresize": function() {}
  6868. }, {
  6869. closecallback: function() {}
  6870. }, {
  6871. "style": {
  6872. "height": "36px"
  6873. }
  6874. }).form; //创建窗体
  6875. _taskbar = {
  6876. "id": str + _formdiv.id,
  6877. "style": {
  6878. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6879. },
  6880. "name": "思维导图",
  6881. "forms": _formdiv,
  6882. "click": function() {
  6883. U.MD.D.I.openApplication(str, obj, info);
  6884. }
  6885. }
  6886. break;
  6887. case "doc":
  6888. aTool = 6;
  6889. _iframe = $$("iframe", {
  6890. "frameborder": "no",
  6891. "border": "0",
  6892. "scrolling ": "no",
  6893. "style": {
  6894. "cssText": "border:0;width:100%;height:100%"
  6895. },
  6896. "src": "/Office/Word/WordEditArea.htm"
  6897. })
  6898. _box.appendChild(_iframe);
  6899. _box.appendChild(_jie);
  6900. _formdiv = new U.UF.UI.form(
  6901. "协同文档",
  6902. _box, {
  6903. "id": "docs_Yu" + cid + stage + task + tool,
  6904. "style": {
  6905. "width": "90%",
  6906. "height": "90%",
  6907. "overflow": 'hidden'
  6908. },
  6909. "onresize": function() {}
  6910. }, {
  6911. closecallback: function() {}
  6912. }, {
  6913. "style": {
  6914. "height": "36px"
  6915. }
  6916. }).form; //创建窗体
  6917. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6918. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6919. })
  6920. _taskbar = {
  6921. "id": str + _formdiv.id,
  6922. "style": {
  6923. "backgroundImage": "url(/img/icon/doc.png)"
  6924. },
  6925. "name": "协同文档",
  6926. "forms": _formdiv,
  6927. "click": function() {
  6928. U.MD.D.I.openApplication(str, obj, info);
  6929. }
  6930. }
  6931. break;
  6932. case "CocoPi":
  6933. aTool = 57;
  6934. _iframe = $$("iframe", {
  6935. "allowpaymentrequest": "allowpaymentrequest",
  6936. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6937. "webkitallowfullscreen": "",
  6938. "mozallowfullscreen": "",
  6939. "frameborder": "no",
  6940. "border": "0",
  6941. "scrolling ": "no",
  6942. "style": {
  6943. "cssText": "border:0;width:100%;height:100%"
  6944. },
  6945. "src": "https://pi.cocorobo.cn/"
  6946. })
  6947. _box.appendChild(_iframe);
  6948. _box.appendChild(_jie);
  6949. _formdiv = new U.UF.UI.form(
  6950. "CocoPi",
  6951. _box, {
  6952. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6953. "style": {
  6954. "width": "90%",
  6955. "height": "90%",
  6956. "overflow": 'hidden'
  6957. },
  6958. "onresize": function() {}
  6959. }, {
  6960. closecallback: function() {}
  6961. }, {
  6962. "style": {
  6963. "height": "36px"
  6964. }
  6965. }).form; //创建窗体
  6966. _taskbar = {
  6967. "id": str + _formdiv.id,
  6968. "style": {
  6969. "backgroundImage": "url(/img/icon/cocopi.png)"
  6970. },
  6971. "name": "CocoPi",
  6972. "forms": _formdiv,
  6973. "click": function() {
  6974. U.MD.D.I.openApplication(str, obj, info);
  6975. }
  6976. }
  6977. break;
  6978. }
  6979. if (_iframe) {
  6980. if (str == 'doc') {
  6981. _iframe = _formdiv.querySelector('iframe')
  6982. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6983. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6984. })
  6985. if (onloadListener) {
  6986. _iframe.contentDocument.location.reload()
  6987. } else {
  6988. _iframe.contentDocument.location.reload()
  6989. }
  6990. } else if (str == 'mind') {
  6991. _iframe = _formdiv.querySelector('iframe')
  6992. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6993. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6994. })
  6995. if (onloadListener) {
  6996. _iframe.contentDocument.location.reload()
  6997. } else {
  6998. _iframe.contentDocument.location.reload()
  6999. }
  7000. } else if (str == 'whiteboard') {
  7001. _iframe = _formdiv.querySelector('iframe')
  7002. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7003. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7004. })
  7005. if (onloadListener) {
  7006. _iframe.contentDocument.location.reload()
  7007. } else {
  7008. _iframe.contentDocument.location.reload()
  7009. }
  7010. } else if (str == 'CocoPi') {
  7011. _iframe = _formdiv.querySelector('iframe')
  7012. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7013. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7014. })
  7015. if (onloadListener) {
  7016. _iframe.contentDocument.location.reload()
  7017. } else {
  7018. _iframe.contentDocument.location.reload()
  7019. }
  7020. } else {
  7021. _iframe.onload = () => {};
  7022. }
  7023. _jie.onclick = async() => {
  7024. let text = ''
  7025. let type = '2'
  7026. if (aTool == 1) {
  7027. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7028. type = '3'
  7029. } else if (aTool == 6) {
  7030. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7031. type = '1'
  7032. } else if (aTool == 3) {
  7033. text = await U.MD.D.I.getEditorContent(_iframe);
  7034. type = '2'
  7035. } else if (aTool == 57) {
  7036. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7037. type = '4'
  7038. }
  7039. _loading.style.display = 'flex'
  7040. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7041. }
  7042. }
  7043. //U.MD.D.I.openClick(str);
  7044. //如果有任务栏信息
  7045. // if (_taskbar) {
  7046. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7047. // }
  7048. }
  7049. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7050. var xmlhttp;
  7051. var Mac, Sn, DeviceId
  7052. if (window.XMLHttpRequest) {
  7053. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7054. xmlhttp = new XMLHttpRequest();
  7055. } else {
  7056. // IE6, IE5 浏览器执行代码
  7057. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7058. }
  7059. xmlhttp.onreadystatechange = function() {
  7060. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7061. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7062. // resolve(res.value[0][0].text);
  7063. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7064. }
  7065. }
  7066. }
  7067. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7068. xmlhttp.send();
  7069. }
  7070. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7071. var xmlhttp;
  7072. var Mac, Sn, DeviceId
  7073. if (window.XMLHttpRequest) {
  7074. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7075. xmlhttp = new XMLHttpRequest();
  7076. } else {
  7077. // IE6, IE5 浏览器执行代码
  7078. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7079. }
  7080. xmlhttp.onreadystatechange = function() {
  7081. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7082. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7083. // resolve(res.value[0][0].text);
  7084. if (type == '2') {
  7085. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7086. } else if (type == '3') {
  7087. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7088. } else if (type == '4') {
  7089. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7090. }
  7091. } else {
  7092. if (type == '2') {
  7093. iframe.contentWindow.editor.minder.importData('json', '')
  7094. } else if (type == '3') {
  7095. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7096. } else if (type == '4') {
  7097. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7098. }
  7099. }
  7100. }
  7101. }
  7102. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7103. xmlhttp.send();
  7104. }
  7105. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7106. var xmlhttp;
  7107. var Mac, Sn, DeviceId
  7108. if (window.XMLHttpRequest) {
  7109. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7110. xmlhttp = new XMLHttpRequest();
  7111. } else {
  7112. // IE6, IE5 浏览器执行代码
  7113. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7114. }
  7115. xmlhttp.onreadystatechange = function() {
  7116. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7117. if (xmlhttp.response) {
  7118. // resolve(res.value[0][0].text);
  7119. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7120. // $(fileInput).val('');
  7121. // });
  7122. span.innerHTML = '上传成功'
  7123. setTimeout(() => {
  7124. loading.style.display = 'none'
  7125. }, 1000);
  7126. }
  7127. }
  7128. }
  7129. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7130. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7131. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7132. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7133. // 设置请求头,表示请求体的编码格式
  7134. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7135. // 设置请求体,使用url-encoded格式的数据
  7136. }
  7137. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7138. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7139. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7140. _userinfo = US.userInfo, //登录用户信息
  7141. _userid = US.userInfo.userid //登录用户id
  7142. let _iframe;
  7143. let _cid = cid,
  7144. _stage = stage,
  7145. _task = task,
  7146. _tool = tool;
  7147. var _jie = $$("div", {
  7148. "style": {
  7149. "position": "absolute",
  7150. "bottom": "50px",
  7151. "right": "50px",
  7152. "zIndex": "9999",
  7153. "backgroundColor": "#2268bc",
  7154. "color": "#fff",
  7155. "padding": "12px 20px",
  7156. "cursor": "pointer",
  7157. "borderRadius": "4px",
  7158. },
  7159. "innerHTML": "提交作业"
  7160. })
  7161. let aTool = ''
  7162. let _loading = document.createElement('div')
  7163. _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;"
  7164. // _loading.id = "";
  7165. let _lchild = document.createElement('div')
  7166. let _limg = document.createElement('img')
  7167. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7168. _limg.style = "width: 26px;margin-right: 10px;"
  7169. _lchild.appendChild(_limg)
  7170. let _lspan = document.createElement('span')
  7171. _lspan.innerHTML = "上传中..."
  7172. _lchild.appendChild(_lspan)
  7173. _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%);"
  7174. _loading.appendChild(_lchild)
  7175. var _box = $$('div', {
  7176. "style": {
  7177. "position": "relative",
  7178. "width": "100%",
  7179. "height": "100%",
  7180. },
  7181. })
  7182. _box.appendChild(_loading)
  7183. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7184. switch (str) {
  7185. case "CocoPi":
  7186. aTool = 57;
  7187. _iframe = $$("iframe", {
  7188. "allowpaymentrequest": "allowpaymentrequest",
  7189. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7190. "webkitallowfullscreen": "",
  7191. "mozallowfullscreen": "",
  7192. "frameborder": "no",
  7193. "border": "0",
  7194. "scrolling ": "no",
  7195. "style": {
  7196. "cssText": "border:0;width:100%;height:100%"
  7197. },
  7198. "src": "https://pi.cocorobo.cn/"
  7199. })
  7200. _box.appendChild(_iframe);
  7201. _box.appendChild(_jie);
  7202. _formdiv = new U.UF.UI.form(
  7203. "CocoPi",
  7204. _box, {
  7205. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7206. "style": {
  7207. "width": "90%",
  7208. "height": "90%",
  7209. "overflow": 'hidden'
  7210. },
  7211. "onresize": function() {}
  7212. }, {
  7213. closecallback: function() {}
  7214. }, {
  7215. "style": {
  7216. "height": "36px"
  7217. }
  7218. }).form; //创建窗体
  7219. _taskbar = {
  7220. "id": str + _formdiv.id,
  7221. "style": {
  7222. "backgroundImage": "url(/img/icon/cocopi.png)"
  7223. },
  7224. "name": "CocoPi",
  7225. "forms": _formdiv,
  7226. "click": function() {
  7227. U.MD.D.I.openApplication(str, obj, info);
  7228. }
  7229. }
  7230. break;
  7231. }
  7232. if (_iframe) {
  7233. if (str == 'CocoPi') {
  7234. _iframe = _formdiv.querySelector('iframe')
  7235. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7236. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7237. })
  7238. if (onloadListener) {
  7239. _iframe.contentDocument.location.reload()
  7240. } else {
  7241. _iframe.contentDocument.location.reload()
  7242. }
  7243. }
  7244. _jie.onclick = async() => {
  7245. let text = ''
  7246. if (aTool == 57) {
  7247. text = _iframe.contentWindow.getLoadXmlStr()
  7248. }
  7249. _loading.style.display = 'flex'
  7250. console.log(_loading);
  7251. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7252. _loading.style.display = 'none'
  7253. let _div = document.createElement('div')
  7254. _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;"
  7255. let _inner = document.createElement('div')
  7256. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7257. _inner.innerHTML = "上传成功"
  7258. _div.appendChild(_inner)
  7259. _iframe.contentWindow.window.document.body.appendChild(_div)
  7260. _div.onclick = () => {
  7261. _iframe.contentWindow.window.document.body.removeChild(_div)
  7262. }
  7263. setTimeout(() => {
  7264. _iframe.contentWindow.window.document.body.removeChild(_div)
  7265. }, 1000);
  7266. }, [], { "type": "POST", "withCredentials": true });
  7267. }
  7268. }
  7269. }
  7270. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7271. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7272. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7273. _userid = student.userid, //登录用户id
  7274. _username = student.student //用户名字
  7275. let _iframe;
  7276. let _cid = cid,
  7277. _stage = stage,
  7278. _task = task,
  7279. _tool = tool;
  7280. var _jie = $$("div", {
  7281. "style": {
  7282. "position": "absolute",
  7283. "bottom": "50px",
  7284. "right": "50px",
  7285. "zIndex": "9999",
  7286. "backgroundColor": "#2268bc",
  7287. "color": "#fff",
  7288. "padding": "12px 20px",
  7289. "cursor": "pointer",
  7290. "borderRadius": "4px",
  7291. },
  7292. "innerHTML": "提交作业"
  7293. })
  7294. let aTool = ''
  7295. let _loading = document.createElement('div')
  7296. _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;"
  7297. // _loading.id = "";
  7298. let _lchild = document.createElement('div')
  7299. let _limg = document.createElement('img')
  7300. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7301. _limg.style = "width: 26px;margin-right: 10px;"
  7302. _lchild.appendChild(_limg)
  7303. let _lspan = document.createElement('span')
  7304. _lspan.innerHTML = "上传中..."
  7305. _lchild.appendChild(_lspan)
  7306. _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%);"
  7307. _loading.appendChild(_lchild)
  7308. var _box = $$('div', {
  7309. "style": {
  7310. "position": "relative",
  7311. "width": "100%",
  7312. "height": "100%",
  7313. },
  7314. })
  7315. _box.appendChild(_loading)
  7316. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7317. switch (str) {
  7318. case "CocoPi":
  7319. aTool = 57;
  7320. _iframe = $$("iframe", {
  7321. "allowpaymentrequest": "allowpaymentrequest",
  7322. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7323. "webkitallowfullscreen": "",
  7324. "mozallowfullscreen": "",
  7325. "frameborder": "no",
  7326. "border": "0",
  7327. "scrolling ": "no",
  7328. "style": {
  7329. "cssText": "border:0;width:100%;height:100%"
  7330. },
  7331. "src": "https://pi.cocorobo.cn/"
  7332. })
  7333. _box.appendChild(_iframe);
  7334. _box.appendChild(_jie);
  7335. _formdiv = new U.UF.UI.form(
  7336. "CocoPi-" + _username,
  7337. _box, {
  7338. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7339. "style": {
  7340. "width": "90%",
  7341. "height": "90%",
  7342. "overflow": 'hidden'
  7343. },
  7344. "onresize": function() {}
  7345. }, {
  7346. closecallback: function() {}
  7347. }, {
  7348. "style": {
  7349. "height": "36px"
  7350. }
  7351. }).form; //创建窗体
  7352. _taskbar = {
  7353. "id": str + _formdiv.id,
  7354. "style": {
  7355. "backgroundImage": "url(/img/icon/cocopi.png)"
  7356. },
  7357. "name": "CocoPi",
  7358. "forms": _formdiv,
  7359. "click": function() {
  7360. U.MD.D.I.openApplication(str, obj, info);
  7361. }
  7362. }
  7363. break;
  7364. }
  7365. if (_iframe) {
  7366. if (str == 'CocoPi') {
  7367. _iframe = _formdiv.querySelector('iframe')
  7368. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7369. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7370. })
  7371. if (onloadListener) {
  7372. _iframe.contentDocument.location.reload()
  7373. } else {
  7374. _iframe.contentDocument.location.reload()
  7375. }
  7376. }
  7377. _jie.onclick = async() => {
  7378. let text = ''
  7379. if (aTool == 57) {
  7380. text = _iframe.contentWindow.getLoadXmlStr()
  7381. }
  7382. _loading.style.display = 'flex'
  7383. console.log(_loading);
  7384. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7385. _loading.style.display = 'none'
  7386. let _div = document.createElement('div')
  7387. _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;"
  7388. let _inner = document.createElement('div')
  7389. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7390. _inner.innerHTML = "上传成功"
  7391. _div.appendChild(_inner)
  7392. _iframe.contentWindow.window.document.body.appendChild(_div)
  7393. _div.onclick = () => {
  7394. _iframe.contentWindow.window.document.body.removeChild(_div)
  7395. }
  7396. setTimeout(() => {
  7397. _iframe.contentWindow.window.document.body.removeChild(_div)
  7398. }, 1000);
  7399. }, [], { "type": "POST", "withCredentials": true });
  7400. }
  7401. }
  7402. }
  7403. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7404. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7405. if (res.value[0].length > 0) {
  7406. if (atool == 57) {
  7407. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7408. }
  7409. } else {
  7410. if (atool == 57) {
  7411. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7412. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7413. }
  7414. }
  7415. }, [], { "type": "POST", "withCredentials": true });
  7416. }