DeskTop.js 437 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. ];
  176. U.MD.D.I.orgStemDeskIcon = [
  177. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  178. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  179. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  180. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  181. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  182. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  183. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  184. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  185. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  186. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  187. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  188. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  189. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  190. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  191. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  192. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  194. ];
  195. U.MD.D.I.szulsDeskIcon = [
  196. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  197. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  206. ];
  207. U.MD.D.I.hanDeskIcon = [
  208. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  209. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  210. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  211. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  212. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  213. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  214. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  215. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  216. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  217. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  218. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  219. ];
  220. U.MD.D.I.GMteacherDeskIcon = [
  221. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  222. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  223. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  224. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  225. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  226. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  227. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  228. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  229. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  230. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  231. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  232. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  233. ];
  234. U.MD.D.I.GMstudentDeskIcon = [
  235. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  236. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  237. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  238. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. ];
  241. //北师大
  242. U.MD.D.I.BSDNSteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  244. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  245. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  250. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  251. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  252. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  253. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  254. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  255. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  256. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  257. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  258. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  259. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  260. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  261. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  262. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  263. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  264. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  265. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  266. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  267. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  268. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  269. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  270. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  271. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  272. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  273. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  274. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  275. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  276. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  277. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  278. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  279. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  280. ];
  281. //松山湖
  282. U.MD.D.I.SONGteacherDeskIcon = [
  283. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  284. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  285. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  286. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  287. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  288. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  289. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  290. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  291. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  292. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  293. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  294. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  295. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  296. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  297. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  298. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  299. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  300. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  301. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  302. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  303. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  304. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  305. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  306. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  307. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  308. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  309. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  310. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  311. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  312. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  313. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  314. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  315. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  316. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  317. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  318. ];
  319. U.MD.D.I.tcStudentDeskIcon = [
  320. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  321. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  322. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  323. ];
  324. U.MD.D.I.tcTeacherDeskIcon = [
  325. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  326. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  327. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  328. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  329. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  330. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  331. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  332. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  333. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  334. ];
  335. U.MD.D.I.tcOrganizerDeskIcon = [
  336. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  337. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  338. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  339. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  340. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  341. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  342. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  343. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  344. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  345. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  346. ];
  347. U.MD.D.I.szscStudentDeskIcon = [
  348. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. ];
  353. U.MD.D.I.szscTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  358. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. ];
  365. U.MD.D.I.szscOrganizerDeskIcon = [
  366. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  367. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  368. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  369. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  370. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  371. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  372. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  373. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  374. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  375. ];
  376. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  377. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  378. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  379. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  380. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  381. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  384. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  385. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  386. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  387. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  388. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  389. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  390. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  391. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  392. ];
  393. U.MD.D.I.wankeAdminDeskIcon = [
  394. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  395. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  396. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  398. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  399. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  400. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  401. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  402. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  403. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  404. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  405. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  406. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  407. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  408. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  409. ];
  410. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  411. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  412. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  413. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  414. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  415. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  416. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  417. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  418. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  419. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  420. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  421. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  422. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  423. ];
  424. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  425. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  426. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  427. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  428. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  429. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  430. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  431. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  432. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  433. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  434. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  435. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  436. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  437. ];
  438. //明德教师桌面图标的全局变量
  439. U.MD.D.I.MingdeTeacherDeskIcon = [
  440. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  441. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  442. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  443. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  444. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  445. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  446. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  447. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  448. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  449. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  450. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  452. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  453. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  454. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  455. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  456. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  457. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  458. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  459. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  460. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  461. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  462. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  463. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  464. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  465. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  466. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  467. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  470. ];
  471. //97c4ee8b-d010-4042-986d-e9d3c217264f
  472. //教师桌面图标的全局变量
  473. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  474. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  481. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  482. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  483. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  484. ];
  485. //福田
  486. U.MD.D.I.futianTeacherDeskIcon = [
  487. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  488. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  489. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  490. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  491. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  492. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  493. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  494. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  496. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  497. ];
  498. //福田
  499. U.MD.D.I.futianAdminDeskIcon = [
  500. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  501. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  502. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  503. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  504. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  505. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  506. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  507. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  508. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  509. ];
  510. //lotech
  511. U.MD.D.I.lotechTeacherDeskIcon = [
  512. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  513. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  514. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  515. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  516. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  517. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. ];
  521. //龙华中心小学教师桌面图标的全局变量
  522. U.MD.D.I.longhuateacherDeskIcon = [
  523. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  524. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  525. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  526. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  527. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  528. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  529. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  530. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  531. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  532. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  533. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. ];
  536. //教科院实小教师桌面图标的全局变量
  537. U.MD.D.I.siesteacherDeskIcon = [
  538. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  539. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  540. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  541. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  542. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  543. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  544. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  545. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  546. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  547. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  548. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  549. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  551. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  552. ];
  553. //教科院实小教师桌面图标的全局变量
  554. U.MD.D.I.siesStudentDeskIcon = [
  555. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  556. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. ];
  559. //福田
  560. U.MD.D.I.gdjgTeacherDeskIcon = [
  561. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  562. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  563. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  564. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  565. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  566. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  567. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  568. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  569. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  570. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  571. ];
  572. //gdjg
  573. U.MD.D.I.gdjgAdminDeskIcon = [
  574. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  575. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  581. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  582. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. ];
  584. //hk
  585. U.MD.D.I.hkteacherDeskIcon = [
  586. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  587. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  588. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  589. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  590. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  591. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  592. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  593. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  598. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  599. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  600. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  601. ];
  602. //hk
  603. U.MD.D.I.hkStudentDeskIcon = [
  604. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. ];
  608. //香海正覺蓮社佛教正覺中學
  609. U.MD.D.I.hkZJLSteacherDeskIcon = [
  610. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  611. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  612. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  613. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  614. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  619. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  620. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  621. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  622. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. ];
  625. //香海正覺蓮社佛教正覺中學
  626. U.MD.D.I.hkZJLSStudentDeskIcon = [
  627. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  628. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  629. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  630. ];
  631. //云海
  632. U.MD.D.I.yunhaiTeacherDeskIcon = [
  633. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  634. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  635. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  636. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  640. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  641. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  642. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  643. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  644. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  645. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  646. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  647. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  648. ];
  649. //福田
  650. U.MD.D.I.heyuanTeacherDeskIcon = [
  651. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  652. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  653. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  654. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  655. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  656. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  657. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  659. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  660. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  661. ];
  662. //福田
  663. U.MD.D.I.heyuanAdminDeskIcon = [
  664. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  665. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  666. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  667. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  668. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  669. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  670. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  671. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  672. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  673. ];
  674. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  675. U.MD.D.I.szherTeacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  679. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  680. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  681. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  682. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. ];
  686. //dsei
  687. U.MD.D.I.dseiTeacherDeskIcon = [
  688. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  689. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  691. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  692. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  693. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  694. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  695. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  696. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  697. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  698. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  699. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  700. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  701. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  702. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  703. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  704. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  705. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  706. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  707. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  708. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  709. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  710. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  711. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  712. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  713. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  714. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  715. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  716. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  717. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  718. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  719. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  720. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  721. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  722. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  723. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  724. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  725. ];
  726. //dsei
  727. U.MD.D.I.dseiAdminDeskIcon = [
  728. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  729. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  731. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  732. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  735. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  736. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  737. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  738. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  739. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  740. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  741. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  742. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  743. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  744. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  745. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  746. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  747. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  748. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  749. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  750. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  751. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  752. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  753. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  754. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  755. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  756. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  757. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  758. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  759. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  760. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  761. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  762. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  763. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  764. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  765. ];
  766. //dsei
  767. U.MD.D.I.dseiStudentDeskIcon = [
  768. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  769. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. ];
  772. //未来教育基地
  773. U.MD.D.I.szjkyTeacherDeskIcon = [
  774. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  775. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  776. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  777. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  778. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  779. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  780. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  781. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  782. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  783. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  784. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  785. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. ];
  787. //未来教育基地
  788. U.MD.D.I.szjkyAdminDeskIcon = [
  789. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  790. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  791. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  792. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  793. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  794. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  795. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  796. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  797. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  798. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  799. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  800. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  802. ];
  803. //未来教育基地
  804. U.MD.D.I.szjkyStudentDeskIcon = [
  805. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. ];
  809. //成华教育局
  810. U.MD.D.I.chjyjTeacherDeskIcon = [
  811. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  812. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  813. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  814. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  815. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  816. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  817. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  818. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  819. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  820. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. ];
  824. //成华教育局chjyj
  825. U.MD.D.I.chjyjAdminDeskIcon = [
  826. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  827. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  829. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  830. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  831. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  835. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  836. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  837. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  838. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  839. ];
  840. //成华教育局chjyj
  841. U.MD.D.I.chjyjStudentDeskIcon = [
  842. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  843. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  844. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  845. ];
  846. //#region 桌面初始化a
  847. /**
  848. * 初始化桌面的起始函数
  849. *
  850. */
  851. U.MD.D.I.init = function() {
  852. if ($("#U_MD_D_K")[0]) {
  853. //初始化桌面图标
  854. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  855. // var clickUrl = ':12588/requestIp.php';
  856. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  857. // U.MD.D.I.Ip = data;
  858. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  859. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  860. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  861. // })
  862. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  863. // })
  864. }
  865. }
  866. /**
  867. * 模式切换
  868. *
  869. */
  870. U.MD.D.I.ModeCheck = function(type) {
  871. if (US.Config.type == type) {
  872. return
  873. }
  874. US.Config.type = type
  875. $('.U_PBL_Check .active')[0].className = ''
  876. if (type == 1) {
  877. $('.U_PBL_Check div')[0].className = 'active'
  878. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  879. } else {
  880. $('.U_PBL_Check div')[1].className = 'active'
  881. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  882. }
  883. //初始化桌面图标
  884. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  885. if (type == 2) {
  886. U.MD.D.I.openApplication("project")
  887. }
  888. }
  889. /**
  890. * 隐藏任务栏
  891. *
  892. * @param {element} 桌面元素
  893. */
  894. U.MD.D.I.hiddenTaskbar = function(el) {
  895. //任务栏位置变小
  896. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  897. //桌面的位置变大
  898. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  899. }
  900. /**
  901. * 隐藏任务栏
  902. *
  903. * @param {element} 桌面元素
  904. */
  905. U.MD.D.I.hiddenTaskbarout = function(el) {
  906. //任务栏位置变小
  907. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  908. //任务栏位置变化
  909. U.selectEl(el).css({ "bottom": "-60px" });
  910. //桌面的位置变大
  911. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  912. }
  913. }
  914. /**
  915. * 初始化打印桌面图标
  916. *
  917. * @param {element} 桌面元素
  918. */
  919. U.MD.D.I.initDesktopIcons = function(el, type) {
  920. var i, //用于循环
  921. _content, //桌面图标元素
  922. _iconcontent, //桌面图标元素
  923. _frag = $$("frag"), //定义一个碎片元素
  924. _type = US.userInfo.type,
  925. _org = US.userInfo.org,
  926. _oid = US.userInfo.organizeid,
  927. _role = US.userInfo.role,
  928. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  929. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  930. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  931. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  932. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  933. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  934. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  935. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  936. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  937. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  938. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  939. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  940. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  941. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  942. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  943. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  944. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  945. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  946. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  947. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  948. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  949. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  950. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  951. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  952. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  953. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  954. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  955. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  956. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  957. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  958. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  959. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  960. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  961. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  962. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  963. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  964. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  965. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  966. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  967. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  968. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  969. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  970. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  971. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  972. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  973. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  974. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  975. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  976. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  977. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  978. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  979. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  980. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5'];
  981. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5','2fa75e51-189a-11ee-91d8-005056b86db5'];
  982. //清楚桌面图标
  983. el.innerHTML = "";
  984. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  985. _teacherDesktopIconInfo.push(
  986. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  987. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  988. )
  989. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  990. }
  991. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  992. _teacherDesktopIconInfo.push(
  993. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  994. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI协同", "Url": "ainew", "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)" } },
  995. )
  996. }
  997. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  998. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  999. if (el.Name == '项目管理') {
  1000. el.Name = 'PBL项目'
  1001. }
  1002. return el
  1003. })
  1004. }
  1005. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1006. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1007. return el.Name != '魔盒识字' && el.Name != '24点'
  1008. })
  1009. }
  1010. 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) {
  1011. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1012. }
  1013. //循环创建桌面图标
  1014. if (type == 1) {
  1015. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1016. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1017. _content = $$("div", {
  1018. className: "U_MD_D_KO",
  1019. "onmousedown": U.UF.C.closure(function(obj) {
  1020. //防止拖动图标即打开了桌面应用
  1021. U.MD.D.click(this, obj);
  1022. }, [_studentDesktopIconInfo[i]]),
  1023. "onclick": U.UF.C.closure(function(obj) {
  1024. //防止拖动图标即打开了桌面应用
  1025. U.MD.D.click(this, obj);
  1026. }, [_studentDesktopIconInfo[i]])
  1027. }, _frag); //
  1028. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1029. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1030. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1031. }
  1032. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1033. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1034. _content = $$("div", {
  1035. className: "U_MD_D_KO",
  1036. "onmousedown": U.UF.C.closure(function(obj) {
  1037. //防止拖动图标即打开了桌面应用
  1038. U.MD.D.click(this, obj);
  1039. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1040. "onclick": U.UF.C.closure(function(obj) {
  1041. //防止拖动图标即打开了桌面应用
  1042. U.MD.D.click(this, obj);
  1043. }, [_hkZJLSStudentDeskIconInfo[i]])
  1044. }, _frag); //
  1045. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1046. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1047. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1048. } //
  1049. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1050. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1051. _content = $$("div", {
  1052. className: "U_MD_D_KO",
  1053. "onmousedown": U.UF.C.closure(function(obj) {
  1054. //防止拖动图标即打开了桌面应用
  1055. U.MD.D.click(this, obj);
  1056. }, [_chjyjStudentDeskIconInfo[i]]),
  1057. "onclick": U.UF.C.closure(function(obj) {
  1058. //防止拖动图标即打开了桌面应用
  1059. U.MD.D.click(this, obj);
  1060. }, [_chjyjStudentDeskIconInfo[i]])
  1061. }, _frag); //
  1062. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1063. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1064. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1065. }
  1066. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1067. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1068. _content = $$("div", {
  1069. className: "U_MD_D_KO",
  1070. "onmousedown": U.UF.C.closure(function(obj) {
  1071. //防止拖动图标即打开了桌面应用
  1072. U.MD.D.click(this, obj);
  1073. }, [_szjkyStudentDeskIconInfo[i]]),
  1074. "onclick": U.UF.C.closure(function(obj) {
  1075. //防止拖动图标即打开了桌面应用
  1076. U.MD.D.click(this, obj);
  1077. }, [_szjkyStudentDeskIconInfo[i]])
  1078. }, _frag); //
  1079. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1080. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1081. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1082. }
  1083. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1084. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1085. _content = $$("div", {
  1086. className: "U_MD_D_KO",
  1087. "onmousedown": U.UF.C.closure(function(obj) {
  1088. //防止拖动图标即打开了桌面应用
  1089. U.MD.D.click(this, obj);
  1090. }, [_dseiStudentDeskIconInfo[i]]),
  1091. "onclick": U.UF.C.closure(function(obj) {
  1092. //防止拖动图标即打开了桌面应用
  1093. U.MD.D.click(this, obj);
  1094. }, [_dseiStudentDeskIconInfo[i]])
  1095. }, _frag); //
  1096. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1097. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1098. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1099. }
  1100. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1101. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1102. _content = $$("div", {
  1103. className: "U_MD_D_KO",
  1104. "onmousedown": U.UF.C.closure(function(obj) {
  1105. //防止拖动图标即打开了桌面应用
  1106. U.MD.D.click(this, obj);
  1107. }, [_siesStudentDeskIconInfo[i]]),
  1108. "onclick": U.UF.C.closure(function(obj) {
  1109. //防止拖动图标即打开了桌面应用
  1110. U.MD.D.click(this, obj);
  1111. }, [_siesStudentDeskIconInfo[i]])
  1112. }, _frag); //
  1113. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1114. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1115. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1116. }
  1117. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1118. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1119. _content = $$("div", {
  1120. className: "U_MD_D_KO",
  1121. "onmousedown": U.UF.C.closure(function(obj) {
  1122. //防止拖动图标即打开了桌面应用
  1123. U.MD.D.click(this, obj);
  1124. }, [_hkStudentDeskIconInfo[i]]),
  1125. "onclick": U.UF.C.closure(function(obj) {
  1126. //防止拖动图标即打开了桌面应用
  1127. U.MD.D.click(this, obj);
  1128. }, [_hkStudentDeskIconInfo[i]])
  1129. }, _frag); //
  1130. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1131. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1132. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1133. }
  1134. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1135. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1136. _content = $$("div", {
  1137. className: "U_MD_D_KO",
  1138. "onmousedown": U.UF.C.closure(function(obj) {
  1139. //防止拖动图标即打开了桌面应用
  1140. U.MD.D.click(this, obj);
  1141. }, [_studentDesktopIconInfo[i]]),
  1142. "onclick": U.UF.C.closure(function(obj) {
  1143. //防止拖动图标即打开了桌面应用
  1144. U.MD.D.click(this, obj);
  1145. }, [_studentDesktopIconInfo[i]])
  1146. }, _frag); //
  1147. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1148. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1149. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1150. }
  1151. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1152. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1153. _content = $$("div", {
  1154. className: "U_MD_D_KO",
  1155. "onmousedown": U.UF.C.closure(function(obj) {
  1156. //防止拖动图标即打开了桌面应用
  1157. U.MD.D.click(this, obj);
  1158. }, [_tcStudentDeskIconInfo[i]]),
  1159. "onclick": U.UF.C.closure(function(obj) {
  1160. //防止拖动图标即打开了桌面应用
  1161. U.MD.D.click(this, obj);
  1162. }, [_tcStudentDeskIconInfo[i]])
  1163. }, _frag); //
  1164. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1165. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1166. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1167. }
  1168. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1169. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1170. _content = $$("div", {
  1171. className: "U_MD_D_KO",
  1172. "onmousedown": U.UF.C.closure(function(obj) {
  1173. //防止拖动图标即打开了桌面应用
  1174. U.MD.D.click(this, obj);
  1175. }, [_szscStudentDeskIconInfo[i]]),
  1176. "onclick": U.UF.C.closure(function(obj) {
  1177. //防止拖动图标即打开了桌面应用
  1178. U.MD.D.click(this, obj);
  1179. }, [_szscStudentDeskIconInfo[i]])
  1180. }, _frag); //
  1181. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1182. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1183. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1184. }
  1185. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1186. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1187. _content = $$("div", {
  1188. className: "U_MD_D_KO",
  1189. "onmousedown": U.UF.C.closure(function(obj) {
  1190. //防止拖动图标即打开了桌面应用
  1191. U.MD.D.click(this, obj);
  1192. }, [_studentDesktopIconInfo3[i]]),
  1193. "onclick": U.UF.C.closure(function(obj) {
  1194. //防止拖动图标即打开了桌面应用
  1195. U.MD.D.click(this, obj);
  1196. }, [_studentDesktopIconInfo3[i]])
  1197. }, _frag); //
  1198. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1199. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1200. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1201. }
  1202. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1203. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1204. _content = $$("div", {
  1205. className: "U_MD_D_KO",
  1206. "onmousedown": U.UF.C.closure(function(obj) {
  1207. //防止拖动图标即打开了桌面应用
  1208. U.MD.D.click(this, obj);
  1209. }, [_studentDesktopIconInfo2[i]]),
  1210. "onclick": U.UF.C.closure(function(obj) {
  1211. //防止拖动图标即打开了桌面应用
  1212. U.MD.D.click(this, obj);
  1213. }, [_studentDesktopIconInfo2[i]])
  1214. }, _frag); //
  1215. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1216. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1217. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1218. }
  1219. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1220. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1221. _content = $$("div", {
  1222. className: "U_MD_D_KO",
  1223. "onmousedown": U.UF.C.closure(function(obj) {
  1224. //防止拖动图标即打开了桌面应用
  1225. U.MD.D.click(this, obj);
  1226. }, [_wanketeacherDesktopIconInfo[i]]),
  1227. "onclick": U.UF.C.closure(function(obj) {
  1228. //防止拖动图标即打开了桌面应用
  1229. U.MD.D.click(this, obj);
  1230. }, [_wanketeacherDesktopIconInfo[i]])
  1231. }, _frag); //
  1232. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1233. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1234. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1235. }
  1236. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1237. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1238. _content = $$("div", {
  1239. className: "U_MD_D_KO",
  1240. "onmousedown": U.UF.C.closure(function(obj) {
  1241. //防止拖动图标即打开了桌面应用
  1242. U.MD.D.click(this, obj);
  1243. }, [_wankeAdminDesktopIconInfo[i]]),
  1244. "onclick": U.UF.C.closure(function(obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_wankeAdminDesktopIconInfo[i]])
  1248. }, _frag); //
  1249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1252. }
  1253. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1254. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1255. _content = $$("div", {
  1256. className: "U_MD_D_KO",
  1257. "onmousedown": U.UF.C.closure(function(obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_teacherDesktopIconInfo2[i]]),
  1261. "onclick": U.UF.C.closure(function(obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_teacherDesktopIconInfo2[i]])
  1265. }, _frag); //
  1266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1269. }
  1270. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1271. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1272. _content = $$("div", {
  1273. className: "U_MD_D_KO",
  1274. "onmousedown": U.UF.C.closure(function(obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_lotechTeacherDeskIconInfo[i]]),
  1278. "onclick": U.UF.C.closure(function(obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_lotechTeacherDeskIconInfo[i]])
  1282. }, _frag); //
  1283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1286. }
  1287. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1288. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1289. _content = $$("div", {
  1290. className: "U_MD_D_KO",
  1291. "onmousedown": U.UF.C.closure(function(obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_siesTeacherDeskIconInfo[i]]),
  1295. "onclick": U.UF.C.closure(function(obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_siesTeacherDeskIconInfo[i]])
  1299. }, _frag); //
  1300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1303. }
  1304. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1305. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function(obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_longhuaTeacherDeskIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function(obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_longhuaTeacherDeskIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1320. }
  1321. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1322. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function(obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1329. "onclick": U.UF.C.closure(function(obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_yunhaiTeacherDeskIconInfo[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1337. } //_hkStudentDeskIconInfo
  1338. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1339. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function(obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function(obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1356. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function(obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_hkTeacherDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function(obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_hkTeacherDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1373. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function(obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_gdjgAdminDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function(obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_gdjgAdminDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1390. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function(obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_gdjgTeacherDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function(obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_gdjgTeacherDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1407. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function(obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_szherTeacherDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function(obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_szherTeacherDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1424. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function(obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_heyuannAdminDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function(obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_heyuannAdminDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1441. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function(obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_heyuanTeacherDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function(obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_heyuanTeacherDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1456. } //
  1457. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1458. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function(obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_dseiAdminDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function(obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_dseiAdminDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1475. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function(obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_dseiTeacherDeskIconInfo[i]]),
  1482. "onclick": U.UF.C.closure(function(obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_dseiTeacherDeskIconInfo[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1490. } //
  1491. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1492. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function(obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_chjyjAdminDeskIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function(obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_chjyjAdminDeskIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1507. }//
  1508. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1509. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function(obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_chjyjTeacherDeskIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function(obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_chjyjTeacherDeskIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1526. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function(obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_szjkyAdminDeskIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function(obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_szjkyAdminDeskIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1541. }//
  1542. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1543. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function(obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_szjkyTeacherDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function(obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_szjkyTeacherDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1560. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function(obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_futianAdminDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function(obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_futianAdminDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1577. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function(obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_futianTeacherDeskIconInfo[i]]),
  1584. "onclick": U.UF.C.closure(function(obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_futianTeacherDeskIconInfo[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1592. }
  1593. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1594. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function(obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_MingdeTeacherDeskIcon[i]]),
  1601. "onclick": U.UF.C.closure(function(obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_MingdeTeacherDeskIcon[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1611. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function(obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_lhsAdminDesktopIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function(obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_lhsAdminDesktopIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1626. }
  1627. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1628. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function(obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_lhsteacherDesktopIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function(obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_lhsteacherDesktopIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1645. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function(obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function(obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_zhoujiateacherDesktopIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1662. for (i = 0; i < _hanDeskIcon.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function(obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_hanDeskIcon[i]]),
  1669. "onclick": U.UF.C.closure(function(obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_hanDeskIcon[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1679. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function(obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_orgStemDeskIcon[i]]),
  1686. "onclick": U.UF.C.closure(function(obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_orgStemDeskIcon[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1696. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function(obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_szulsDeskIcon[i]]),
  1703. "onclick": U.UF.C.closure(function(obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_szulsDeskIcon[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1713. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function(obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_orgDesktopIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function(obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_orgDesktopIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1730. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function(obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_schoolDesktopIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function(obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_schoolDesktopIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1747. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function(obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_GMteacherDesktopIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function(obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_GMteacherDesktopIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1764. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function(obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_SONGteacherDesktopIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function(obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_SONGteacherDesktopIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1781. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function(obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_GMstudentDesktopIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function(obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_GMstudentDesktopIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1796. }
  1797. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1798. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function(obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_tcTeacherDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function(obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_tcTeacherDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1815. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function(obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_tcOrganizerDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function(obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_tcOrganizerDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1832. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function(obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_szscTeacherDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function(obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_szscTeacherDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1847. }
  1848. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1849. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function(obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_szscOrganizerDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function(obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_szscOrganizerDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1864. }
  1865. } else {
  1866. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function(obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_teacherDesktopIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function(obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_teacherDesktopIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. }
  1883. } else {
  1884. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1885. _content = $$("div", {
  1886. className: "U_MD_D_KO",
  1887. style: { 'width': '124px', 'height': '145px' },
  1888. "onmousedown": U.UF.C.closure(function(obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_easyDesktopIconInfo[i]]),
  1892. "onclick": U.UF.C.closure(function(obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_easyDesktopIconInfo[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1900. }
  1901. }
  1902. if (type == 1) {
  1903. //加载好后给图标定位
  1904. U.MD.D.iconPostion($(_frag).Child());
  1905. } else {
  1906. //加载好后给图标定位
  1907. U.MD.D.iconPostion2($(_frag).Child());
  1908. }
  1909. //把图标加载到页面
  1910. el.appendChild(_frag);
  1911. }
  1912. /**
  1913. * 显示任务栏
  1914. *
  1915. * @param {element} 桌面元素
  1916. */
  1917. U.MD.D.I.displayTaskbar = function(el) {
  1918. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1919. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1920. //任务栏位置变化
  1921. U.selectEl(el).css({ "bottom": "0px" });
  1922. //桌面位置变话
  1923. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1924. }
  1925. }
  1926. //#region 桌面图标拖动逻辑
  1927. /**
  1928. * 桌面排列图标
  1929. *
  1930. * @param {element} 桌面元素
  1931. * @param {object} 上下相距的距离
  1932. * @param {object} 左右相距的距离
  1933. * @return {object} 命名空间
  1934. */
  1935. U.MD.D.iconPostion = function(childs, top, left) {
  1936. var i; //用于循环处理
  1937. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1938. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1939. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1940. for (i = 0; i < childs.length; i++) {
  1941. //如果竖排top超过了范围处理
  1942. if (top + 95 > US.height - 10) {
  1943. //left超过了页面范围处理,则向上重叠打印处理
  1944. if ((left + 180) > US.width) {
  1945. top -= 110;
  1946. left -= 90;
  1947. }
  1948. //没有超过范围,那么left+90添加到下一个竖排打印
  1949. else {
  1950. left += 90;
  1951. top = 15;
  1952. };
  1953. }
  1954. //给图标的位置赋值
  1955. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1956. if (i < childs.length - 1) {
  1957. //页面图标每次向下加95
  1958. top += 95;
  1959. }
  1960. }
  1961. //返回最后调用的图标的位置
  1962. return [top, left];
  1963. }
  1964. /**
  1965. * 桌面排列图标
  1966. *
  1967. * @param {element} 桌面元素
  1968. * @param {object} 上下相距的距离
  1969. * @param {object} 左右相距的距离
  1970. * @return {object} 命名空间
  1971. */
  1972. U.MD.D.iconPostion2 = function(childs, top, left) {
  1973. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1974. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1975. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1976. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1977. for (i = 0; i < childs.length; i++) {
  1978. //如果竖排top超过了范围处理
  1979. if (left + 150 > US.width - 10) {
  1980. //left超过了页面范围处理,则向上重叠打印处理
  1981. if ((top + 180) > US.Height) {
  1982. top -= 150;
  1983. left -= 150;
  1984. }
  1985. //没有超过范围,那么left+90添加到下一个竖排打印
  1986. else {
  1987. top += 150;
  1988. left = ol;
  1989. };
  1990. }
  1991. //给图标的位置赋值
  1992. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  1993. if (i < childs.length - 1) {
  1994. //页面图标每次向下加95
  1995. left += 150;
  1996. }
  1997. }
  1998. //返回最后调用的图标的位置
  1999. return [top, left];
  2000. }
  2001. /**
  2002. * 桌面点击事件逻辑
  2003. *
  2004. * @param {element} 桌面元素
  2005. * @param {object} 上下相距的距离
  2006. * @param {object} 左右相距的距离
  2007. * @return {object} 命名空间
  2008. */
  2009. U.MD.D.click = function(el, obj) {
  2010. var _buttonnumber = event.button; //点击的按钮的事件值
  2011. var _userinfo = US.userInfo;
  2012. U.UF.EV.stopBubble(); //阻止向上冒泡
  2013. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2014. if (_buttonnumber < 2) {
  2015. //如果是click事件的处理
  2016. if (event.type == "click") {
  2017. //如果元素在mousemove事件中没有移动则出发click事件
  2018. if (!U.MD.D.I.IsDrag) {
  2019. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2020. U.alert("请先登录您的账号!");
  2021. setTimeout(() => {
  2022. U.MD.U.L.login();
  2023. }, 2000);
  2024. } else {
  2025. //打开应用处理
  2026. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2027. }
  2028. }
  2029. }
  2030. //如果是mouse事件的处理
  2031. else {
  2032. if (US.Config.type == '1') {
  2033. //拖动处理,添加拖动和拖动结束事件
  2034. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2035. }
  2036. }
  2037. U.MD.D.I.IsDrag = false;
  2038. }
  2039. }
  2040. /**
  2041. * 拖动的处理
  2042. *
  2043. */
  2044. U.MD.D.iconMove = function() {
  2045. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2046. U.MD.D.I.IsDrag = true;
  2047. }
  2048. /**
  2049. * 拖动结束后,这里是定位处理,以网状的形式定位
  2050. *
  2051. * @param {element} 拖动的元素
  2052. * @return {object} 命名空间
  2053. */
  2054. U.MD.D.iconUp = function(el) {
  2055. var _top = 15,
  2056. _left = 20,
  2057. _margin,
  2058. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2059. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2060. if (_positioninfo["OT"] > 15) {
  2061. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2062. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2063. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2064. }
  2065. if (_positioninfo["OL"] > 20) {
  2066. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2067. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2068. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2069. }
  2070. //while循环判断么一个重叠的元素
  2071. do {
  2072. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2073. _top = _positioninfo[0] + 95; //得到定位后的top
  2074. _left = _positioninfo[1]; //得到定位后的left
  2075. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2076. }
  2077. /**
  2078. * 判断拖动后图标是否重叠
  2079. *
  2080. * @param {element} 拖动的元素
  2081. * @param {element} 桌面所有的元素
  2082. * @param {array} 拖动元素的位置
  2083. ----------[0] 上 top
  2084. ----------[1] 左 left
  2085. * @return {object} 命名空间
  2086. */
  2087. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2088. //循环所有的图标
  2089. for (var i = 0; i < childs.length; i++) {
  2090. //判断有没有和该图标诶子重叠的元素
  2091. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2092. return childs[i]; //如果有返回
  2093. }
  2094. }
  2095. }
  2096. //#endregion
  2097. //#endregion
  2098. //#region 桌面应用
  2099. /**
  2100. * 打开应用
  2101. *
  2102. * @param {string} 类型
  2103. -----------------Disk 网盘系统
  2104. -----------------PDisk 学习系统网盘
  2105. -----------------Poto 图片
  2106. -----------------Video 视频
  2107. -----------------Music 音乐
  2108. -----------------Word word
  2109. -----------------Excel excel
  2110. -----------------Txt 记事本
  2111. -----------------PB 学习系统
  2112. -----------------Blog 朋友圈系统
  2113. -----------------FTP ftp系统
  2114. -----------------Group 好友群
  2115. -----------------SY 首页系统
  2116. -----------------Set 个人设置
  2117. -----------------XSet 系统设置
  2118. -----------------App 我们所有的app
  2119. -----------------BC c.1473.cn 平台
  2120. -----------------CWeb d.1473.cn 变成平台
  2121. -----------------其他的外联系统 我们统一用iframe打开
  2122. * @param {array} 类型
  2123. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2124. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2125. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2126. 如果第一个参数为其他,则无第二个参数
  2127. * @returns {array}
  2128. */
  2129. window.addEventListener('message', function(e) { // 监听 message 事件
  2130. // alert(e.data.type);
  2131. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2132. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2133. //3是展示全部阶段 2学生 1老师 4专家
  2134. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2135. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2136. //3是展示全部阶段 2学生 1老师 4专家
  2137. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2138. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2139. //3是展示全部阶段 2学生 1老师 4专家
  2140. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2141. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2142. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2143. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2144. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2145. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2146. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2147. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2148. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2149. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2150. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2151. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2152. //3是展示全部阶段 2学生 1老师 4专家
  2153. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2154. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2155. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2156. U.MD.D.I.selectUser();
  2157. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2158. var _formel = document.getElementById("study");
  2159. U.UF.F.windowZooming(_formel);
  2160. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2161. var _formel = document.getElementById("studyDetail");
  2162. U.UF.F.windowZooming(_formel);
  2163. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2164. var _formel = document.getElementById("studyDetail");
  2165. U.UF.F.windowZooming(_formel);
  2166. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2167. var _formel = document.getElementById("studentStudy");
  2168. U.UF.F.windowZooming(_formel);
  2169. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2170. // var _formel = document.getElementById("study");
  2171. //如果最大化了,那么就把他缩小
  2172. // if (_formel.ismaximize) {
  2173. // return;
  2174. // }
  2175. // U.UF.F.windowZooming(_formel);
  2176. // U.UF.F.topWindow(_formel);
  2177. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2178. // var _formel = document.getElementById("studyDetail");
  2179. //如果最大化了,那么就把他缩小
  2180. // if (_formel.ismaximize) {
  2181. // return;
  2182. // }
  2183. // U.UF.F.windowZooming(_formel);
  2184. // U.UF.F.topWindow(_formel);
  2185. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2186. // var _formel = document.getElementById("studentStudy");
  2187. // if (_formel.ismaximize) {
  2188. // return;
  2189. // }
  2190. // U.UF.F.windowZooming(_formel);
  2191. // U.UF.F.topWindow(_formel);
  2192. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2193. var _formel = document.getElementById("study");
  2194. // if (_formel.ismaximize) {
  2195. // return;
  2196. // }
  2197. // U.UF.F.windowZooming(_formel);
  2198. U.UF.F.topWindow(_formel);
  2199. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2200. var _formel = document.getElementById("studentIndex");
  2201. U.UF.F.windowZooming(_formel);
  2202. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2203. var _formel = document.getElementById("studyDetailS");
  2204. U.UF.F.windowZooming(_formel);
  2205. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2206. var _formel = document.getElementById("studioIndex");
  2207. U.UF.F.windowZooming(_formel);
  2208. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2209. var _formel = document.getElementById("studyDetailStudio");
  2210. U.UF.F.windowZooming(_formel);
  2211. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2212. var _formel = document.getElementById("studyDetailStudio");
  2213. U.UF.F.windowZooming(_formel);
  2214. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2215. var _formel = document.getElementById("studyDetailNT");
  2216. U.UF.F.windowZooming(_formel);
  2217. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2218. var _formel = document.getElementById("studyDetailS");
  2219. U.UF.F.windowZooming(_formel);
  2220. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2221. var _formel = document.getElementById("studyDetailS");
  2222. U.UF.F.topWindow(_formel);
  2223. } else if (e.data.tools && e.data.tools == "1") {
  2224. // U.MD.D.I.openApplication("whiteboard")
  2225. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2226. } else if (e.data.tools && e.data.tools == "2") {
  2227. U.MD.D.I.openApplication("note")
  2228. } else if (e.data.tools && e.data.tools == "3") {
  2229. // U.MD.D.I.openApplication("mind")
  2230. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2231. } else if (e.data.tools && e.data.tools == "4") {
  2232. U.MD.D.I.openApplication("investigation")
  2233. } else if (e.data.tools && e.data.tools == "6") {
  2234. // U.MD.D.I.openApplication("doc")
  2235. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2236. } else if (e.data.tools && e.data.tools == "7") {
  2237. // U.MD.D.I.openApplication("mindNetwork")
  2238. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2239. } else if (e.data.tools && e.data.tools == "8") {
  2240. U.MD.D.I.openApplication("library")
  2241. } else if (e.data.tools && e.data.tools == "17") {
  2242. U.MD.D.I.openApplication("stuLibrary")
  2243. } else if (e.data.tools && e.data.tools == "18") {
  2244. U.MD.D.I.openApplication("train")
  2245. } else if (e.data.tools && e.data.tools == "21") {
  2246. U.MD.D.I.openApplication("program")
  2247. } else if (e.data.tools && e.data.tools == "22") {
  2248. U.MD.D.I.openApplication("AIprogram2")
  2249. } else if (e.data.tools && e.data.tools == "23") {
  2250. U.MD.D.I.openApplication("Pythonprogram")
  2251. } else if (e.data.tools && e.data.tools == "24") {
  2252. U.MD.D.I.openApplication("AIprogram")
  2253. } else if (e.data.tools && e.data.tools == "25") {
  2254. U.MD.D.I.openApplication("sys")
  2255. } else if (e.data.tools && e.data.tools == "26") {
  2256. // U.MD.D.I.openApplication("courseDesign")
  2257. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2258. } else if (e.data.tools && e.data.tools == "31") {
  2259. U.MD.D.I.openApplication("netWorkPanel")
  2260. } else if (e.data.tools && e.data.tools == "32") {
  2261. U.MD.D.I.openApplication("codeEdit")
  2262. } else if (e.data.tools && e.data.tools == "57") {
  2263. U.MD.D.I.openApplication("CocoPi")
  2264. } else if (e.data.tools && e.data.tools == "63") {
  2265. U.MD.D.I.openApplication("Wood")
  2266. } else if (e.data.tools && e.data.tools == "58") {
  2267. U.MD.D.I.openApplication("car")
  2268. } else if (e.data.tools && e.data.tools == "59") {
  2269. U.MD.D.I.openApplication("lineSearch")
  2270. } else if (e.data.tools && e.data.tools == "60") {
  2271. U.MD.D.I.openApplication("deepLearning")
  2272. } else if (e.data.tools && e.data.tools == "61") {
  2273. U.MD.D.I.openApplication("allHistory")
  2274. } else if (e.data.tools && e.data.tools == "28") {
  2275. U.MD.D.I.openApplication("translation")
  2276. } else if (e.data.tools && e.data.tools == "37") {
  2277. U.MD.D.I.openApplication("mohe")
  2278. } else if (e.data.tools && e.data.tools == "38") {
  2279. U.MD.D.I.openApplication("24game")
  2280. } else if (e.data.tools && e.data.tools == "39") {
  2281. U.MD.D.I.openApplication("GeoGebra")
  2282. } else if (e.data.tools && e.data.tools == "43") {
  2283. U.MD.D.I.openApplication("studentEvaluate")
  2284. } else if (e.data.tools && e.data.tools == "44") {
  2285. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2286. } else if (e.data.tools && e.data.tools == "46") {
  2287. U.MD.D.I.openApplication("project")
  2288. } else if (e.data.tools && e.data.tools == "1s") {
  2289. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2290. } else if (e.data.tools && e.data.tools == "3s") {
  2291. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2292. } else if (e.data.tools && e.data.tools == "6s") {
  2293. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2294. } else if (e.data.tools && e.data.tools == "1studio") {
  2295. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2296. } else if (e.data.tools && e.data.tools == "3studio") {
  2297. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2298. } else if (e.data.tools && e.data.tools == "6studio") {
  2299. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2300. } else if (e.data.tools && e.data.tools == "3y") {
  2301. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2302. } else if (e.data.tools && e.data.tools == "1y") {
  2303. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2304. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2305. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2306. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2307. U.MD.D.I.openApplication("AIAnalyse")
  2308. } else if (e.data.tools && e.data.tools == "1teacher") {
  2309. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2310. } else if (e.data.tools && e.data.tools == "3teacher") {
  2311. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2312. } else if (e.data.tools && e.data.tools == "7teacher") {
  2313. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2314. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2315. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2316. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2317. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2318. } else if (e.data.tools && e.data.tools == "1E") {
  2319. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2320. } else if (e.data.tools && e.data.tools == "3E") {
  2321. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2322. } else if (e.data.tools && e.data.tools == "57y") {
  2323. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2324. } else if (e.data.tools && e.data.tools == "57u") {
  2325. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2326. } else if (e.data.tools && e.data.tools == "57teacher") {
  2327. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2328. } else if (e.data.tools && e.data.tools == "64") {
  2329. U.MD.D.I.openApplication("AIChat")
  2330. } else if (e.data.tools && e.data.tools == "66") {
  2331. U.MD.D.I.openApplication("formulaEdi")
  2332. } else if (e.data.tools && e.data.tools == "67") {
  2333. U.MD.D.I.openApplication("molStr")
  2334. } else if (e.data.tools && e.data.tools == "68") {
  2335. U.MD.D.I.openApplication("timeAxis")
  2336. }
  2337. });
  2338. U.MD.D.I.selectUser = function() {
  2339. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2340. if (res.value[0].length > 0) {
  2341. US.userInfo = res.value[0][0];
  2342. $(".userName")[0].innerHTML = US.userInfo.username;
  2343. }
  2344. }, [], { "type": "GET", "withCredentials": true });
  2345. }
  2346. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2347. var _userinfo = US.userInfo, //登录用户信息
  2348. _userid = US.userInfo.userid, //登录用户id
  2349. _oid = _userinfo.organizeid,
  2350. _type = US.userInfo.type,
  2351. _org = US.userInfo.org,
  2352. _role = US.userInfo.role,
  2353. _classId = US.userInfo.classid;
  2354. if (_type == 4) {
  2355. tType = 4
  2356. }
  2357. switch (str) {
  2358. case "studyDetailNT": //无终端模式
  2359. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2360. setTimeout(() => {
  2361. U.MD.U.L.login();
  2362. }, 2000);
  2363. } else {
  2364. _formdiv = new U.UF.UI.form(
  2365. "课程详情",
  2366. $$("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 }), {
  2367. "id": "studyDetailNT",
  2368. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2369. "onresize": function() {}
  2370. }, {
  2371. closecallback: function() {}
  2372. }, { "style": { "height": "36px" } }).form; //创建窗体
  2373. _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); } }
  2374. break;
  2375. }
  2376. case "studyDetail":
  2377. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2378. setTimeout(() => {
  2379. U.MD.U.L.login();
  2380. }, 2000);
  2381. } else {
  2382. _formdiv = new U.UF.UI.form(
  2383. "课程详情",
  2384. $$("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 }), {
  2385. "id": "studyDetail",
  2386. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2387. "onresize": function() {}
  2388. }, {
  2389. closecallback: function() {}
  2390. }, { "style": { "height": "36px" } }).form; //创建窗体
  2391. _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); } }
  2392. break;
  2393. }
  2394. case "studyDetailS":
  2395. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2396. setTimeout(() => {
  2397. U.MD.U.L.login();
  2398. }, 2000);
  2399. } else {
  2400. _formdiv = new U.UF.UI.form(
  2401. "项目详情",
  2402. $$("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 }), {
  2403. "id": "studyDetailS",
  2404. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2405. "onresize": function() {}
  2406. }, {
  2407. closecallback: function() {}
  2408. }, { "style": { "height": "36px" } }).form; //创建窗体
  2409. _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); } }
  2410. break;
  2411. }
  2412. case "studyDetailStudio":
  2413. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2414. setTimeout(() => {
  2415. U.MD.U.L.login();
  2416. }, 2000);
  2417. } else {
  2418. _formdiv = new U.UF.UI.form(
  2419. "工作详情",
  2420. $$("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 }), {
  2421. "id": "studyDetailStudio",
  2422. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2423. "onresize": function() {}
  2424. }, {
  2425. closecallback: function() {}
  2426. }, { "style": { "height": "36px" } }).form; //创建窗体
  2427. _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); } }
  2428. break;
  2429. }
  2430. case "studyDetailS5":
  2431. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2432. setTimeout(() => {
  2433. U.MD.U.L.login();
  2434. }, 2000);
  2435. } else {
  2436. _formdiv = new U.UF.UI.form(
  2437. "项目详情",
  2438. $$("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 }), {
  2439. "id": "studyDetailS",
  2440. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2441. "onresize": function() {}
  2442. }, {
  2443. closecallback: function() {}
  2444. }, { "style": { "height": "36px" } }).form; //创建窗体
  2445. _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); } }
  2446. break;
  2447. }
  2448. case "studyDetailGM":
  2449. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2450. setTimeout(() => {
  2451. U.MD.U.L.login();
  2452. }, 2000);
  2453. } else {
  2454. _formdiv = new U.UF.UI.form(
  2455. "课程详情",
  2456. $$("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 }), {
  2457. "id": "studyDetail",
  2458. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2459. "onresize": function() {}
  2460. }, {
  2461. closecallback: function() {}
  2462. }, { "style": { "height": "36px" } }).form; //创建窗体
  2463. _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); } }
  2464. break;
  2465. }
  2466. case "hanUrl":
  2467. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2468. setTimeout(() => {
  2469. U.MD.U.L.login();
  2470. }, 2000);
  2471. } else {
  2472. _formdiv = new U.UF.UI.form(
  2473. "汉字宫",
  2474. $$("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" }), {
  2475. "id": "hanUrl",
  2476. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2477. "onresize": function() {}
  2478. }, {
  2479. closecallback: function() {}
  2480. }, { "style": { "height": "36px" } }).form; //创建窗体
  2481. _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); } }
  2482. break;
  2483. }
  2484. }
  2485. }
  2486. U.MD.D.I.openApplication = function(str, obj, info) {
  2487. obj = obj || {};
  2488. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2489. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2490. _userinfo = US.userInfo, //登录用户信息
  2491. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2492. _oid = obj.organizeid || _userinfo.organizeid,
  2493. _type = US.userInfo.type,
  2494. _org = US.userInfo.org,
  2495. _role = US.userInfo.role,
  2496. _classId = US.userInfo.classid,
  2497. _TscreenType = 1
  2498. _screenType = 2,
  2499. _SscreenType = 3;
  2500. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2501. return;
  2502. }
  2503. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2504. switch (str) {
  2505. case "studnetProject": //好友打开
  2506. _formdiv = new U.UF.UI.form(
  2507. "我的项目",
  2508. $$("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 }), {
  2509. "id": "studnetProject",
  2510. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2511. "onresize": function() {}
  2512. }, {
  2513. closecallback: function() {}
  2514. }, { "style": { "height": "36px" } }).form; //创建窗体
  2515. _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); } }
  2516. break;
  2517. case "studentEvaluate": //好友打开
  2518. _formdiv = new U.UF.UI.form(
  2519. "我的评价",
  2520. $$("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 }), {
  2521. "id": "studentEvaluate",
  2522. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2523. "onresize": function() {}
  2524. }, {
  2525. closecallback: function() {}
  2526. }, { "style": { "height": "36px" } }).form; //创建窗体
  2527. _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); } }
  2528. break;
  2529. case "my":
  2530. _formdiv = new U.UF.UI.form(
  2531. "我的资料",
  2532. $$("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 }), {
  2533. "id": "my",
  2534. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2540. break;
  2541. case "program":
  2542. _formdiv = new U.UF.UI.form(
  2543. "编程平台",
  2544. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2545. "id": "program",
  2546. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2547. "onresize": function() {}
  2548. }, {
  2549. closecallback: function() {}
  2550. }, { "style": { "height": "36px" } }).form; //创建窗体
  2551. _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); } }
  2552. break;
  2553. case "library":
  2554. _formdiv = new U.UF.UI.form(
  2555. "素材库",
  2556. $$("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 }), {
  2557. "id": "library",
  2558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2559. "onresize": function() {}
  2560. }, {
  2561. closecallback: function() {}
  2562. }, { "style": { "height": "36px" } }).form; //创建窗体
  2563. _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); } }
  2564. break;
  2565. case "whiteboard":
  2566. _formdiv = new U.UF.UI.form(
  2567. "电子白板",
  2568. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2569. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2576. break;
  2577. case "investigation":
  2578. _formdiv = new U.UF.UI.form(
  2579. "问卷调查",
  2580. $$("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 }), {
  2581. "id": "investigation",
  2582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2583. "onresize": function() {}
  2584. }, {
  2585. closecallback: function() {}
  2586. }, { "style": { "height": "36px" } }).form; //创建窗体
  2587. _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); } }
  2588. break;
  2589. case "note":
  2590. _formdiv = new U.UF.UI.form(
  2591. "便签分类",
  2592. $$("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 }), {
  2593. "id": "note",
  2594. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2595. "onresize": function() {}
  2596. }, {
  2597. closecallback: function() {}
  2598. }, { "style": { "height": "36px" } }).form; //创建窗体
  2599. _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); } }
  2600. break;
  2601. // case "score":
  2602. // _formdiv = new U.UF.UI.form(
  2603. // "量规评分",
  2604. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2605. // "id": "score",
  2606. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2607. // "onresize": function() {}
  2608. // }, {
  2609. // closecallback: function() {}
  2610. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2611. // _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); } }
  2612. // break;
  2613. case "mind":
  2614. _formdiv = new U.UF.UI.form(
  2615. "思维导图",
  2616. $$("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"
  2617. "id": "mind",
  2618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2619. "onresize": function() {}
  2620. }, {
  2621. closecallback: function() {}
  2622. }, { "style": { "height": "36px" } }).form; //创建窗体
  2623. _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); } }
  2624. break;
  2625. case "doc":
  2626. // U.MD.D.I.isRoom();
  2627. _formdiv = new U.UF.UI.form(
  2628. "协同文档",
  2629. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2630. "id": "doc",
  2631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2632. "onresize": function() {}
  2633. }, {
  2634. closecallback: function() {}
  2635. }, { "style": { "height": "36px" } }).form; //创建窗体
  2636. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2637. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2638. // })
  2639. _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); } }
  2640. break;
  2641. case "studentStudy":
  2642. _formdiv = new U.UF.UI.form(
  2643. "课程中心",
  2644. $$("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
  2645. "id": "studentStudy",
  2646. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2652. break;
  2653. case "train": //好友打开
  2654. _formdiv = new U.UF.UI.form(
  2655. "训练平台",
  2656. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2657. "id": "train",
  2658. "style": { "width": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2664. break;
  2665. case "mindNetwork": //好友打开
  2666. _formdiv = new U.UF.UI.form(
  2667. "思维网格",
  2668. $$("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 }), {
  2669. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2676. break;
  2677. case "studentClassRoom": //好友打开
  2678. _formdiv = new U.UF.UI.form(
  2679. "实时课堂",
  2680. $$("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 }), {
  2681. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2688. setTimeout(() => {
  2689. U.UF.F.windowZooming(_formdiv)
  2690. }, 0);
  2691. break;
  2692. }
  2693. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2694. switch (str) {
  2695. case "studnetProject": //好友打开
  2696. _formdiv = new U.UF.UI.form(
  2697. "我的项目",
  2698. $$("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 }), {
  2699. "id": "studnetProject",
  2700. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2701. "onresize": function() {}
  2702. }, {
  2703. closecallback: function() {}
  2704. }, { "style": { "height": "36px" } }).form; //创建窗体
  2705. _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); } }
  2706. break;
  2707. case "studentEvaluate": //好友打开
  2708. _formdiv = new U.UF.UI.form(
  2709. "我的评价",
  2710. $$("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 }), {
  2711. "id": "studentEvaluate",
  2712. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2713. "onresize": function() {}
  2714. }, {
  2715. closecallback: function() {}
  2716. }, { "style": { "height": "36px" } }).form; //创建窗体
  2717. _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); } }
  2718. break;
  2719. case "my":
  2720. _formdiv = new U.UF.UI.form(
  2721. "我的资料",
  2722. $$("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 }), {
  2723. "id": "my",
  2724. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2725. "onresize": function() {}
  2726. }, {
  2727. closecallback: function() {}
  2728. }, { "style": { "height": "36px" } }).form; //创建窗体
  2729. _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); } }
  2730. break;
  2731. case "program":
  2732. _formdiv = new U.UF.UI.form(
  2733. "编程平台",
  2734. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2735. "id": "program",
  2736. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2737. "onresize": function() {}
  2738. }, {
  2739. closecallback: function() {}
  2740. }, { "style": { "height": "36px" } }).form; //创建窗体
  2741. _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); } }
  2742. break;
  2743. case "library":
  2744. _formdiv = new U.UF.UI.form(
  2745. "素材库",
  2746. $$("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 }), {
  2747. "id": "library",
  2748. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2749. "onresize": function() {}
  2750. }, {
  2751. closecallback: function() {}
  2752. }, { "style": { "height": "36px" } }).form; //创建窗体
  2753. _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); } }
  2754. break;
  2755. case "whiteboard":
  2756. _formdiv = new U.UF.UI.form(
  2757. "电子白板",
  2758. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2759. "id": "whiteboard",
  2760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2761. "onresize": function() {}
  2762. }, {
  2763. closecallback: function() {}
  2764. }, { "style": { "height": "36px" } }).form; //创建窗体
  2765. _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); } }
  2766. break;
  2767. case "investigation":
  2768. _formdiv = new U.UF.UI.form(
  2769. "问卷调查",
  2770. $$("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 }), {
  2771. "id": "investigation",
  2772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2773. "onresize": function() {}
  2774. }, {
  2775. closecallback: function() {}
  2776. }, { "style": { "height": "36px" } }).form; //创建窗体
  2777. _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); } }
  2778. break;
  2779. case "note":
  2780. _formdiv = new U.UF.UI.form(
  2781. "便签分类",
  2782. $$("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 }), {
  2783. "id": "note",
  2784. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2785. "onresize": function() {}
  2786. }, {
  2787. closecallback: function() {}
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _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); } }
  2790. break;
  2791. // case "score":
  2792. // _formdiv = new U.UF.UI.form(
  2793. // "量规评分",
  2794. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2795. // "id": "score",
  2796. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2797. // "onresize": function() {}
  2798. // }, {
  2799. // closecallback: function() {}
  2800. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. // _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); } }
  2802. // break;
  2803. case "mind":
  2804. _formdiv = new U.UF.UI.form(
  2805. "思维导图",
  2806. $$("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"
  2807. "id": "mind",
  2808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2809. "onresize": function() {}
  2810. }, {
  2811. closecallback: function() {}
  2812. }, { "style": { "height": "36px" } }).form; //创建窗体
  2813. _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); } }
  2814. break;
  2815. case "doc":
  2816. // U.MD.D.I.isRoom();
  2817. _formdiv = new U.UF.UI.form(
  2818. "协同文档",
  2819. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2820. "id": "doc",
  2821. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2822. "onresize": function() {}
  2823. }, {
  2824. closecallback: function() {}
  2825. }, { "style": { "height": "36px" } }).form; //创建窗体
  2826. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2827. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2828. })
  2829. _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); } }
  2830. break;
  2831. case "train": //好友打开
  2832. _formdiv = new U.UF.UI.form(
  2833. "训练平台",
  2834. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2835. "id": "train",
  2836. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2837. "onresize": function() {}
  2838. }, {
  2839. closecallback: function() {}
  2840. }, { "style": { "height": "36px" } }).form; //创建窗体
  2841. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2842. break;
  2843. case "studentStudy":
  2844. _formdiv = new U.UF.UI.form(
  2845. "课程中心",
  2846. $$("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
  2847. "id": "studentStudy",
  2848. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2854. break;
  2855. case "mindNetwork": //好友打开
  2856. _formdiv = new U.UF.UI.form(
  2857. "思维网格",
  2858. $$("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 }), {
  2859. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2866. break;
  2867. case "studentClassRoom": //好友打开
  2868. _formdiv = new U.UF.UI.form(
  2869. "实时课堂",
  2870. $$("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 }), {
  2871. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2878. setTimeout(() => {
  2879. U.UF.F.windowZooming(_formdiv)
  2880. }, 0);
  2881. break;
  2882. }
  2883. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2884. //选择应用处理
  2885. switch (str) {
  2886. case "project": //好友打开
  2887. _formdiv = new U.UF.UI.form(
  2888. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2889. $$("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 }), {
  2890. "id": "project",
  2891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2892. "onresize": function() {}
  2893. }, {
  2894. closecallback: function() {}
  2895. }, { "style": { "height": "36px" } }).form; //创建窗体
  2896. _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); } }
  2897. break;
  2898. case "student":
  2899. _formdiv = new U.UF.UI.form(
  2900. "学生管理",
  2901. $$("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 }), {
  2902. "id": "student",
  2903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2904. "onresize": function() {}
  2905. }, {
  2906. closecallback: function() {}
  2907. }, { "style": { "height": "36px" } }).form; //创建窗体
  2908. _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); } }
  2909. break;
  2910. case "evaluate":
  2911. _formdiv = new U.UF.UI.form(
  2912. "学生评价",
  2913. $$("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 }), {
  2914. "id": "evaluate",
  2915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2916. "onresize": function() {}
  2917. }, {
  2918. closecallback: function() {}
  2919. }, { "style": { "height": "36px" } }).form; //创建窗体
  2920. _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); } }
  2921. break;
  2922. case "sys":
  2923. _formdiv = new U.UF.UI.form(
  2924. "目标管理",
  2925. $$("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 }), {
  2926. "id": "sys",
  2927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2928. "onresize": function() {}
  2929. }, {
  2930. closecallback: function() {}
  2931. }, { "style": { "height": "36px" } }).form; //创建窗体
  2932. _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); } }
  2933. break;
  2934. case "courseDesign":
  2935. _formdiv = new U.UF.UI.form(
  2936. "项目设计",
  2937. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2938. "id": "courseDesign",
  2939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2940. "onresize": function() {}
  2941. }, {
  2942. closecallback: function() {}
  2943. }, { "style": { "height": "36px" } }).form; //创建窗体
  2944. _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); } }
  2945. break;
  2946. case "program":
  2947. _formdiv = new U.UF.UI.form(
  2948. "编程平台",
  2949. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2950. "id": "program",
  2951. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2952. "onresize": function() {}
  2953. }, {
  2954. closecallback: function() {}
  2955. }, { "style": { "height": "36px" } }).form; //创建窗体
  2956. _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); } }
  2957. break;
  2958. case "class":
  2959. _formdiv = new U.UF.UI.form(
  2960. "班级管理",
  2961. $$("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 }), {
  2962. "id": "class",
  2963. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2964. "onresize": function() {}
  2965. }, {
  2966. closecallback: function() {}
  2967. }, { "style": { "height": "36px" } }).form; //创建窗体
  2968. _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); } }
  2969. break;
  2970. case "Grade":
  2971. _formdiv = new U.UF.UI.form(
  2972. "年级管理",
  2973. $$("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 }), {
  2974. "id": "Grade",
  2975. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2976. "onresize": function() {}
  2977. }, {
  2978. closecallback: function() {}
  2979. }, { "style": { "height": "36px" } }).form; //创建窗体
  2980. _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); } }
  2981. break;
  2982. case "teacherOffice":
  2983. _formdiv = new U.UF.UI.form(
  2984. "教研室",
  2985. $$("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 }), {
  2986. "id": "teacherOffice",
  2987. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2988. "onresize": function() {}
  2989. }, {
  2990. closecallback: function() {}
  2991. }, { "style": { "height": "36px" } }).form; //创建窗体
  2992. _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); } }
  2993. break;
  2994. case "my":
  2995. _formdiv = new U.UF.UI.form(
  2996. "我的资料",
  2997. $$("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 }), {
  2998. "id": "my",
  2999. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3000. "onresize": function() {}
  3001. }, {
  3002. closecallback: function() {}
  3003. }, { "style": { "height": "36px" } }).form; //创建窗体
  3004. _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); } }
  3005. break;
  3006. case "notice":
  3007. _formdiv = new U.UF.UI.form(
  3008. "通知公告",
  3009. $$("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 }), {
  3010. "id": "notice",
  3011. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3012. "onresize": function() {}
  3013. }, {
  3014. closecallback: function() {}
  3015. }, { "style": { "height": "36px" } }).form; //创建窗体
  3016. _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); } }
  3017. break;
  3018. case "library":
  3019. _formdiv = new U.UF.UI.form(
  3020. "素材库",
  3021. $$("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 }), {
  3022. "id": "library",
  3023. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3024. "onresize": function() {}
  3025. }, {
  3026. closecallback: function() {}
  3027. }, { "style": { "height": "36px" } }).form; //创建窗体
  3028. _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); } }
  3029. break;
  3030. case "whiteboard":
  3031. _formdiv = new U.UF.UI.form(
  3032. "电子白板",
  3033. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3034. "id": "whiteboard",
  3035. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3036. "onresize": function() {}
  3037. }, {
  3038. closecallback: function() {}
  3039. }, { "style": { "height": "36px" } }).form; //创建窗体
  3040. _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); } }
  3041. break;
  3042. case "investigation":
  3043. _formdiv = new U.UF.UI.form(
  3044. "问卷调查",
  3045. $$("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 }), {
  3046. "id": "investigation",
  3047. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3048. "onresize": function() {}
  3049. }, {
  3050. closecallback: function() {}
  3051. }, { "style": { "height": "36px" } }).form; //创建窗体
  3052. _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); } }
  3053. break;
  3054. case "note":
  3055. _formdiv = new U.UF.UI.form(
  3056. "便签分类",
  3057. $$("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 }), {
  3058. "id": "note",
  3059. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3060. "onresize": function() {}
  3061. }, {
  3062. closecallback: function() {}
  3063. }, { "style": { "height": "36px" } }).form; //创建窗体
  3064. _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); } }
  3065. break;
  3066. // case "score":
  3067. // _formdiv = new U.UF.UI.form(
  3068. // "量规评分",
  3069. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3070. // "id": "score",
  3071. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3072. // "onresize": function() {}
  3073. // }, {
  3074. // closecallback: function() {}
  3075. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3076. // _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); } }
  3077. // break;
  3078. case "mind":
  3079. _formdiv = new U.UF.UI.form(
  3080. "思维导图",
  3081. $$("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"
  3082. "id": "mind",
  3083. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3084. "onresize": function() {}
  3085. }, {
  3086. closecallback: function() {}
  3087. }, { "style": { "height": "36px" } }).form; //创建窗体
  3088. _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); } }
  3089. break;
  3090. case "doc":
  3091. // U.MD.D.I.isRoom();
  3092. _formdiv = new U.UF.UI.form(
  3093. "协同文档",
  3094. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3095. "id": "doc",
  3096. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3097. "onresize": function() {}
  3098. }, {
  3099. closecallback: function() {}
  3100. }, { "style": { "height": "36px" } }).form; //创建窗体
  3101. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3102. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3103. })
  3104. _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); } }
  3105. break;
  3106. case "study":
  3107. _formdiv = new U.UF.UI.form(
  3108. "课程中心",
  3109. $$("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
  3110. "id": "study",
  3111. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3117. break;
  3118. case "mindNetwork": //好友打开
  3119. _formdiv = new U.UF.UI.form(
  3120. "思维网格",
  3121. $$("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 }), {
  3122. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3129. break;
  3130. case "train": //好友打开
  3131. _formdiv = new U.UF.UI.form(
  3132. "训练平台",
  3133. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3134. "id": "mindNetwork",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3141. break;
  3142. case "teacherClassRoom": //好友打开
  3143. _formdiv = new U.UF.UI.form(
  3144. "实时课堂",
  3145. $$("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 }), {
  3146. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3153. setTimeout(() => {
  3154. U.UF.F.windowZooming(_formdiv)
  3155. }, 0);
  3156. break;
  3157. }
  3158. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3159. switch (str) {
  3160. case "project": //好友打开
  3161. _formdiv = new U.UF.UI.form(
  3162. "课程管理",
  3163. $$("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 }), {
  3164. "id": "project",
  3165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3166. "onresize": function() {}
  3167. }, {
  3168. closecallback: function() {}
  3169. }, { "style": { "height": "36px" } }).form; //创建窗体
  3170. _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); } }
  3171. break;
  3172. case "evaluate":
  3173. _formdiv = new U.UF.UI.form(
  3174. "学生评价",
  3175. $$("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 }), {
  3176. "id": "evaluate",
  3177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function() {}
  3179. }, {
  3180. closecallback: function() {}
  3181. }, { "style": { "height": "36px" } }).form; //创建窗体
  3182. _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); } }
  3183. break;
  3184. case "notice":
  3185. _formdiv = new U.UF.UI.form(
  3186. "通知公告",
  3187. $$("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 }), {
  3188. "id": "notice",
  3189. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function() {}
  3191. }, {
  3192. closecallback: function() {}
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. _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); } }
  3195. break;
  3196. case "stuLibrary":
  3197. _formdiv = new U.UF.UI.form(
  3198. "学习资料",
  3199. $$("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 }), {
  3200. "id": "stuLibrary",
  3201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3202. "onresize": function() {}
  3203. }, {
  3204. closecallback: function() {}
  3205. }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. _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); } }
  3207. break;
  3208. case "program":
  3209. _formdiv = new U.UF.UI.form(
  3210. "编程平台",
  3211. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3212. "id": "program",
  3213. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function() {}
  3215. }, {
  3216. closecallback: function() {}
  3217. }, { "style": { "height": "36px" } }).form; //创建窗体
  3218. _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); } }
  3219. break;
  3220. case "whiteboard":
  3221. _formdiv = new U.UF.UI.form(
  3222. "电子白板",
  3223. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3224. "id": "whiteboard",
  3225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. "onresize": function() {}
  3227. }, {
  3228. closecallback: function() {}
  3229. }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. _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); } }
  3231. break;
  3232. case "investigation":
  3233. _formdiv = new U.UF.UI.form(
  3234. "问卷调查",
  3235. $$("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 }), {
  3236. "id": "investigation",
  3237. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3238. "onresize": function() {}
  3239. }, {
  3240. closecallback: function() {}
  3241. }, { "style": { "height": "36px" } }).form; //创建窗体
  3242. _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); } }
  3243. break;
  3244. case "mind":
  3245. _formdiv = new U.UF.UI.form(
  3246. "思维导图",
  3247. $$("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"
  3248. "id": "mind",
  3249. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3250. "onresize": function() {}
  3251. }, {
  3252. closecallback: function() {}
  3253. }, { "style": { "height": "36px" } }).form; //创建窗体
  3254. _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); } }
  3255. break;
  3256. case "doc":
  3257. // U.MD.D.I.isRoom();
  3258. _formdiv = new U.UF.UI.form(
  3259. "协同文档",
  3260. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3261. "id": "doc",
  3262. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3263. "onresize": function() {}
  3264. }, {
  3265. closecallback: function() {}
  3266. }, { "style": { "height": "36px" } }).form; //创建窗体
  3267. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3268. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3269. })
  3270. _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); } }
  3271. break;
  3272. case "study":
  3273. _formdiv = new U.UF.UI.form(
  3274. "课程中心",
  3275. $$("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
  3276. "id": "study",
  3277. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3283. break;
  3284. case "mindNetwork": //好友打开
  3285. _formdiv = new U.UF.UI.form(
  3286. "思维网格",
  3287. $$("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 }), {
  3288. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3295. break;
  3296. case "train": //好友打开
  3297. _formdiv = new U.UF.UI.form(
  3298. "训练平台",
  3299. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3300. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3307. break;
  3308. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3312. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3319. break;
  3320. case "courseDesign":
  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": "/course-design-vue" }), {
  3324. "id": "courseDesign",
  3325. "style": { "width": "90%", "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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3331. break;
  3332. }
  3333. } else if (!_type) {
  3334. switch (str) {
  3335. case "my":
  3336. _formdiv = new U.UF.UI.form(
  3337. "我的资料",
  3338. $$("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 }), {
  3339. "id": "my",
  3340. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function() {}
  3342. }, {
  3343. closecallback: function() {}
  3344. }, { "style": { "height": "36px" } }).form; //创建窗体
  3345. _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); } }
  3346. break;
  3347. }
  3348. }
  3349. switch (str) {
  3350. // AIprogram2 AI体验 aihub.cocorobo.cn
  3351. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3352. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3353. case "formulaEdi": //公式编辑
  3354. _formdiv = new U.UF.UI.form(
  3355. "公式编辑",
  3356. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3357. "id": "formulaEdi",
  3358. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3359. "onresize": function() {}
  3360. }, {
  3361. closecallback: function() {}
  3362. }, { "style": { "height": "36px" } }).form; //创建窗体
  3363. _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); } }
  3364. break;
  3365. case "molStr": //分子结构
  3366. _formdiv = new U.UF.UI.form(
  3367. "分子结构",
  3368. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3369. "id": "molStr",
  3370. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3371. "onresize": function() {}
  3372. }, {
  3373. closecallback: function() {}
  3374. }, { "style": { "height": "36px" } }).form; //创建窗体
  3375. _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); } }
  3376. break;
  3377. case "timeAxis": //时间轴
  3378. _formdiv = new U.UF.UI.form(
  3379. "时间轴",
  3380. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3381. "id": "timeAxis",
  3382. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function() {}
  3384. }, {
  3385. closecallback: function() {}
  3386. }, { "style": { "height": "36px" } }).form; //创建窗体
  3387. _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); } }
  3388. break;
  3389. case "AIprogram2": //AI体验
  3390. _formdiv = new U.UF.UI.form(
  3391. "AI体验",
  3392. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3393. "id": "AIprogram2",
  3394. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3395. "onresize": function() {}
  3396. }, {
  3397. closecallback: function() {}
  3398. }, { "style": { "height": "36px" } }).form; //创建窗体
  3399. _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); } }
  3400. break;
  3401. case "Pythonprogram": //python编程
  3402. _formdiv = new U.UF.UI.form(
  3403. "Python编程",
  3404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3405. "id": "Pythonprogram",
  3406. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function() {}
  3408. }, {
  3409. closecallback: function() {}
  3410. }, { "style": { "height": "36px" } }).form; //创建窗体
  3411. _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); } }
  3412. break;
  3413. case "AIprogram": //ai编程
  3414. _formdiv = new U.UF.UI.form(
  3415. "AI编程平台",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3417. "id": "AIprogram",
  3418. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function() {}
  3420. }, {
  3421. closecallback: function() {}
  3422. }, { "style": { "height": "36px" } }).form; //创建窗体
  3423. _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); } }
  3424. break;
  3425. case "CocoPi": //CocoPi
  3426. _formdiv = new U.UF.UI.form(
  3427. "CocoPi",
  3428. $$("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" }), {
  3429. "id": "CocoPi",
  3430. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function() {}
  3432. }, {
  3433. closecallback: function() {}
  3434. }, { "style": { "height": "36px" } }).form; //创建窗体
  3435. _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); } }
  3436. break;
  3437. case "Wood": //Wood
  3438. _formdiv = new U.UF.UI.form(
  3439. "海龟编程",
  3440. $$("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/" }), {
  3441. "id": "Wood",
  3442. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function() {}
  3444. }, {
  3445. closecallback: function() {}
  3446. }, { "style": { "height": "36px" } }).form; //创建窗体
  3447. _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); } }
  3448. break;
  3449. case "car": //模拟驾驶
  3450. _formdiv = new U.UF.UI.form(
  3451. "模拟驾驶",
  3452. $$("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/" }), {
  3453. "id": "car",
  3454. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function() {}
  3456. }, {
  3457. closecallback: function() {}
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. _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); } }
  3460. break;
  3461. case "lineSearch": //路径搜索
  3462. _formdiv = new U.UF.UI.form(
  3463. "路径搜索",
  3464. $$("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/" }), {
  3465. "id": "lineSearch",
  3466. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function() {}
  3468. }, {
  3469. closecallback: function() {}
  3470. }, { "style": { "height": "36px" } }).form; //创建窗体
  3471. _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); } }
  3472. break;
  3473. case "deepLearning": //深度学习
  3474. _formdiv = new U.UF.UI.form(
  3475. "深度学习",
  3476. $$("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/#" }), {
  3477. "id": "deepLearning",
  3478. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function() {}
  3480. }, {
  3481. closecallback: function() {}
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. _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); } }
  3484. break;
  3485. case "allHistory": //深度学习
  3486. _formdiv = new U.UF.UI.form(
  3487. "全历史",
  3488. $$("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/" }), {
  3489. "id": "allHistory",
  3490. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3491. "onresize": function() {}
  3492. }, {
  3493. closecallback: function() {}
  3494. }, { "style": { "height": "36px" } }).form; //创建窗体
  3495. _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); } }
  3496. break;
  3497. case "chatPDF": //ai编程
  3498. _formdiv = new U.UF.UI.form(
  3499. "chatPDF",
  3500. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3501. "id": "chatPDF",
  3502. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3503. "onresize": function() {}
  3504. }, {
  3505. closecallback: function() {}
  3506. }, { "style": { "height": "36px" } }).form; //创建窗体
  3507. _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); } }
  3508. break;
  3509. case "resources": //国家教育
  3510. _formdiv = new U.UF.UI.form(
  3511. "国家教育",
  3512. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3513. "id": "resources",
  3514. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3515. "onresize": function() {}
  3516. }, {
  3517. closecallback: function() {}
  3518. }, { "style": { "height": "36px" } }).form; //创建窗体
  3519. _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); } }
  3520. break;
  3521. case "codeEdit": //源码编辑
  3522. _formdiv = new U.UF.UI.form(
  3523. "源码编辑",
  3524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3525. "id": "codeEdit",
  3526. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function() {}
  3528. }, {
  3529. closecallback: function() {}
  3530. }, { "style": { "height": "36px" } }).form; //创建窗体
  3531. _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); } }
  3532. break; //
  3533. case "MindMap": //MindMap
  3534. _formdiv = new U.UF.UI.form(
  3535. "MindMap",
  3536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3537. "id": "MindMap",
  3538. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function() {}
  3540. }, {
  3541. closecallback: function() {}
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. _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); } }
  3544. break;
  3545. case "netWorkPanel": //netWorkPanel
  3546. _formdiv = new U.UF.UI.form(
  3547. "netWorkPanel",
  3548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3549. "id": "netWorkPanel",
  3550. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3551. "onresize": function() {}
  3552. }, {
  3553. closecallback: function() {}
  3554. }, { "style": { "height": "36px" } }).form; //创建窗体
  3555. _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); } }
  3556. break;
  3557. case "GeoGebra": //GeoGebra
  3558. _formdiv = new U.UF.UI.form(
  3559. "GeoGebra",
  3560. $$("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" }), {
  3561. "id": "GeoGebra",
  3562. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3563. "onresize": function() {}
  3564. }, {
  3565. closecallback: function() {}
  3566. }, { "style": { "height": "36px" } }).form; //创建窗体
  3567. _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); } }
  3568. break;
  3569. case "translation": //翻译
  3570. _formdiv = new U.UF.UI.form(
  3571. "翻译",
  3572. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3573. "id": "translation",
  3574. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3575. "onresize": function() {}
  3576. }, {
  3577. closecallback: function() {}
  3578. }, { "style": { "height": "36px" } }).form; //创建窗体
  3579. _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); } }
  3580. break;
  3581. case "mohe": //魔盒
  3582. _formdiv = new U.UF.UI.form(
  3583. "魔盒识字",
  3584. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3585. "id": "mohe",
  3586. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3587. "onresize": function() {}
  3588. }, {
  3589. closecallback: function() {}
  3590. }, { "style": { "height": "36px" } }).form; //创建窗体
  3591. _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); } }
  3592. break;
  3593. case "24game": //24点
  3594. _formdiv = new U.UF.UI.form(
  3595. "24点",
  3596. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3597. "id": "24game",
  3598. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3599. "onresize": function() {}
  3600. }, {
  3601. closecallback: function() {}
  3602. }, { "style": { "height": "36px" } }).form; //创建窗体
  3603. _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); } }
  3604. break;
  3605. case "case":
  3606. _formdiv = new U.UF.UI.form(
  3607. "课程进展",
  3608. $$("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 }), {
  3609. "id": "case",
  3610. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3611. "onresize": function() {}
  3612. }, {
  3613. closecallback: function() {}
  3614. }, { "style": { "height": "36px" } }).form; //创建窗体
  3615. _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); } }
  3616. break;
  3617. case "snf":
  3618. _formdiv = new U.UF.UI.form(
  3619. "赛诺梵",
  3620. $$("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" }), {
  3621. "id": "snf",
  3622. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3623. "onresize": function() {}
  3624. }, {
  3625. closecallback: function() {}
  3626. }, { "style": { "height": "36px" } }).form; //创建窗体
  3627. _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); } }
  3628. break;
  3629. case "hanFamily":
  3630. _formdiv = new U.UF.UI.form(
  3631. "汉字家族",
  3632. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3633. "id": "hanFamily",
  3634. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3635. "onresize": function() {}
  3636. }, {
  3637. closecallback: function() {}
  3638. }, { "style": { "height": "36px" } }).form; //创建窗体
  3639. _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); } }
  3640. break;
  3641. case "hanClassics":
  3642. _formdiv = new U.UF.UI.form(
  3643. "国学经典",
  3644. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3645. "id": "hanClassics",
  3646. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3647. "onresize": function() {}
  3648. }, {
  3649. closecallback: function() {}
  3650. }, { "style": { "height": "36px" } }).form; //创建窗体
  3651. _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); } }
  3652. break;
  3653. case "hanTraining":
  3654. _formdiv = new U.UF.UI.form(
  3655. "笔画训练",
  3656. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3657. "id": "hanTraining",
  3658. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3659. "onresize": function() {}
  3660. }, {
  3661. closecallback: function() {}
  3662. }, { "style": { "height": "36px" } }).form; //创建窗体
  3663. _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); } }
  3664. break;
  3665. case "hanClass":
  3666. _formdiv = new U.UF.UI.form(
  3667. "书法课堂",
  3668. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3669. "id": "hanClass",
  3670. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3671. "onresize": function() {}
  3672. }, {
  3673. closecallback: function() {}
  3674. }, { "style": { "height": "36px" } }).form; //创建窗体
  3675. _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); } }
  3676. break;
  3677. case "han":
  3678. _formdiv = new U.UF.UI.form(
  3679. "汉字宫",
  3680. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3681. "id": "han",
  3682. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3683. "onresize": function() {}
  3684. }, {
  3685. closecallback: function() {}
  3686. }, { "style": { "height": "36px" } }).form; //创建窗体
  3687. _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); } }
  3688. break;
  3689. case "projectGM": //课程管理
  3690. _formdiv = new U.UF.UI.form(
  3691. "课程管理",
  3692. $$("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 }), {
  3693. "id": "projectGM",
  3694. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3695. "onresize": function() {}
  3696. }, {
  3697. closecallback: function() {}
  3698. }, { "style": { "height": "36px" } }).form; //创建窗体
  3699. _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); } }
  3700. break;
  3701. case "studyGM": //课程中心
  3702. _formdiv = new U.UF.UI.form(
  3703. "课程中心",
  3704. $$("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
  3705. "id": "study",
  3706. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3707. "onresize": function() {}
  3708. }, {
  3709. closecallback: function() {}
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _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); } }
  3712. break;
  3713. // studentGM
  3714. case "studentGM": //学生管理
  3715. _formdiv = new U.UF.UI.form(
  3716. "学生管理",
  3717. $$("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 }), {
  3718. "id": "studentGM",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function() {}
  3721. }, {
  3722. closecallback: function() {}
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. case "evaluateGM": //学生评价
  3727. _formdiv = new U.UF.UI.form(
  3728. "学生评价",
  3729. $$("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 }), {
  3730. "id": "evaluateGM",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function() {}
  3733. }, {
  3734. closecallback: function() {}
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. // classGM
  3739. case "classGM": //班级管理
  3740. _formdiv = new U.UF.UI.form(
  3741. "班级管理",
  3742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3743. "id": "classGM",
  3744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function() {}
  3746. }, {
  3747. closecallback: function() {}
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3750. break;
  3751. // dataGM
  3752. case "dataGM":
  3753. _formdiv = new U.UF.UI.form(
  3754. "我的资料",
  3755. $$("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 }), {
  3756. "id": "dataGM",
  3757. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3758. "onresize": function() {}
  3759. }, {
  3760. closecallback: function() {}
  3761. }, { "style": { "height": "36px" } }).form; //创建窗体
  3762. _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); } }
  3763. break;
  3764. // caseGM
  3765. case "caseGM": //课程进展
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3769. "id": "caseGM",
  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/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3776. break;
  3777. // meterialGM
  3778. case "meterialGM": //素材库
  3779. _formdiv = new U.UF.UI.form(
  3780. "素材库",
  3781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  3782. "id": "meterialGM",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function() {}
  3785. }, {
  3786. closecallback: function() {}
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3789. break;
  3790. // evaluateSGM
  3791. case "evaluateSGM": //我的评价
  3792. _formdiv = new U.UF.UI.form(
  3793. "我的评价",
  3794. $$("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 }), {
  3795. "id": "evaluateSGM",
  3796. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3797. "onresize": function() {}
  3798. }, {
  3799. closecallback: function() {}
  3800. }, { "style": { "height": "36px" } }).form; //创建窗体
  3801. _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); } }
  3802. break;
  3803. case "jupyter": //jupyter
  3804. _formdiv = new U.UF.UI.form(
  3805. "jupyter",
  3806. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3807. "id": "jupyter",
  3808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function() {}
  3810. }, {
  3811. closecallback: function() {}
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3814. break;
  3815. case "number": //数字实验室
  3816. _formdiv = new U.UF.UI.form(
  3817. "数字实验室",
  3818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3819. "id": "number",
  3820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function() {}
  3822. }, {
  3823. closecallback: function() {}
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3826. break;
  3827. case "studentCourse": //项目管理 学生
  3828. _formdiv = new U.UF.UI.form(
  3829. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3830. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3831. "id": "studentCourse",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function() {}
  3834. }, {
  3835. closecallback: function() {}
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _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); } }
  3838. break;
  3839. case "studentCourseS": //项目管理 老师
  3840. _formdiv = new U.UF.UI.form(
  3841. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3842. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3843. "id": "studentCourseS",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function() {}
  3846. }, {
  3847. closecallback: function() {}
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _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); } }
  3850. break;
  3851. case "studentIndex": //项目中心
  3852. _formdiv = new U.UF.UI.form(
  3853. "项目中心",
  3854. $$("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 }), {
  3855. "id": "studentIndex",
  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/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3862. break;
  3863. case "CaseDesignS":
  3864. _formdiv = new U.UF.UI.form(
  3865. "项目进展",
  3866. $$("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 }), {
  3867. "id": "case",
  3868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3869. "onresize": function() {}
  3870. }, {
  3871. closecallback: function() {}
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _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); } }
  3874. break;
  3875. case "tcStudent": //腾讯学生管理
  3876. _formdiv = new U.UF.UI.form(
  3877. "学生管理",
  3878. $$("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 }), {
  3879. "id": "tcStudent",
  3880. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3881. "onresize": function() {}
  3882. }, {
  3883. closecallback: function() {}
  3884. }, { "style": { "height": "36px" } }).form; //创建窗体
  3885. _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); } }
  3886. break;
  3887. case "tcSchool": //腾讯学校管理
  3888. _formdiv = new U.UF.UI.form(
  3889. "学校管理",
  3890. $$("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 }), {
  3891. "id": "tcSchool",
  3892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3893. "onresize": function() {}
  3894. }, {
  3895. closecallback: function() {}
  3896. }, { "style": { "height": "36px" } }).form; //创建窗体
  3897. _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); } }
  3898. break;
  3899. case "tcTeacher": //腾讯学校管理
  3900. _formdiv = new U.UF.UI.form(
  3901. "教师管理",
  3902. $$("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 }), {
  3903. "id": "tcTeacher",
  3904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3905. "onresize": function() {}
  3906. }, {
  3907. closecallback: function() {}
  3908. }, { "style": { "height": "36px" } }).form; //创建窗体
  3909. _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); } }
  3910. break;
  3911. case "tcData": //腾讯我的资料
  3912. _formdiv = new U.UF.UI.form(
  3913. "我的资料",
  3914. $$("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 }), {
  3915. "id": "tcData",
  3916. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3917. "onresize": function() {}
  3918. }, {
  3919. closecallback: function() {}
  3920. }, { "style": { "height": "36px" } }).form; //创建窗体
  3921. _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); } }
  3922. break;
  3923. case "tcNotice": //腾讯消息通知
  3924. _formdiv = new U.UF.UI.form(
  3925. "消息通知",
  3926. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3927. "id": "tcNotice",
  3928. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3929. "onresize": function() {}
  3930. }, {
  3931. closecallback: function() {}
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3934. break;
  3935. case "myReport": //好友打开
  3936. _formdiv = new U.UF.UI.form(
  3937. "我的评价",
  3938. $$("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 }), {
  3939. "id": "myReport",
  3940. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3941. "onresize": function() {}
  3942. }, {
  3943. closecallback: function() {}
  3944. }, { "style": { "height": "36px" } }).form; //创建窗体
  3945. _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); } }
  3946. break;
  3947. case "learnAna": //好友打开
  3948. _formdiv = new U.UF.UI.form(
  3949. "学习分析",
  3950. $$("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 }), {
  3951. "id": "learnAna",
  3952. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3953. "onresize": function() {}
  3954. }, {
  3955. closecallback: function() {}
  3956. }, { "style": { "height": "36px" } }).form; //创建窗体
  3957. _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); } }
  3958. break;
  3959. case "AIChat": //AI共创
  3960. _formdiv = new U.UF.UI.form(
  3961. "AI共创",
  3962. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3963. "id": "AIChat",
  3964. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3965. "onresize": function() {}
  3966. }, {
  3967. istop: true,
  3968. closecallback: function() { $("#aichat_icon").remove(); },
  3969. narrowcallback: function() {
  3970. if (!$("#aichat_icon")[0]) {
  3971. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3972. }
  3973. },
  3974. }, { "style": { "height": "36px" } }).form; //创建窗体
  3975. _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); } }
  3976. break;
  3977. case "ainew": //AI共创
  3978. _formdiv = new U.UF.UI.form(
  3979. "AI协同",
  3980. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3981. "id": "ainew",
  3982. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3983. "onresize": function() {}
  3984. }, {
  3985. closecallback: function() {}
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3988. break;
  3989. case "AIAnalyse": //AI共创
  3990. _formdiv = new U.UF.UI.form(
  3991. "AI分析",
  3992. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  3993. "id": "AIAnalyse",
  3994. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3995. "onresize": function() {}
  3996. }, {
  3997. closecallback: function() {}
  3998. }, { "style": { "height": "36px" } }).form; //创建窗体
  3999. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4000. break;
  4001. case "studioCourse": //AI共创
  4002. _formdiv = new U.UF.UI.form(
  4003. "工作管理",
  4004. $$("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 }), {
  4005. "id": "studioCourse",
  4006. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4007. "onresize": function() {}
  4008. }, {
  4009. closecallback: function() {}
  4010. }, { "style": { "height": "36px" } }).form; //创建窗体
  4011. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4012. break;
  4013. case "studioIndex": //AI共创
  4014. _formdiv = new U.UF.UI.form(
  4015. "工作中心",
  4016. $$("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 }), {
  4017. "id": "studioIndex",
  4018. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4019. "onresize": function() {}
  4020. }, {
  4021. closecallback: function() {}
  4022. }, { "style": { "height": "36px" } }).form; //创建窗体
  4023. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4024. break;
  4025. case "source":
  4026. _formdiv = new U.UF.UI.form(
  4027. "教学资源",
  4028. $$("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 }), {
  4029. "id": "source",
  4030. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4031. "onresize": function() {}
  4032. }, {
  4033. closecallback: function() {}
  4034. }, { "style": { "height": "36px" } }).form; //创建窗体
  4035. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4036. break;
  4037. }
  4038. //U.MD.D.I.openClick(str);
  4039. //如果有任务栏信息
  4040. if (_taskbar) {
  4041. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4042. }
  4043. }
  4044. // U.MD.D.I.openClick = function(str){
  4045. // var click = '';
  4046. // switch(str){
  4047. // case 'friend':
  4048. // click = '我的好友';
  4049. // break;
  4050. // case 'domain':
  4051. // click = '域名管理';
  4052. // break;
  4053. // case 'disk':
  4054. // click = '我的云盘';
  4055. // break;
  4056. // case 'word':
  4057. // click = 'Word';
  4058. // break;
  4059. // case 'excel':
  4060. // click = 'Execl';
  4061. // break;
  4062. // case 'txt':
  4063. // click = '文本文件';
  4064. // break;
  4065. // case 'lookupFriend':
  4066. // click = '查找好友';
  4067. // break;
  4068. // case 'ftp':
  4069. // click = 'FTP';
  4070. // break;
  4071. // case 'group':
  4072. // click = '群组';
  4073. // break;
  4074. // case 'set':
  4075. // click = '我的设置';
  4076. // break;
  4077. // case 'systemSet':
  4078. // click = '系统设置';
  4079. // break;
  4080. // case 'boomYun':
  4081. // click = '互联办公';
  4082. // break;
  4083. // case 'xz':
  4084. // click = '云端下载';
  4085. // break;
  4086. // case 'client':
  4087. // click = '有思浏览器';
  4088. // break;
  4089. // case 'backEndProgramming':
  4090. // click = '在线后台编程';
  4091. // break;
  4092. // case 'frontEndProgramming':
  4093. // click = '在线前端编程';
  4094. // break;
  4095. // default: break;
  4096. // }
  4097. // if(U.MD.D.I.Ip && click){
  4098. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4099. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4100. // })
  4101. // }
  4102. // }
  4103. /**
  4104. *函数作用:ajax简易函数,使用post格式
  4105. *@param url {data} 后台地址
  4106. *@param data {data} 参数json
  4107. *@param fn {data} 回调函数
  4108. *
  4109. */
  4110. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4111. // var xhr = new XMLHttpRequest();
  4112. // xhr.open("GET",url,true);
  4113. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4114. // xhr.onreadystatechange = function(){
  4115. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4116. // fn.call(this,xhr.responseText);
  4117. // }
  4118. // };
  4119. // xhr.send();
  4120. // }
  4121. /*判断是否是内网IP*/
  4122. // U.MD.D.I.isInnerIPFn = function(str){
  4123. // var curPageUrl = str;
  4124. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4125. // curPageUrl =curPageUrl.replace(reg1,'');
  4126. // // console.log('curPageUrl-1 '+curPageUrl);
  4127. // var reg2 = /\:+/g;//替换冒号为一点
  4128. // curPageUrl =curPageUrl.replace(reg2,'.');
  4129. // // console.log('curPageUrl-2 '+curPageUrl);
  4130. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4131. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4132. // if(curPageUrl[2] != '16'){
  4133. // return ipAddress;
  4134. // }else{
  4135. // return false;
  4136. // }
  4137. // }
  4138. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4139. // //compatibility for firefox and chrome
  4140. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4141. // var pc = new myPeerConnection({
  4142. // iceServers: []
  4143. // }),
  4144. // noop = function() {},
  4145. // localIPs = {},
  4146. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4147. // key;
  4148. // function iterateIP(ip) {
  4149. // if (!localIPs[ip]) onNewIP(ip);
  4150. // localIPs[ip] = true;
  4151. // }
  4152. // //create a bogus data channel
  4153. // pc.createDataChannel("");
  4154. // // create offer and set local description
  4155. // pc.createOffer().then(function(sdp) {
  4156. // sdp.sdp.split('\n').forEach(function(line) {
  4157. // if (line.indexOf('candidate') < 0) return;
  4158. // line.match(ipRegex).forEach(iterateIP);
  4159. // });
  4160. // pc.setLocalDescription(sdp, noop, noop);
  4161. // }).catch(function(reason) {
  4162. // // An error occurred, so handle the failure to connect
  4163. // });
  4164. // //sten for candidate events
  4165. // pc.onicecandidate = function(ice) {
  4166. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4167. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4168. // };
  4169. // }
  4170. // U.MD.D.I.getUserIpBool = function(callback){
  4171. // U.MD.D.I.getUserIP(function(ip){
  4172. // alert("Got IP! :" + ip);
  4173. // });
  4174. //}
  4175. //#endregion
  4176. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4177. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4178. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4179. _userinfo = US.userInfo, //登录用户信息
  4180. _userid = US.userInfo.userid //登录用户id
  4181. let _iframe;
  4182. let _cid = cid,
  4183. _stage = stage,
  4184. _task = task,
  4185. _tool = tool;
  4186. var _jie = $$("div", {
  4187. "style": {
  4188. "position": "absolute",
  4189. "bottom": "50px",
  4190. "right": "50px",
  4191. "zIndex": "9999",
  4192. "backgroundColor": "#2268bc",
  4193. "color": "#fff",
  4194. "padding": "12px 20px",
  4195. "cursor": "pointer",
  4196. "borderRadius": "4px",
  4197. },
  4198. "innerHTML": "提交作业"
  4199. })
  4200. let aTool = ''
  4201. let _loading = document.createElement('div')
  4202. _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;"
  4203. // _loading.id = "";
  4204. let _lchild = document.createElement('div')
  4205. let _limg = document.createElement('img')
  4206. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4207. _limg.style = "width: 26px;margin-right: 10px;"
  4208. _lchild.appendChild(_limg)
  4209. let _lspan = document.createElement('span')
  4210. _lspan.innerHTML = "上传中..."
  4211. _lchild.appendChild(_lspan)
  4212. _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%);"
  4213. _loading.appendChild(_lchild)
  4214. var _box = $$('div', {
  4215. "style": {
  4216. "position": "relative",
  4217. "width": "100%",
  4218. "height": "100%",
  4219. },
  4220. })
  4221. _box.appendChild(_loading)
  4222. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4223. switch (str) {
  4224. case "whiteboard":
  4225. aTool = 1;
  4226. _iframe = $$("iframe", {
  4227. "frameborder": "no",
  4228. "border": "0",
  4229. "scrolling ": "no",
  4230. "style": {
  4231. "cssText": "border:0;width:100%;height:100%"
  4232. },
  4233. "src": "https://iwb.cocorobo.cn/"
  4234. })
  4235. _box.appendChild(_iframe);
  4236. _box.appendChild(_jie);
  4237. _formdiv = new U.UF.UI.form(
  4238. "电子白板",
  4239. _box, {
  4240. "id": "whiteboard" + cid + stage + task + tool,
  4241. "style": {
  4242. "width": "90%",
  4243. "height": "90%",
  4244. "overflow": 'hidden'
  4245. },
  4246. "onresize": function() {}
  4247. }, {
  4248. closecallback: function() {}
  4249. }, {
  4250. "style": {
  4251. "height": "36px"
  4252. }
  4253. }).form; //创建窗体
  4254. _taskbar = {
  4255. "id": str + _formdiv.id,
  4256. "style": {
  4257. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4258. },
  4259. "name": "电子白板",
  4260. "forms": _formdiv,
  4261. "click": function() {
  4262. U.MD.D.I.openApplication(str, obj, info);
  4263. }
  4264. }
  4265. break;
  4266. case "mind":
  4267. aTool = 3;
  4268. _iframe = $$("iframe", {
  4269. "frameborder": "no",
  4270. "border": "0",
  4271. "scrolling ": "no",
  4272. "style": {
  4273. "cssText": "border:0;width:100%;height:100%"
  4274. },
  4275. "src": "/kityminder-editor/dist/index.html"
  4276. })
  4277. _box.appendChild(_iframe);
  4278. _box.appendChild(_jie);
  4279. _formdiv = new U.UF.UI.form(
  4280. "思维导图",
  4281. _box, { //"/jsmind/example/demo.html"
  4282. "id": "mind" + cid + stage + task + tool,
  4283. "style": {
  4284. "width": "90%",
  4285. "height": "90%",
  4286. "overflow": 'hidden'
  4287. },
  4288. "onresize": function() {}
  4289. }, {
  4290. closecallback: function() {}
  4291. }, {
  4292. "style": {
  4293. "height": "36px"
  4294. }
  4295. }).form; //创建窗体
  4296. _taskbar = {
  4297. "id": str + _formdiv.id,
  4298. "style": {
  4299. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4300. },
  4301. "name": "思维导图",
  4302. "forms": _formdiv,
  4303. "click": function() {
  4304. U.MD.D.I.openApplication(str, obj, info);
  4305. }
  4306. }
  4307. break;
  4308. case "MindMap":
  4309. aTool = 3;
  4310. _iframe = $$("iframe", {
  4311. "frameborder": "no",
  4312. "border": "0",
  4313. "scrolling ": "no",
  4314. "style": {
  4315. "cssText": "border:0;width:100%;height:100%"
  4316. },
  4317. "src": "//cloud.cocorobo.cn/mind/"
  4318. })
  4319. _box.appendChild(_iframe);
  4320. _box.appendChild(_jie);
  4321. _formdiv = new U.UF.UI.form(
  4322. "思维导图",
  4323. _box, { //"/jsmind/example/demo.html"
  4324. "id": "mind" + cid + stage + task + tool,
  4325. "style": {
  4326. "width": "90%",
  4327. "height": "90%",
  4328. "overflow": 'hidden'
  4329. },
  4330. "onresize": function() {}
  4331. }, {
  4332. closecallback: function() {}
  4333. }, {
  4334. "style": {
  4335. "height": "36px"
  4336. }
  4337. }).form; //创建窗体
  4338. _taskbar = {
  4339. "id": str + _formdiv.id,
  4340. "style": {
  4341. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4342. },
  4343. "name": "思维导图",
  4344. "forms": _formdiv,
  4345. "click": function() {
  4346. U.MD.D.I.openApplication(str, obj, info);
  4347. }
  4348. }
  4349. break;
  4350. case "doc":
  4351. aTool = 6;
  4352. _iframe = $$("iframe", {
  4353. "frameborder": "no",
  4354. "border": "0",
  4355. "scrolling ": "no",
  4356. "style": {
  4357. "cssText": "border:0;width:100%;height:100%"
  4358. },
  4359. "src": "/Office/Word/WordEditArea.htm"
  4360. })
  4361. _box.appendChild(_iframe);
  4362. _box.appendChild(_jie);
  4363. _formdiv = new U.UF.UI.form(
  4364. "协同文档",
  4365. _box, {
  4366. "id": "doc" + cid + stage + task + tool,
  4367. "style": {
  4368. "width": "90%",
  4369. "height": "90%",
  4370. "overflow": 'hidden'
  4371. },
  4372. "onresize": function() {}
  4373. }, {
  4374. closecallback: function() {}
  4375. }, {
  4376. "style": {
  4377. "height": "36px"
  4378. }
  4379. }).form; //创建窗体
  4380. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4381. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4382. })
  4383. _taskbar = {
  4384. "id": str + _formdiv.id,
  4385. "style": {
  4386. "backgroundImage": "url(/img/icon/doc.png)"
  4387. },
  4388. "name": "协同文档",
  4389. "forms": _formdiv,
  4390. "click": function() {
  4391. U.MD.D.I.openApplication(str, obj, info);
  4392. }
  4393. }
  4394. break;
  4395. case "mindNetwork": //好友打开
  4396. aTool = 7;
  4397. _iframe = $$("iframe", {
  4398. "webkitallowfullscreen": "",
  4399. "mozallowfullscreen": "",
  4400. "allowfullscreen": "",
  4401. "frameborder": "no",
  4402. "border": "0",
  4403. "scrolling ": "no",
  4404. "style": {
  4405. "cssText": "border:0; width:100%; height:100%;"
  4406. },
  4407. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4408. })
  4409. _box.appendChild(_iframe);
  4410. _box.appendChild(_jie);
  4411. _formdiv = new U.UF.UI.form(
  4412. "思维网格",
  4413. _box, {
  4414. "id": "mindNetwork" + cid + stage + task + tool,
  4415. "style": {
  4416. "width": "90%",
  4417. "height": "90%",
  4418. "overflow": 'hidden'
  4419. },
  4420. "onresize": function() {}
  4421. }, {
  4422. closecallback: function() {}
  4423. }, {
  4424. "style": {
  4425. "height": "36px"
  4426. }
  4427. }).form; //创建窗体
  4428. _taskbar = {
  4429. "id": str + _formdiv.id,
  4430. "style": {
  4431. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4432. },
  4433. "name": "思维网格",
  4434. "forms": _formdiv,
  4435. "click": function() {
  4436. U.MD.D.I.openApplication(str, obj, info);
  4437. }
  4438. }
  4439. break;
  4440. case "courseDesign":
  4441. _iframe = $$("iframe", {
  4442. "webkitallowfullscreen": "",
  4443. "mozallowfullscreen": "",
  4444. "allowfullscreen": "",
  4445. "frameborder": "no",
  4446. "border": "0",
  4447. "scrolling ": "no",
  4448. "style": {
  4449. "cssText": "border:0; width:100%; height:100%;"
  4450. },
  4451. "src": "/course-design-vue"
  4452. })
  4453. _box.appendChild(_iframe);
  4454. _box.appendChild(_jie);
  4455. _formdiv = new U.UF.UI.form(
  4456. "项目设计",
  4457. _box, {
  4458. "id": "courseDesign" + cid + stage + task + tool,
  4459. "style": {
  4460. "width": "90%",
  4461. "height": "90%",
  4462. "overflow": 'hidden'
  4463. },
  4464. "onresize": function() {}
  4465. }, {
  4466. closecallback: function() {}
  4467. }, {
  4468. "style": {
  4469. "height": "36px"
  4470. }
  4471. }).form; //创建窗体
  4472. _taskbar = {
  4473. "id": str + _formdiv.id,
  4474. "style": {
  4475. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4476. },
  4477. "name": "项目设计",
  4478. "forms": _formdiv,
  4479. "click": function() {
  4480. U.MD.D.I.openApplication(str, obj, info);
  4481. }
  4482. }
  4483. break;
  4484. }
  4485. const script1 = document.createElement("script");
  4486. script1.type = "text/javascript";
  4487. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4488. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4489. const script2 = document.createElement("script");
  4490. script2.type = "text/javascript";
  4491. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4492. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4493. const script3 = document.createElement("script");
  4494. script3.type = "text/javascript";
  4495. script3.charset = "UTF-8";
  4496. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4497. const script4 = document.createElement("script");
  4498. script4.type = "text/javascript";
  4499. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4500. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4501. if (_iframe) {
  4502. if (str == 'doc') {
  4503. _iframe = _formdiv.querySelector('iframe')
  4504. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4505. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4506. _iframe.contentWindow.document.body.appendChild(script1);
  4507. _iframe.contentWindow.document.body.appendChild(script2);
  4508. // _iframe.contentWindow.document.body.appendChild(script3);
  4509. _iframe.contentWindow.document.body.appendChild(script4);
  4510. })
  4511. if (onloadListener) {
  4512. _iframe.contentDocument.location.reload()
  4513. } else {
  4514. _iframe.contentDocument.location.reload()
  4515. }
  4516. } else if (str == 'courseDesign') {
  4517. U.UF.DL.iframeLoad(_iframe, function() {
  4518. // _iframe.contentWindow.U.MD.O.W.load();
  4519. // _iframe.contentWindow.document.body.appendChild(script1);
  4520. _iframe.contentWindow.document.body.appendChild(script2);
  4521. _iframe.contentWindow.document.body.appendChild(script4);
  4522. })
  4523. } else if (str == 'mind') {
  4524. _iframe = _formdiv.querySelector('iframe')
  4525. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4526. //
  4527. _iframe.contentWindow.document.body.appendChild(script1);
  4528. _iframe.contentWindow.document.body.appendChild(script2);
  4529. _iframe.contentWindow.document.body.appendChild(script4);
  4530. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4531. })
  4532. if (onloadListener) {
  4533. _iframe.contentDocument.location.reload()
  4534. } else {
  4535. _iframe.contentDocument.location.reload()
  4536. }
  4537. } else if (str == 'whiteboard') {
  4538. _iframe = _formdiv.querySelector('iframe')
  4539. let onloadListener = _iframe.onload = () => {
  4540. _iframe.contentWindow.document.body.appendChild(script1);
  4541. _iframe.contentWindow.document.body.appendChild(script2);
  4542. _iframe.contentWindow.document.body.appendChild(script4);
  4543. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4544. };
  4545. if (onloadListener) {
  4546. _iframe.contentDocument.location.reload()
  4547. } else {
  4548. _iframe.contentDocument.location.reload()
  4549. }
  4550. } else {
  4551. _iframe.onload = () => {
  4552. _iframe.contentWindow.document.body.appendChild(script1);
  4553. _iframe.contentWindow.document.body.appendChild(script2);
  4554. // _iframe.contentWindow.document.body.appendChild(script3);
  4555. _iframe.contentWindow.document.body.appendChild(script4);
  4556. };
  4557. }
  4558. _jie.onclick = async() => {
  4559. let text = ''
  4560. if (aTool == 1) {
  4561. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4562. } else if (aTool == 6) {
  4563. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4564. } else if (aTool == 3) {
  4565. text = await U.MD.D.I.getEditorContent(_iframe);
  4566. }
  4567. _loading.style.display = 'flex'
  4568. console.log(_loading);
  4569. var _ajs = _iframe.contentWindow.document.createElement("script");
  4570. _ajs.type = "text/javascript";
  4571. _ajs.innerHTML =
  4572. // 'console.log(' + _loading + ');\n' +
  4573. 'var _js = document.createElement("script");\n' +
  4574. '_js.type="text/javascript";\n' +
  4575. '_js.charset="UTF-8";\n' +
  4576. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4577. "_js.onload = function(){\n" +
  4578. ' var a = document.getElementsByTagName("img")\n' +
  4579. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4580. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4581. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4582. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4583. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4584. "beforeUpload_shishi(file," +
  4585. "'" +
  4586. _userid +
  4587. "'" +
  4588. ", " +
  4589. "'" +
  4590. _cid +
  4591. "'" +
  4592. ", " +
  4593. "'" +
  4594. _stage +
  4595. "'" +
  4596. ", " +
  4597. "'" +
  4598. _task +
  4599. "'" +
  4600. ", " +
  4601. "'" +
  4602. _tool +
  4603. "'" +
  4604. ", " +
  4605. "'" +
  4606. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4607. "'" +
  4608. ", " +
  4609. "'" +
  4610. aTool +
  4611. "'" +
  4612. ", " +
  4613. "`" +
  4614. text +
  4615. "`" +
  4616. ")\n" +
  4617. " });\n" +
  4618. "}\n" +
  4619. "document.head.appendChild(_js);\n";
  4620. _iframe.contentWindow.document.head.appendChild(_ajs);
  4621. }
  4622. }
  4623. //U.MD.D.I.openClick(str);
  4624. //如果有任务栏信息
  4625. // if (_taskbar) {
  4626. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4627. // }
  4628. }
  4629. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4630. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4631. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4632. _userinfo = US.userInfo, //登录用户信息
  4633. _userid = US.userInfo.userid //登录用户id
  4634. let _iframe;
  4635. let _cid = cid,
  4636. _stage = stage,
  4637. _task = task,
  4638. _tool = tool;
  4639. var _jie = $$("div", {
  4640. "style": {
  4641. "position": "absolute",
  4642. "bottom": "50px",
  4643. "right": "50px",
  4644. "zIndex": "9999",
  4645. "backgroundColor": "#2268bc",
  4646. "color": "#fff",
  4647. "padding": "12px 20px",
  4648. "cursor": "pointer",
  4649. "borderRadius": "4px",
  4650. },
  4651. "innerHTML": "提交作业"
  4652. })
  4653. let aTool = ''
  4654. let _loading = document.createElement('div')
  4655. _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;"
  4656. // _loading.id = "";
  4657. let _lchild = document.createElement('div')
  4658. let _limg = document.createElement('img')
  4659. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4660. _limg.style = "width: 26px;margin-right: 10px;"
  4661. _lchild.appendChild(_limg)
  4662. let _lspan = document.createElement('span')
  4663. _lspan.innerHTML = "上传中..."
  4664. _lchild.appendChild(_lspan)
  4665. _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%);"
  4666. _loading.appendChild(_lchild)
  4667. var _box = $$('div', {
  4668. "style": {
  4669. "position": "relative",
  4670. "width": "100%",
  4671. "height": "100%",
  4672. },
  4673. })
  4674. _box.appendChild(_loading)
  4675. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4676. switch (str) {
  4677. case "whiteboard":
  4678. aTool = 1;
  4679. _iframe = $$("iframe", {
  4680. "frameborder": "no",
  4681. "border": "0",
  4682. "scrolling ": "no",
  4683. "style": {
  4684. "cssText": "border:0;width:100%;height:100%"
  4685. },
  4686. "src": "https://iwb.cocorobo.cn/"
  4687. })
  4688. _box.appendChild(_iframe);
  4689. _box.appendChild(_jie);
  4690. _formdiv = new U.UF.UI.form(
  4691. "电子白板",
  4692. _box, {
  4693. "id": "whiteboard" + cid + stage + task + tool,
  4694. "style": {
  4695. "width": "90%",
  4696. "height": "90%",
  4697. "overflow": 'hidden'
  4698. },
  4699. "onresize": function() {}
  4700. }, {
  4701. closecallback: function() {}
  4702. }, {
  4703. "style": {
  4704. "height": "36px"
  4705. }
  4706. }).form; //创建窗体
  4707. _taskbar = {
  4708. "id": str + _formdiv.id,
  4709. "style": {
  4710. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4711. },
  4712. "name": "电子白板",
  4713. "forms": _formdiv,
  4714. "click": function() {
  4715. U.MD.D.I.openApplication(str, obj, info);
  4716. }
  4717. }
  4718. break;
  4719. case "mind":
  4720. aTool = 3;
  4721. _iframe = $$("iframe", {
  4722. "frameborder": "no",
  4723. "border": "0",
  4724. "scrolling ": "no",
  4725. "style": {
  4726. "cssText": "border:0;width:100%;height:100%"
  4727. },
  4728. "src": "/kityminder-editor/dist/index.html"
  4729. })
  4730. _box.appendChild(_iframe);
  4731. _box.appendChild(_jie);
  4732. _formdiv = new U.UF.UI.form(
  4733. "思维导图",
  4734. _box, { //"/jsmind/example/demo.html"
  4735. "id": "mind" + cid + stage + task + tool,
  4736. "style": {
  4737. "width": "90%",
  4738. "height": "90%",
  4739. "overflow": 'hidden'
  4740. },
  4741. "onresize": function() {}
  4742. }, {
  4743. closecallback: function() {}
  4744. }, {
  4745. "style": {
  4746. "height": "36px"
  4747. }
  4748. }).form; //创建窗体
  4749. _taskbar = {
  4750. "id": str + _formdiv.id,
  4751. "style": {
  4752. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4753. },
  4754. "name": "思维导图",
  4755. "forms": _formdiv,
  4756. "click": function() {
  4757. U.MD.D.I.openApplication(str, obj, info);
  4758. }
  4759. }
  4760. break;
  4761. case "MindMap":
  4762. aTool = 3;
  4763. _iframe = $$("iframe", {
  4764. "frameborder": "no",
  4765. "border": "0",
  4766. "scrolling ": "no",
  4767. "style": {
  4768. "cssText": "border:0;width:100%;height:100%"
  4769. },
  4770. "src": "//cloud.cocorobo.cn/mind/"
  4771. })
  4772. _box.appendChild(_iframe);
  4773. _box.appendChild(_jie);
  4774. _formdiv = new U.UF.UI.form(
  4775. "思维导图",
  4776. _box, { //"/jsmind/example/demo.html"
  4777. "id": "mind" + cid + stage + task + tool,
  4778. "style": {
  4779. "width": "90%",
  4780. "height": "90%",
  4781. "overflow": 'hidden'
  4782. },
  4783. "onresize": function() {}
  4784. }, {
  4785. closecallback: function() {}
  4786. }, {
  4787. "style": {
  4788. "height": "36px"
  4789. }
  4790. }).form; //创建窗体
  4791. _taskbar = {
  4792. "id": str + _formdiv.id,
  4793. "style": {
  4794. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4795. },
  4796. "name": "思维导图",
  4797. "forms": _formdiv,
  4798. "click": function() {
  4799. U.MD.D.I.openApplication(str, obj, info);
  4800. }
  4801. }
  4802. break;
  4803. case "doc":
  4804. aTool = 6;
  4805. _iframe = $$("iframe", {
  4806. "frameborder": "no",
  4807. "border": "0",
  4808. "scrolling ": "no",
  4809. "style": {
  4810. "cssText": "border:0;width:100%;height:100%"
  4811. },
  4812. "src": "/Office/Word/WordEditArea.htm"
  4813. })
  4814. _box.appendChild(_iframe);
  4815. _box.appendChild(_jie);
  4816. _formdiv = new U.UF.UI.form(
  4817. "协同文档",
  4818. _box, {
  4819. "id": "doc" + cid + stage + task + tool,
  4820. "style": {
  4821. "width": "90%",
  4822. "height": "90%",
  4823. "overflow": 'hidden'
  4824. },
  4825. "onresize": function() {}
  4826. }, {
  4827. closecallback: function() {}
  4828. }, {
  4829. "style": {
  4830. "height": "36px"
  4831. }
  4832. }).form; //创建窗体
  4833. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4834. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4835. })
  4836. _taskbar = {
  4837. "id": str + _formdiv.id,
  4838. "style": {
  4839. "backgroundImage": "url(/img/icon/doc.png)"
  4840. },
  4841. "name": "协同文档",
  4842. "forms": _formdiv,
  4843. "click": function() {
  4844. U.MD.D.I.openApplication(str, obj, info);
  4845. }
  4846. }
  4847. break;
  4848. case "mindNetwork": //好友打开
  4849. aTool = 7;
  4850. _iframe = $$("iframe", {
  4851. "webkitallowfullscreen": "",
  4852. "mozallowfullscreen": "",
  4853. "allowfullscreen": "",
  4854. "frameborder": "no",
  4855. "border": "0",
  4856. "scrolling ": "no",
  4857. "style": {
  4858. "cssText": "border:0; width:100%; height:100%;"
  4859. },
  4860. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4861. })
  4862. _box.appendChild(_iframe);
  4863. _box.appendChild(_jie);
  4864. _formdiv = new U.UF.UI.form(
  4865. "思维网格",
  4866. _box, {
  4867. "id": "mindNetwork" + cid + stage + task + tool,
  4868. "style": {
  4869. "width": "90%",
  4870. "height": "90%",
  4871. "overflow": 'hidden'
  4872. },
  4873. "onresize": function() {}
  4874. }, {
  4875. closecallback: function() {}
  4876. }, {
  4877. "style": {
  4878. "height": "36px"
  4879. }
  4880. }).form; //创建窗体
  4881. _taskbar = {
  4882. "id": str + _formdiv.id,
  4883. "style": {
  4884. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4885. },
  4886. "name": "思维网格",
  4887. "forms": _formdiv,
  4888. "click": function() {
  4889. U.MD.D.I.openApplication(str, obj, info);
  4890. }
  4891. }
  4892. break;
  4893. case "courseDesign":
  4894. _iframe = $$("iframe", {
  4895. "webkitallowfullscreen": "",
  4896. "mozallowfullscreen": "",
  4897. "allowfullscreen": "",
  4898. "frameborder": "no",
  4899. "border": "0",
  4900. "scrolling ": "no",
  4901. "style": {
  4902. "cssText": "border:0; width:100%; height:100%;"
  4903. },
  4904. "src": "/course-design-vue"
  4905. })
  4906. _box.appendChild(_iframe);
  4907. _box.appendChild(_jie);
  4908. _formdiv = new U.UF.UI.form(
  4909. "项目设计",
  4910. _box, {
  4911. "id": "courseDesign" + cid + stage + task + tool,
  4912. "style": {
  4913. "width": "90%",
  4914. "height": "90%",
  4915. "overflow": 'hidden'
  4916. },
  4917. "onresize": function() {}
  4918. }, {
  4919. closecallback: function() {}
  4920. }, {
  4921. "style": {
  4922. "height": "36px"
  4923. }
  4924. }).form; //创建窗体
  4925. _taskbar = {
  4926. "id": str + _formdiv.id,
  4927. "style": {
  4928. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4929. },
  4930. "name": "项目设计",
  4931. "forms": _formdiv,
  4932. "click": function() {
  4933. U.MD.D.I.openApplication(str, obj, info);
  4934. }
  4935. }
  4936. break;
  4937. }
  4938. const script1 = document.createElement("script");
  4939. script1.type = "text/javascript";
  4940. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4941. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4942. const script2 = document.createElement("script");
  4943. script2.type = "text/javascript";
  4944. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4945. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4946. const script3 = document.createElement("script");
  4947. script3.type = "text/javascript";
  4948. script3.charset = "UTF-8";
  4949. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4950. const script4 = document.createElement("script");
  4951. script4.type = "text/javascript";
  4952. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4953. script4.src = window.origin + "/js/Common/jietu2E.js";
  4954. if (_iframe) {
  4955. if (str == 'doc') {
  4956. _iframe = _formdiv.querySelector('iframe')
  4957. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4958. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4959. _iframe.contentWindow.document.body.appendChild(script1);
  4960. _iframe.contentWindow.document.body.appendChild(script2);
  4961. // _iframe.contentWindow.document.body.appendChild(script3);
  4962. _iframe.contentWindow.document.body.appendChild(script4);
  4963. })
  4964. if (onloadListener) {
  4965. _iframe.contentDocument.location.reload()
  4966. } else {
  4967. _iframe.contentDocument.location.reload()
  4968. }
  4969. } else if (str == 'courseDesign') {
  4970. U.UF.DL.iframeLoad(_iframe, function() {
  4971. // _iframe.contentWindow.U.MD.O.W.load();
  4972. // _iframe.contentWindow.document.body.appendChild(script1);
  4973. _iframe.contentWindow.document.body.appendChild(script2);
  4974. _iframe.contentWindow.document.body.appendChild(script4);
  4975. })
  4976. } else if (str == 'mind') {
  4977. _iframe = _formdiv.querySelector('iframe')
  4978. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4979. //
  4980. _iframe.contentWindow.document.body.appendChild(script1);
  4981. _iframe.contentWindow.document.body.appendChild(script2);
  4982. _iframe.contentWindow.document.body.appendChild(script4);
  4983. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4984. })
  4985. if (onloadListener) {
  4986. _iframe.contentDocument.location.reload()
  4987. } else {
  4988. _iframe.contentDocument.location.reload()
  4989. }
  4990. } else if (str == 'whiteboard') {
  4991. _iframe = _formdiv.querySelector('iframe')
  4992. let onloadListener = _iframe.onload = () => {
  4993. _iframe.contentWindow.document.body.appendChild(script1);
  4994. _iframe.contentWindow.document.body.appendChild(script2);
  4995. _iframe.contentWindow.document.body.appendChild(script4);
  4996. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4997. };
  4998. if (onloadListener) {
  4999. _iframe.contentDocument.location.reload()
  5000. } else {
  5001. _iframe.contentDocument.location.reload()
  5002. }
  5003. } else {
  5004. _iframe.onload = () => {
  5005. _iframe.contentWindow.document.body.appendChild(script1);
  5006. _iframe.contentWindow.document.body.appendChild(script2);
  5007. // _iframe.contentWindow.document.body.appendChild(script3);
  5008. _iframe.contentWindow.document.body.appendChild(script4);
  5009. };
  5010. }
  5011. _jie.onclick = async() => {
  5012. let text = ''
  5013. if (aTool == 1) {
  5014. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5015. } else if (aTool == 6) {
  5016. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5017. } else if (aTool == 3) {
  5018. text = await U.MD.D.I.getEditorContent(_iframe);
  5019. }
  5020. _loading.style.display = 'flex'
  5021. console.log(_loading);
  5022. var _ajs = _iframe.contentWindow.document.createElement("script");
  5023. _ajs.type = "text/javascript";
  5024. _ajs.innerHTML =
  5025. // 'console.log(' + _loading + ');\n' +
  5026. 'var _js = document.createElement("script");\n' +
  5027. '_js.type="text/javascript";\n' +
  5028. '_js.charset="UTF-8";\n' +
  5029. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5030. "_js.onload = function(){\n" +
  5031. ' var a = document.getElementsByTagName("img")\n' +
  5032. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5033. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5034. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5035. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5036. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5037. "beforeUpload_shishi(file," +
  5038. "'" +
  5039. _userid +
  5040. "'" +
  5041. ", " +
  5042. "'" +
  5043. _cid +
  5044. "'" +
  5045. ", " +
  5046. "'" +
  5047. _stage +
  5048. "'" +
  5049. ", " +
  5050. "'" +
  5051. _task +
  5052. "'" +
  5053. ", " +
  5054. "'" +
  5055. _tool +
  5056. "'" +
  5057. ", " +
  5058. "'" +
  5059. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5060. "'" +
  5061. ", " +
  5062. "'" +
  5063. aTool +
  5064. "'" +
  5065. ", " +
  5066. "`" +
  5067. text +
  5068. "`" +
  5069. ")\n" +
  5070. " });\n" +
  5071. "}\n" +
  5072. "document.head.appendChild(_js);\n";
  5073. _iframe.contentWindow.document.head.appendChild(_ajs);
  5074. }
  5075. }
  5076. //U.MD.D.I.openClick(str);
  5077. //如果有任务栏信息
  5078. // if (_taskbar) {
  5079. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5080. // }
  5081. }
  5082. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5083. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5084. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5085. _userid = student.userid, //登录用户id
  5086. _username = student.student //用户名字
  5087. let _iframe;
  5088. let _cid = cid,
  5089. _stage = stage,
  5090. _task = task,
  5091. _tool = tool;
  5092. var _jie = $$("div", {
  5093. "style": {
  5094. "position": "absolute",
  5095. "bottom": "50px",
  5096. "right": "50px",
  5097. "zIndex": "9999",
  5098. "backgroundColor": "#2268bc",
  5099. "color": "#fff",
  5100. "padding": "12px 20px",
  5101. "cursor": "pointer",
  5102. "borderRadius": "4px",
  5103. },
  5104. "innerHTML": "提交作业"
  5105. })
  5106. let aTool = ''
  5107. let _loading = document.createElement('div')
  5108. _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;"
  5109. // _loading.id = "";
  5110. let _lchild = document.createElement('div')
  5111. let _limg = document.createElement('img')
  5112. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5113. _limg.style = "width: 26px;margin-right: 10px;"
  5114. _lchild.appendChild(_limg)
  5115. let _lspan = document.createElement('span')
  5116. _lspan.innerHTML = "上传中..."
  5117. _lchild.appendChild(_lspan)
  5118. _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%);"
  5119. _loading.appendChild(_lchild)
  5120. var _box = $$('div', {
  5121. "style": {
  5122. "position": "relative",
  5123. "width": "100%",
  5124. "height": "100%",
  5125. },
  5126. })
  5127. _box.appendChild(_loading)
  5128. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5129. switch (str) {
  5130. case "whiteboard":
  5131. aTool = 1;
  5132. _iframe = $$("iframe", {
  5133. "frameborder": "no",
  5134. "border": "0",
  5135. "scrolling ": "no",
  5136. "style": {
  5137. "cssText": "border:0;width:100%;height:100%"
  5138. },
  5139. "src": "https://iwb.cocorobo.cn/"
  5140. })
  5141. _box.appendChild(_iframe);
  5142. _box.appendChild(_jie);
  5143. _formdiv = new U.UF.UI.form(
  5144. "电子白板-" + _username,
  5145. _box, {
  5146. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5147. "style": {
  5148. "width": "90%",
  5149. "height": "90%",
  5150. "overflow": 'hidden'
  5151. },
  5152. "onresize": function() {}
  5153. }, {
  5154. closecallback: function() {}
  5155. }, {
  5156. "style": {
  5157. "height": "36px"
  5158. }
  5159. }).form; //创建窗体
  5160. _taskbar = {
  5161. "id": str + _formdiv.id,
  5162. "style": {
  5163. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5164. },
  5165. "name": "电子白板",
  5166. "forms": _formdiv,
  5167. "click": function() {
  5168. U.MD.D.I.openApplication(str, obj, info);
  5169. }
  5170. }
  5171. break;
  5172. case "mind":
  5173. aTool = 3;
  5174. _iframe = $$("iframe", {
  5175. "frameborder": "no",
  5176. "border": "0",
  5177. "scrolling ": "no",
  5178. "style": {
  5179. "cssText": "border:0;width:100%;height:100%"
  5180. },
  5181. "src": "/kityminder-editor/dist/index.html"
  5182. })
  5183. _box.appendChild(_iframe);
  5184. _box.appendChild(_jie);
  5185. _formdiv = new U.UF.UI.form(
  5186. "思维导图-" + _username,
  5187. _box, { //"/jsmind/example/demo.html"
  5188. "id": "mind" + cid + stage + task + tool + _userid,
  5189. "style": {
  5190. "width": "90%",
  5191. "height": "90%",
  5192. "overflow": 'hidden'
  5193. },
  5194. "onresize": function() {}
  5195. }, {
  5196. closecallback: function() {}
  5197. }, {
  5198. "style": {
  5199. "height": "36px"
  5200. }
  5201. }).form; //创建窗体
  5202. _taskbar = {
  5203. "id": str + _formdiv.id,
  5204. "style": {
  5205. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5206. },
  5207. "name": "思维导图",
  5208. "forms": _formdiv,
  5209. "click": function() {
  5210. U.MD.D.I.openApplication(str, obj, info);
  5211. }
  5212. }
  5213. break;
  5214. case "MindMap":
  5215. aTool = 3;
  5216. _iframe = $$("iframe", {
  5217. "frameborder": "no",
  5218. "border": "0",
  5219. "scrolling ": "no",
  5220. "style": {
  5221. "cssText": "border:0;width:100%;height:100%"
  5222. },
  5223. "src": "//cloud.cocorobo.cn/mind/"
  5224. })
  5225. _box.appendChild(_iframe);
  5226. _box.appendChild(_jie);
  5227. _formdiv = new U.UF.UI.form(
  5228. "思维导图-" + _username,
  5229. _box, { //"/jsmind/example/demo.html"
  5230. "id": "mind" + cid + stage + task + tool + _userid,
  5231. "style": {
  5232. "width": "90%",
  5233. "height": "90%",
  5234. "overflow": 'hidden'
  5235. },
  5236. "onresize": function() {}
  5237. }, {
  5238. closecallback: function() {}
  5239. }, {
  5240. "style": {
  5241. "height": "36px"
  5242. }
  5243. }).form; //创建窗体
  5244. _taskbar = {
  5245. "id": str + _formdiv.id,
  5246. "style": {
  5247. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5248. },
  5249. "name": "思维导图",
  5250. "forms": _formdiv,
  5251. "click": function() {
  5252. U.MD.D.I.openApplication(str, obj, info);
  5253. }
  5254. }
  5255. break;
  5256. case "doc":
  5257. aTool = 6;
  5258. _iframe = $$("iframe", {
  5259. "frameborder": "no",
  5260. "border": "0",
  5261. "scrolling ": "no",
  5262. "style": {
  5263. "cssText": "border:0;width:100%;height:100%"
  5264. },
  5265. "src": "/Office/Word/WordEditArea.htm"
  5266. })
  5267. _box.appendChild(_iframe);
  5268. _box.appendChild(_jie);
  5269. _formdiv = new U.UF.UI.form(
  5270. "协同文档-" + _username,
  5271. _box, {
  5272. "id": "doc" + cid + stage + task + tool + _userid,
  5273. "style": {
  5274. "width": "90%",
  5275. "height": "90%",
  5276. "overflow": 'hidden'
  5277. },
  5278. "onresize": function() {}
  5279. }, {
  5280. closecallback: function() {}
  5281. }, {
  5282. "style": {
  5283. "height": "36px"
  5284. }
  5285. }).form; //创建窗体
  5286. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5287. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5288. })
  5289. _taskbar = {
  5290. "id": str + _formdiv.id,
  5291. "style": {
  5292. "backgroundImage": "url(/img/icon/doc.png)"
  5293. },
  5294. "name": "协同文档",
  5295. "forms": _formdiv,
  5296. "click": function() {
  5297. U.MD.D.I.openApplication(str, obj, info);
  5298. }
  5299. }
  5300. break;
  5301. case "mindNetwork": //好友打开
  5302. aTool = 7;
  5303. _iframe = $$("iframe", {
  5304. "webkitallowfullscreen": "",
  5305. "mozallowfullscreen": "",
  5306. "allowfullscreen": "",
  5307. "frameborder": "no",
  5308. "border": "0",
  5309. "scrolling ": "no",
  5310. "style": {
  5311. "cssText": "border:0; width:100%; height:100%;"
  5312. },
  5313. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5314. })
  5315. _box.appendChild(_iframe);
  5316. _box.appendChild(_jie);
  5317. _formdiv = new U.UF.UI.form(
  5318. "思维网格-" + _username,
  5319. _box, {
  5320. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5321. "style": {
  5322. "width": "90%",
  5323. "height": "90%",
  5324. "overflow": 'hidden'
  5325. },
  5326. "onresize": function() {}
  5327. }, {
  5328. closecallback: function() {}
  5329. }, {
  5330. "style": {
  5331. "height": "36px"
  5332. }
  5333. }).form; //创建窗体
  5334. _taskbar = {
  5335. "id": str + _formdiv.id,
  5336. "style": {
  5337. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5338. },
  5339. "name": "思维网格",
  5340. "forms": _formdiv,
  5341. "click": function() {
  5342. U.MD.D.I.openApplication(str, obj, info);
  5343. }
  5344. }
  5345. break;
  5346. case "courseDesign":
  5347. _iframe = $$("iframe", {
  5348. "webkitallowfullscreen": "",
  5349. "mozallowfullscreen": "",
  5350. "allowfullscreen": "",
  5351. "frameborder": "no",
  5352. "border": "0",
  5353. "scrolling ": "no",
  5354. "style": {
  5355. "cssText": "border:0; width:100%; height:100%;"
  5356. },
  5357. "src": "/course-design-vue"
  5358. })
  5359. _box.appendChild(_iframe);
  5360. _box.appendChild(_jie);
  5361. _formdiv = new U.UF.UI.form(
  5362. "项目设计-" + _username,
  5363. _box, {
  5364. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5365. "style": {
  5366. "width": "90%",
  5367. "height": "90%",
  5368. "overflow": 'hidden'
  5369. },
  5370. "onresize": function() {}
  5371. }, {
  5372. closecallback: function() {}
  5373. }, {
  5374. "style": {
  5375. "height": "36px"
  5376. }
  5377. }).form; //创建窗体
  5378. _taskbar = {
  5379. "id": str + _formdiv.id,
  5380. "style": {
  5381. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5382. },
  5383. "name": "项目设计",
  5384. "forms": _formdiv,
  5385. "click": function() {
  5386. U.MD.D.I.openApplication(str, obj, info);
  5387. }
  5388. }
  5389. break;
  5390. }
  5391. const script1 = document.createElement("script");
  5392. script1.type = "text/javascript";
  5393. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5394. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5395. const script2 = document.createElement("script");
  5396. script2.type = "text/javascript";
  5397. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5398. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5399. const script3 = document.createElement("script");
  5400. script3.type = "text/javascript";
  5401. script3.charset = "UTF-8";
  5402. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5403. const script4 = document.createElement("script");
  5404. script4.type = "text/javascript";
  5405. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5406. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5407. if (_iframe) {
  5408. if (str == 'doc') {
  5409. _iframe = _formdiv.querySelector('iframe')
  5410. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5411. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5412. _iframe.contentWindow.document.body.appendChild(script1);
  5413. _iframe.contentWindow.document.body.appendChild(script2);
  5414. // _iframe.contentWindow.document.body.appendChild(script3);
  5415. _iframe.contentWindow.document.body.appendChild(script4);
  5416. })
  5417. if (onloadListener) {
  5418. _iframe.contentDocument.location.reload()
  5419. } else {
  5420. _iframe.contentDocument.location.reload()
  5421. }
  5422. } else if (str == 'courseDesign') {
  5423. U.UF.DL.iframeLoad(_iframe, function() {
  5424. // _iframe.contentWindow.U.MD.O.W.load();
  5425. // _iframe.contentWindow.document.body.appendChild(script1);
  5426. _iframe.contentWindow.document.body.appendChild(script2);
  5427. _iframe.contentWindow.document.body.appendChild(script4);
  5428. })
  5429. } else if (str == 'mind') {
  5430. _iframe = _formdiv.querySelector('iframe')
  5431. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5432. //
  5433. _iframe.contentWindow.document.body.appendChild(script1);
  5434. _iframe.contentWindow.document.body.appendChild(script2);
  5435. _iframe.contentWindow.document.body.appendChild(script4);
  5436. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5437. })
  5438. if (onloadListener) {
  5439. _iframe.contentDocument.location.reload()
  5440. } else {
  5441. _iframe.contentDocument.location.reload()
  5442. }
  5443. } else if (str == 'whiteboard') {
  5444. _iframe = _formdiv.querySelector('iframe')
  5445. let onloadListener = _iframe.onload = () => {
  5446. _iframe.contentWindow.document.body.appendChild(script1);
  5447. _iframe.contentWindow.document.body.appendChild(script2);
  5448. _iframe.contentWindow.document.body.appendChild(script4);
  5449. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5450. };
  5451. if (onloadListener) {
  5452. _iframe.contentDocument.location.reload()
  5453. } else {
  5454. _iframe.contentDocument.location.reload()
  5455. }
  5456. } else {
  5457. _iframe.onload = () => {
  5458. _iframe.contentWindow.document.body.appendChild(script1);
  5459. _iframe.contentWindow.document.body.appendChild(script2);
  5460. // _iframe.contentWindow.document.body.appendChild(script3);
  5461. _iframe.contentWindow.document.body.appendChild(script4);
  5462. };
  5463. }
  5464. _jie.onclick = async() => {
  5465. let text = ''
  5466. if (aTool == 1) {
  5467. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5468. } else if (aTool == 6) {
  5469. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5470. } else if (aTool == 3) {
  5471. text = await U.MD.D.I.getEditorContent(_iframe);
  5472. }
  5473. _loading.style.display = 'flex'
  5474. console.log(_loading);
  5475. var _ajs = _iframe.contentWindow.document.createElement("script");
  5476. _ajs.type = "text/javascript";
  5477. _ajs.innerHTML =
  5478. // 'console.log(' + _loading + ');\n' +
  5479. 'var _js = document.createElement("script");\n' +
  5480. '_js.type="text/javascript";\n' +
  5481. '_js.charset="UTF-8";\n' +
  5482. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5483. "_js.onload = function(){\n" +
  5484. ' var a = document.getElementsByTagName("img")\n' +
  5485. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5486. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5487. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5488. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5489. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5490. "beforeUpload_shishi(file," +
  5491. "'" +
  5492. _userid +
  5493. "'" +
  5494. ", " +
  5495. "'" +
  5496. _cid +
  5497. "'" +
  5498. ", " +
  5499. "'" +
  5500. _stage +
  5501. "'" +
  5502. ", " +
  5503. "'" +
  5504. _task +
  5505. "'" +
  5506. ", " +
  5507. "'" +
  5508. _tool +
  5509. "'" +
  5510. ", " +
  5511. "'" +
  5512. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5513. "'" +
  5514. ", " +
  5515. "'" +
  5516. aTool +
  5517. "'" +
  5518. ", " +
  5519. "`" +
  5520. text +
  5521. "`" +
  5522. ")\n" +
  5523. " });\n" +
  5524. "}\n" +
  5525. "document.head.appendChild(_js);\n";
  5526. _iframe.contentWindow.document.head.appendChild(_ajs);
  5527. }
  5528. }
  5529. }
  5530. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5531. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5532. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5533. _userid = student.userid, //登录用户id
  5534. _username = student.student //用户名字
  5535. let _iframe;
  5536. let _cid = cid,
  5537. _stage = stage,
  5538. _task = task,
  5539. _tool = tool;
  5540. var _jie = $$("div", {
  5541. "style": {
  5542. "position": "absolute",
  5543. "bottom": "50px",
  5544. "right": "50px",
  5545. "zIndex": "9999",
  5546. "backgroundColor": "#2268bc",
  5547. "color": "#fff",
  5548. "padding": "12px 20px",
  5549. "cursor": "pointer",
  5550. "borderRadius": "4px",
  5551. },
  5552. "innerHTML": "提交作业"
  5553. })
  5554. let aTool = ''
  5555. let _loading = document.createElement('div')
  5556. _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;"
  5557. // _loading.id = "";
  5558. let _lchild = document.createElement('div')
  5559. let _limg = document.createElement('img')
  5560. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5561. _limg.style = "width: 26px;margin-right: 10px;"
  5562. _lchild.appendChild(_limg)
  5563. let _lspan = document.createElement('span')
  5564. _lspan.innerHTML = "上传中..."
  5565. _lchild.appendChild(_lspan)
  5566. _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%);"
  5567. _loading.appendChild(_lchild)
  5568. var _box = $$('div', {
  5569. "style": {
  5570. "position": "relative",
  5571. "width": "100%",
  5572. "height": "100%",
  5573. },
  5574. })
  5575. _box.appendChild(_loading)
  5576. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5577. switch (str) {
  5578. case "whiteboard":
  5579. aTool = 1;
  5580. _iframe = $$("iframe", {
  5581. "frameborder": "no",
  5582. "border": "0",
  5583. "scrolling ": "no",
  5584. "style": {
  5585. "cssText": "border:0;width:100%;height:100%"
  5586. },
  5587. "src": "https://iwb.cocorobo.cn/"
  5588. })
  5589. _box.appendChild(_iframe);
  5590. _box.appendChild(_jie);
  5591. _formdiv = new U.UF.UI.form(
  5592. "电子白板-" + _username,
  5593. _box, {
  5594. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5595. "style": {
  5596. "width": "90%",
  5597. "height": "90%",
  5598. "overflow": 'hidden'
  5599. },
  5600. "onresize": function() {}
  5601. }, {
  5602. closecallback: function() {}
  5603. }, {
  5604. "style": {
  5605. "height": "36px"
  5606. }
  5607. }).form; //创建窗体
  5608. _taskbar = {
  5609. "id": str + _formdiv.id,
  5610. "style": {
  5611. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5612. },
  5613. "name": "电子白板",
  5614. "forms": _formdiv,
  5615. "click": function() {
  5616. U.MD.D.I.openApplication(str, obj, info);
  5617. }
  5618. }
  5619. break;
  5620. case "mind":
  5621. aTool = 3;
  5622. _iframe = $$("iframe", {
  5623. "frameborder": "no",
  5624. "border": "0",
  5625. "scrolling ": "no",
  5626. "style": {
  5627. "cssText": "border:0;width:100%;height:100%"
  5628. },
  5629. "src": "/kityminder-editor/dist/index.html"
  5630. })
  5631. _box.appendChild(_iframe);
  5632. _box.appendChild(_jie);
  5633. _formdiv = new U.UF.UI.form(
  5634. "思维导图-" + _username,
  5635. _box, { //"/jsmind/example/demo.html"
  5636. "id": "mind" + cid + stage + task + tool + _userid,
  5637. "style": {
  5638. "width": "90%",
  5639. "height": "90%",
  5640. "overflow": 'hidden'
  5641. },
  5642. "onresize": function() {}
  5643. }, {
  5644. closecallback: function() {}
  5645. }, {
  5646. "style": {
  5647. "height": "36px"
  5648. }
  5649. }).form; //创建窗体
  5650. _taskbar = {
  5651. "id": str + _formdiv.id,
  5652. "style": {
  5653. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5654. },
  5655. "name": "思维导图",
  5656. "forms": _formdiv,
  5657. "click": function() {
  5658. U.MD.D.I.openApplication(str, obj, info);
  5659. }
  5660. }
  5661. break;
  5662. case "MindMap":
  5663. aTool = 3;
  5664. _iframe = $$("iframe", {
  5665. "frameborder": "no",
  5666. "border": "0",
  5667. "scrolling ": "no",
  5668. "style": {
  5669. "cssText": "border:0;width:100%;height:100%"
  5670. },
  5671. "src": "//cloud.cocorobo.cn/mind/"
  5672. })
  5673. _box.appendChild(_iframe);
  5674. _box.appendChild(_jie);
  5675. _formdiv = new U.UF.UI.form(
  5676. "思维导图-" + _username,
  5677. _box, { //"/jsmind/example/demo.html"
  5678. "id": "mind" + cid + stage + task + tool + _userid,
  5679. "style": {
  5680. "width": "90%",
  5681. "height": "90%",
  5682. "overflow": 'hidden'
  5683. },
  5684. "onresize": function() {}
  5685. }, {
  5686. closecallback: function() {}
  5687. }, {
  5688. "style": {
  5689. "height": "36px"
  5690. }
  5691. }).form; //创建窗体
  5692. _taskbar = {
  5693. "id": str + _formdiv.id,
  5694. "style": {
  5695. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5696. },
  5697. "name": "思维导图",
  5698. "forms": _formdiv,
  5699. "click": function() {
  5700. U.MD.D.I.openApplication(str, obj, info);
  5701. }
  5702. }
  5703. break;
  5704. case "doc":
  5705. aTool = 6;
  5706. _iframe = $$("iframe", {
  5707. "frameborder": "no",
  5708. "border": "0",
  5709. "scrolling ": "no",
  5710. "style": {
  5711. "cssText": "border:0;width:100%;height:100%"
  5712. },
  5713. "src": "/Office/Word/WordEditArea.htm"
  5714. })
  5715. _box.appendChild(_iframe);
  5716. _box.appendChild(_jie);
  5717. _formdiv = new U.UF.UI.form(
  5718. "协同文档-" + _username,
  5719. _box, {
  5720. "id": "doc" + cid + stage + task + tool + _userid,
  5721. "style": {
  5722. "width": "90%",
  5723. "height": "90%",
  5724. "overflow": 'hidden'
  5725. },
  5726. "onresize": function() {}
  5727. }, {
  5728. closecallback: function() {}
  5729. }, {
  5730. "style": {
  5731. "height": "36px"
  5732. }
  5733. }).form; //创建窗体
  5734. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5735. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5736. })
  5737. _taskbar = {
  5738. "id": str + _formdiv.id,
  5739. "style": {
  5740. "backgroundImage": "url(/img/icon/doc.png)"
  5741. },
  5742. "name": "协同文档",
  5743. "forms": _formdiv,
  5744. "click": function() {
  5745. U.MD.D.I.openApplication(str, obj, info);
  5746. }
  5747. }
  5748. break;
  5749. case "mindNetwork": //好友打开
  5750. aTool = 7;
  5751. _iframe = $$("iframe", {
  5752. "webkitallowfullscreen": "",
  5753. "mozallowfullscreen": "",
  5754. "allowfullscreen": "",
  5755. "frameborder": "no",
  5756. "border": "0",
  5757. "scrolling ": "no",
  5758. "style": {
  5759. "cssText": "border:0; width:100%; height:100%;"
  5760. },
  5761. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5762. })
  5763. _box.appendChild(_iframe);
  5764. _box.appendChild(_jie);
  5765. _formdiv = new U.UF.UI.form(
  5766. "思维网格-" + _username,
  5767. _box, {
  5768. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5769. "style": {
  5770. "width": "90%",
  5771. "height": "90%",
  5772. "overflow": 'hidden'
  5773. },
  5774. "onresize": function() {}
  5775. }, {
  5776. closecallback: function() {}
  5777. }, {
  5778. "style": {
  5779. "height": "36px"
  5780. }
  5781. }).form; //创建窗体
  5782. _taskbar = {
  5783. "id": str + _formdiv.id,
  5784. "style": {
  5785. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5786. },
  5787. "name": "思维网格",
  5788. "forms": _formdiv,
  5789. "click": function() {
  5790. U.MD.D.I.openApplication(str, obj, info);
  5791. }
  5792. }
  5793. break;
  5794. case "courseDesign":
  5795. _iframe = $$("iframe", {
  5796. "webkitallowfullscreen": "",
  5797. "mozallowfullscreen": "",
  5798. "allowfullscreen": "",
  5799. "frameborder": "no",
  5800. "border": "0",
  5801. "scrolling ": "no",
  5802. "style": {
  5803. "cssText": "border:0; width:100%; height:100%;"
  5804. },
  5805. "src": "/course-design-vue"
  5806. })
  5807. _box.appendChild(_iframe);
  5808. _box.appendChild(_jie);
  5809. _formdiv = new U.UF.UI.form(
  5810. "项目设计-" + _username,
  5811. _box, {
  5812. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5813. "style": {
  5814. "width": "90%",
  5815. "height": "90%",
  5816. "overflow": 'hidden'
  5817. },
  5818. "onresize": function() {}
  5819. }, {
  5820. closecallback: function() {}
  5821. }, {
  5822. "style": {
  5823. "height": "36px"
  5824. }
  5825. }).form; //创建窗体
  5826. _taskbar = {
  5827. "id": str + _formdiv.id,
  5828. "style": {
  5829. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5830. },
  5831. "name": "项目设计",
  5832. "forms": _formdiv,
  5833. "click": function() {
  5834. U.MD.D.I.openApplication(str, obj, info);
  5835. }
  5836. }
  5837. break;
  5838. }
  5839. const script1 = document.createElement("script");
  5840. script1.type = "text/javascript";
  5841. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5842. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5843. const script2 = document.createElement("script");
  5844. script2.type = "text/javascript";
  5845. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5846. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5847. const script3 = document.createElement("script");
  5848. script3.type = "text/javascript";
  5849. script3.charset = "UTF-8";
  5850. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5851. const script4 = document.createElement("script");
  5852. script4.type = "text/javascript";
  5853. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5854. script4.src = window.origin + "/js/Common/jietu2E.js";
  5855. if (_iframe) {
  5856. if (str == 'doc') {
  5857. _iframe = _formdiv.querySelector('iframe')
  5858. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5859. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5860. _iframe.contentWindow.document.body.appendChild(script1);
  5861. _iframe.contentWindow.document.body.appendChild(script2);
  5862. // _iframe.contentWindow.document.body.appendChild(script3);
  5863. _iframe.contentWindow.document.body.appendChild(script4);
  5864. })
  5865. if (onloadListener) {
  5866. _iframe.contentDocument.location.reload()
  5867. } else {
  5868. _iframe.contentDocument.location.reload()
  5869. }
  5870. } else if (str == 'courseDesign') {
  5871. U.UF.DL.iframeLoad(_iframe, function() {
  5872. // _iframe.contentWindow.U.MD.O.W.load();
  5873. // _iframe.contentWindow.document.body.appendChild(script1);
  5874. _iframe.contentWindow.document.body.appendChild(script2);
  5875. _iframe.contentWindow.document.body.appendChild(script4);
  5876. })
  5877. } else if (str == 'mind') {
  5878. _iframe = _formdiv.querySelector('iframe')
  5879. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5880. //
  5881. _iframe.contentWindow.document.body.appendChild(script1);
  5882. _iframe.contentWindow.document.body.appendChild(script2);
  5883. _iframe.contentWindow.document.body.appendChild(script4);
  5884. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5885. })
  5886. if (onloadListener) {
  5887. _iframe.contentDocument.location.reload()
  5888. } else {
  5889. _iframe.contentDocument.location.reload()
  5890. }
  5891. } else if (str == 'whiteboard') {
  5892. _iframe = _formdiv.querySelector('iframe')
  5893. let onloadListener = _iframe.onload = () => {
  5894. _iframe.contentWindow.document.body.appendChild(script1);
  5895. _iframe.contentWindow.document.body.appendChild(script2);
  5896. _iframe.contentWindow.document.body.appendChild(script4);
  5897. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5898. };
  5899. if (onloadListener) {
  5900. _iframe.contentDocument.location.reload()
  5901. } else {
  5902. _iframe.contentDocument.location.reload()
  5903. }
  5904. } else {
  5905. _iframe.onload = () => {
  5906. _iframe.contentWindow.document.body.appendChild(script1);
  5907. _iframe.contentWindow.document.body.appendChild(script2);
  5908. // _iframe.contentWindow.document.body.appendChild(script3);
  5909. _iframe.contentWindow.document.body.appendChild(script4);
  5910. };
  5911. }
  5912. _jie.onclick = async() => {
  5913. let text = ''
  5914. if (aTool == 1) {
  5915. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5916. } else if (aTool == 6) {
  5917. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5918. } else if (aTool == 3) {
  5919. text = await U.MD.D.I.getEditorContent(_iframe);
  5920. }
  5921. _loading.style.display = 'flex'
  5922. console.log(_loading);
  5923. var _ajs = _iframe.contentWindow.document.createElement("script");
  5924. _ajs.type = "text/javascript";
  5925. _ajs.innerHTML =
  5926. // 'console.log(' + _loading + ');\n' +
  5927. 'var _js = document.createElement("script");\n' +
  5928. '_js.type="text/javascript";\n' +
  5929. '_js.charset="UTF-8";\n' +
  5930. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5931. "_js.onload = function(){\n" +
  5932. ' var a = document.getElementsByTagName("img")\n' +
  5933. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5934. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5935. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5936. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5937. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5938. "beforeUpload_shishi(file," +
  5939. "'" +
  5940. _userid +
  5941. "'" +
  5942. ", " +
  5943. "'" +
  5944. _cid +
  5945. "'" +
  5946. ", " +
  5947. "'" +
  5948. _stage +
  5949. "'" +
  5950. ", " +
  5951. "'" +
  5952. _task +
  5953. "'" +
  5954. ", " +
  5955. "'" +
  5956. _tool +
  5957. "'" +
  5958. ", " +
  5959. "'" +
  5960. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  5961. "'" +
  5962. ", " +
  5963. "'" +
  5964. aTool +
  5965. "'" +
  5966. ", " +
  5967. "`" +
  5968. text +
  5969. "`" +
  5970. ")\n" +
  5971. " });\n" +
  5972. "}\n" +
  5973. "document.head.appendChild(_js);\n";
  5974. _iframe.contentWindow.document.head.appendChild(_ajs);
  5975. }
  5976. }
  5977. }
  5978. U.MD.D.I.getEditorContent = function(iframe) {
  5979. return new Promise((resolve, reject) => {
  5980. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  5981. console.log(content);
  5982. resolve(content)
  5983. });
  5984. });
  5985. }
  5986. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  5987. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  5988. // if (res.value[0].length > 0) {
  5989. // // resolve(res.value[0][0].text);
  5990. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  5991. // $(fileInput).val('');
  5992. // });
  5993. // }
  5994. // }, [], { "type": "GET", "withCredentials": true });
  5995. var xmlhttp;
  5996. var Mac, Sn, DeviceId
  5997. if (window.XMLHttpRequest) {
  5998. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  5999. xmlhttp = new XMLHttpRequest();
  6000. } else {
  6001. // IE6, IE5 浏览器执行代码
  6002. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6003. }
  6004. xmlhttp.onreadystatechange = function() {
  6005. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6006. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6007. // resolve(res.value[0][0].text);
  6008. if (type == '2') {
  6009. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6010. } else if (type == '3') {
  6011. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6012. }
  6013. } else {
  6014. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6015. }
  6016. }
  6017. }
  6018. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6019. xmlhttp.send();
  6020. }
  6021. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6022. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6023. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6024. _userinfo = US.userInfo, //登录用户信息
  6025. _userid = US.userInfo.userid //登录用户id
  6026. let _iframe;
  6027. let _cid = cid,
  6028. _stage = stage,
  6029. _task = task,
  6030. _tool = tool;
  6031. var _jie = $$("div", {
  6032. "style": {
  6033. "position": "absolute",
  6034. "bottom": "50px",
  6035. "right": "50px",
  6036. "zIndex": "9999",
  6037. "backgroundColor": "#2268bc",
  6038. "color": "#fff",
  6039. "padding": "12px 20px",
  6040. "cursor": "pointer",
  6041. "borderRadius": "4px",
  6042. },
  6043. "innerHTML": "确认并提交"
  6044. })
  6045. let aTool = ''
  6046. let _loading = document.createElement('div')
  6047. _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;"
  6048. // _loading.id = "";
  6049. let _lchild = document.createElement('div')
  6050. let _limg = document.createElement('img')
  6051. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6052. _limg.style = "width: 26px;margin-right: 10px;"
  6053. _lchild.appendChild(_limg)
  6054. let _lspan = document.createElement('span')
  6055. _lspan.innerHTML = "上传中..."
  6056. _lchild.appendChild(_lspan)
  6057. _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%);"
  6058. _loading.appendChild(_lchild)
  6059. var _box = $$('div', {
  6060. "style": {
  6061. "position": "relative",
  6062. "width": "100%",
  6063. "height": "100%",
  6064. },
  6065. })
  6066. _box.appendChild(_loading)
  6067. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6068. switch (str) {
  6069. case "whiteboard":
  6070. aTool = 1;
  6071. _iframe = $$("iframe", {
  6072. "frameborder": "no",
  6073. "border": "0",
  6074. "scrolling ": "no",
  6075. "style": {
  6076. "cssText": "border:0;width:100%;height:100%"
  6077. },
  6078. "src": "https://iwb.cocorobo.cn/"
  6079. })
  6080. _box.appendChild(_iframe);
  6081. _box.appendChild(_jie);
  6082. _formdiv = new U.UF.UI.form(
  6083. "电子白板",
  6084. _box, {
  6085. "id": "whiteboards" + cid + stage + task + tool,
  6086. "style": {
  6087. "width": "90%",
  6088. "height": "90%",
  6089. "overflow": 'hidden'
  6090. },
  6091. "onresize": function() {}
  6092. }, {
  6093. closecallback: function() {}
  6094. }, {
  6095. "style": {
  6096. "height": "36px"
  6097. }
  6098. }).form; //创建窗体
  6099. _taskbar = {
  6100. "id": str + _formdiv.id,
  6101. "style": {
  6102. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6103. },
  6104. "name": "电子白板",
  6105. "forms": _formdiv,
  6106. "click": function() {
  6107. U.MD.D.I.openApplication(str, obj, info);
  6108. }
  6109. }
  6110. break;
  6111. case "mind":
  6112. aTool = 3;
  6113. _iframe = $$("iframe", {
  6114. "frameborder": "no",
  6115. "border": "0",
  6116. "scrolling ": "no",
  6117. "style": {
  6118. "cssText": "border:0;width:100%;height:100%"
  6119. },
  6120. "src": "/kityminder-editor/dist/index.html"
  6121. });
  6122. _box.appendChild(_iframe);
  6123. _box.appendChild(_jie);
  6124. _formdiv = new U.UF.UI.form(
  6125. "思维导图",
  6126. _box, { //"/jsmind/example/demo.html"
  6127. "id": "minds" + cid + stage + task + tool,
  6128. "style": {
  6129. "width": "90%",
  6130. "height": "90%",
  6131. "overflow": 'hidden'
  6132. },
  6133. "onresize": function() {}
  6134. }, {
  6135. closecallback: function() {}
  6136. }, {
  6137. "style": {
  6138. "height": "36px"
  6139. }
  6140. }).form; //创建窗体
  6141. _taskbar = {
  6142. "id": str + _formdiv.id,
  6143. "style": {
  6144. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6145. },
  6146. "name": "思维导图",
  6147. "forms": _formdiv,
  6148. "click": function() {
  6149. U.MD.D.I.openApplication(str, obj, info);
  6150. }
  6151. }
  6152. break;
  6153. case "doc":
  6154. aTool = 6;
  6155. _iframe = $$("iframe", {
  6156. "frameborder": "no",
  6157. "border": "0",
  6158. "scrolling ": "no",
  6159. "style": {
  6160. "cssText": "border:0;width:100%;height:100%"
  6161. },
  6162. "src": "/Office/Word/WordEditArea.htm"
  6163. })
  6164. _box.appendChild(_iframe);
  6165. _box.appendChild(_jie);
  6166. _formdiv = new U.UF.UI.form(
  6167. "协同文档",
  6168. _box, {
  6169. "id": "docs" + cid + stage + task + tool,
  6170. "style": {
  6171. "width": "90%",
  6172. "height": "90%",
  6173. "overflow": 'hidden'
  6174. },
  6175. "onresize": function() {}
  6176. }, {
  6177. closecallback: function() {}
  6178. }, {
  6179. "style": {
  6180. "height": "36px"
  6181. }
  6182. }).form; //创建窗体
  6183. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6184. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6185. })
  6186. _taskbar = {
  6187. "id": str + _formdiv.id,
  6188. "style": {
  6189. "backgroundImage": "url(/img/icon/doc.png)"
  6190. },
  6191. "name": "协同文档",
  6192. "forms": _formdiv,
  6193. "click": function() {
  6194. U.MD.D.I.openApplication(str, obj, info);
  6195. }
  6196. }
  6197. break;
  6198. }
  6199. const script1 = document.createElement("script");
  6200. script1.type = "text/javascript";
  6201. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6202. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6203. const script2 = document.createElement("script");
  6204. script2.type = "text/javascript";
  6205. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6206. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6207. const script3 = document.createElement("script");
  6208. script3.type = "text/javascript";
  6209. script3.charset = "UTF-8";
  6210. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6211. const script4 = document.createElement("script");
  6212. script4.type = "text/javascript";
  6213. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6214. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6215. if (_iframe) {
  6216. if (str == 'doc') {
  6217. _iframe = _formdiv.querySelector('iframe')
  6218. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6219. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6220. _iframe.contentWindow.document.body.appendChild(script1);
  6221. _iframe.contentWindow.document.body.appendChild(script2);
  6222. // _iframe.contentWindow.document.body.appendChild(script3);
  6223. _iframe.contentWindow.document.body.appendChild(script4);
  6224. })
  6225. if (onloadListener) {
  6226. _iframe.contentDocument.location.reload()
  6227. } else {
  6228. _iframe.contentDocument.location.reload()
  6229. }
  6230. } else if (str == 'mind') {
  6231. _iframe = _formdiv.querySelector('iframe')
  6232. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6233. _iframe.contentWindow.document.body.appendChild(script1);
  6234. _iframe.contentWindow.document.body.appendChild(script2);
  6235. _iframe.contentWindow.document.body.appendChild(script4);
  6236. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6237. })
  6238. if (onloadListener) {
  6239. _iframe.contentDocument.location.reload()
  6240. } else {
  6241. _iframe.contentDocument.location.reload()
  6242. }
  6243. } else {
  6244. _iframe.onload = () => {
  6245. _iframe.contentWindow.document.body.appendChild(script1);
  6246. _iframe.contentWindow.document.body.appendChild(script2);
  6247. // _iframe.contentWindow.document.body.appendChild(script3);
  6248. _iframe.contentWindow.document.body.appendChild(script4);
  6249. };
  6250. }
  6251. _jie.onclick = async() => {
  6252. let text = ''
  6253. if (aTool == 6) {
  6254. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6255. } else if (aTool == 3) {
  6256. text = await U.MD.D.I.getEditorContent(_iframe);
  6257. }
  6258. _loading.style.display = 'flex'
  6259. console.log(_loading);
  6260. var _ajs = _iframe.contentWindow.document.createElement("script");
  6261. _ajs.type = "text/javascript";
  6262. _ajs.innerHTML =
  6263. // 'console.log(' + _loading + ');\n' +
  6264. 'var _js = document.createElement("script");\n' +
  6265. '_js.type="text/javascript";\n' +
  6266. '_js.charset="UTF-8";\n' +
  6267. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6268. "_js.onload = function(){\n" +
  6269. ' var a = document.getElementsByTagName("img")\n' +
  6270. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6271. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6272. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6273. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6274. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6275. "beforeUpload_shishi(file," +
  6276. "'" +
  6277. _userid +
  6278. "'" +
  6279. ", " +
  6280. "'" +
  6281. _cid +
  6282. "'" +
  6283. ", " +
  6284. "'" +
  6285. _stage +
  6286. "'" +
  6287. ", " +
  6288. "'" +
  6289. _task +
  6290. "'" +
  6291. ", " +
  6292. "'" +
  6293. _tool +
  6294. "'" +
  6295. ", " +
  6296. "'" +
  6297. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6298. "'" +
  6299. ", " +
  6300. "'" +
  6301. aTool +
  6302. "'" +
  6303. ", " +
  6304. "`" +
  6305. text +
  6306. "`" +
  6307. ")\n" +
  6308. " });\n" +
  6309. "}\n" +
  6310. "document.head.appendChild(_js);\n";
  6311. _iframe.contentWindow.document.head.appendChild(_ajs);
  6312. }
  6313. }
  6314. //U.MD.D.I.openClick(str);
  6315. //如果有任务栏信息
  6316. // if (_taskbar) {
  6317. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6318. // }
  6319. }
  6320. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6321. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6322. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6323. _userinfo = US.userInfo, //登录用户信息
  6324. _userid = US.userInfo.userid //登录用户id
  6325. let _iframe;
  6326. let _cid = cid,
  6327. _stage = stage,
  6328. _task = task,
  6329. _tool = tool;
  6330. var _jie = $$("div", {
  6331. "style": {
  6332. "position": "absolute",
  6333. "bottom": "50px",
  6334. "right": "50px",
  6335. "zIndex": "9999",
  6336. "backgroundColor": "#2268bc",
  6337. "color": "#fff",
  6338. "padding": "12px 20px",
  6339. "cursor": "pointer",
  6340. "borderRadius": "4px",
  6341. },
  6342. "innerHTML": "确认并提交"
  6343. })
  6344. let aTool = ''
  6345. let _loading = document.createElement('div')
  6346. _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;"
  6347. // _loading.id = "";
  6348. let _lchild = document.createElement('div')
  6349. let _limg = document.createElement('img')
  6350. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6351. _limg.style = "width: 26px;margin-right: 10px;"
  6352. _lchild.appendChild(_limg)
  6353. let _lspan = document.createElement('span')
  6354. _lspan.innerHTML = "上传中..."
  6355. _lchild.appendChild(_lspan)
  6356. _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%);"
  6357. _loading.appendChild(_lchild)
  6358. var _box = $$('div', {
  6359. "style": {
  6360. "position": "relative",
  6361. "width": "100%",
  6362. "height": "100%",
  6363. },
  6364. })
  6365. _box.appendChild(_loading)
  6366. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6367. switch (str) {
  6368. case "whiteboard":
  6369. aTool = 1;
  6370. _iframe = $$("iframe", {
  6371. "frameborder": "no",
  6372. "border": "0",
  6373. "scrolling ": "no",
  6374. "style": {
  6375. "cssText": "border:0;width:100%;height:100%"
  6376. },
  6377. "src": "https://iwb.cocorobo.cn/"
  6378. })
  6379. _box.appendChild(_iframe);
  6380. _box.appendChild(_jie);
  6381. _formdiv = new U.UF.UI.form(
  6382. "电子白板",
  6383. _box, {
  6384. "id": "whiteboards" + cid + stage + task + tool,
  6385. "style": {
  6386. "width": "90%",
  6387. "height": "90%",
  6388. "overflow": 'hidden'
  6389. },
  6390. "onresize": function() {}
  6391. }, {
  6392. closecallback: function() {}
  6393. }, {
  6394. "style": {
  6395. "height": "36px"
  6396. }
  6397. }).form; //创建窗体
  6398. _taskbar = {
  6399. "id": str + _formdiv.id,
  6400. "style": {
  6401. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6402. },
  6403. "name": "电子白板",
  6404. "forms": _formdiv,
  6405. "click": function() {
  6406. U.MD.D.I.openApplication(str, obj, info);
  6407. }
  6408. }
  6409. break;
  6410. case "mind":
  6411. aTool = 3;
  6412. _iframe = $$("iframe", {
  6413. "frameborder": "no",
  6414. "border": "0",
  6415. "scrolling ": "no",
  6416. "style": {
  6417. "cssText": "border:0;width:100%;height:100%"
  6418. },
  6419. "src": "/kityminder-editor/dist/index.html"
  6420. });
  6421. _box.appendChild(_iframe);
  6422. _box.appendChild(_jie);
  6423. _formdiv = new U.UF.UI.form(
  6424. "思维导图",
  6425. _box, { //"/jsmind/example/demo.html"
  6426. "id": "minds" + cid + stage + task + tool,
  6427. "style": {
  6428. "width": "90%",
  6429. "height": "90%",
  6430. "overflow": 'hidden'
  6431. },
  6432. "onresize": function() {}
  6433. }, {
  6434. closecallback: function() {}
  6435. }, {
  6436. "style": {
  6437. "height": "36px"
  6438. }
  6439. }).form; //创建窗体
  6440. _taskbar = {
  6441. "id": str + _formdiv.id,
  6442. "style": {
  6443. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6444. },
  6445. "name": "思维导图",
  6446. "forms": _formdiv,
  6447. "click": function() {
  6448. U.MD.D.I.openApplication(str, obj, info);
  6449. }
  6450. }
  6451. break;
  6452. case "doc":
  6453. aTool = 6;
  6454. _iframe = $$("iframe", {
  6455. "frameborder": "no",
  6456. "border": "0",
  6457. "scrolling ": "no",
  6458. "style": {
  6459. "cssText": "border:0;width:100%;height:100%"
  6460. },
  6461. "src": "/Office/Word/WordEditArea.htm"
  6462. })
  6463. _box.appendChild(_iframe);
  6464. _box.appendChild(_jie);
  6465. _formdiv = new U.UF.UI.form(
  6466. "协同文档",
  6467. _box, {
  6468. "id": "docs" + cid + stage + task + tool,
  6469. "style": {
  6470. "width": "90%",
  6471. "height": "90%",
  6472. "overflow": 'hidden'
  6473. },
  6474. "onresize": function() {}
  6475. }, {
  6476. closecallback: function() {}
  6477. }, {
  6478. "style": {
  6479. "height": "36px"
  6480. }
  6481. }).form; //创建窗体
  6482. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6483. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6484. })
  6485. _taskbar = {
  6486. "id": str + _formdiv.id,
  6487. "style": {
  6488. "backgroundImage": "url(/img/icon/doc.png)"
  6489. },
  6490. "name": "协同文档",
  6491. "forms": _formdiv,
  6492. "click": function() {
  6493. U.MD.D.I.openApplication(str, obj, info);
  6494. }
  6495. }
  6496. break;
  6497. }
  6498. const script1 = document.createElement("script");
  6499. script1.type = "text/javascript";
  6500. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6501. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6502. const script2 = document.createElement("script");
  6503. script2.type = "text/javascript";
  6504. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6505. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6506. const script3 = document.createElement("script");
  6507. script3.type = "text/javascript";
  6508. script3.charset = "UTF-8";
  6509. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6510. const script4 = document.createElement("script");
  6511. script4.type = "text/javascript";
  6512. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6513. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6514. if (_iframe) {
  6515. if (str == 'doc') {
  6516. _iframe = _formdiv.querySelector('iframe')
  6517. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6518. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6519. _iframe.contentWindow.document.body.appendChild(script1);
  6520. _iframe.contentWindow.document.body.appendChild(script2);
  6521. // _iframe.contentWindow.document.body.appendChild(script3);
  6522. _iframe.contentWindow.document.body.appendChild(script4);
  6523. })
  6524. if (onloadListener) {
  6525. _iframe.contentDocument.location.reload()
  6526. } else {
  6527. _iframe.contentDocument.location.reload()
  6528. }
  6529. } else if (str == 'mind') {
  6530. _iframe = _formdiv.querySelector('iframe')
  6531. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6532. _iframe.contentWindow.document.body.appendChild(script1);
  6533. _iframe.contentWindow.document.body.appendChild(script2);
  6534. _iframe.contentWindow.document.body.appendChild(script4);
  6535. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6536. })
  6537. if (onloadListener) {
  6538. _iframe.contentDocument.location.reload()
  6539. } else {
  6540. _iframe.contentDocument.location.reload()
  6541. }
  6542. } else {
  6543. _iframe.onload = () => {
  6544. _iframe.contentWindow.document.body.appendChild(script1);
  6545. _iframe.contentWindow.document.body.appendChild(script2);
  6546. // _iframe.contentWindow.document.body.appendChild(script3);
  6547. _iframe.contentWindow.document.body.appendChild(script4);
  6548. };
  6549. }
  6550. _jie.onclick = async() => {
  6551. let text = ''
  6552. if (aTool == 6) {
  6553. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6554. } else if (aTool == 3) {
  6555. text = await U.MD.D.I.getEditorContent(_iframe);
  6556. }
  6557. _loading.style.display = 'flex'
  6558. console.log(_loading);
  6559. var _ajs = _iframe.contentWindow.document.createElement("script");
  6560. _ajs.type = "text/javascript";
  6561. _ajs.innerHTML =
  6562. // 'console.log(' + _loading + ');\n' +
  6563. 'var _js = document.createElement("script");\n' +
  6564. '_js.type="text/javascript";\n' +
  6565. '_js.charset="UTF-8";\n' +
  6566. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6567. "_js.onload = function(){\n" +
  6568. ' var a = document.getElementsByTagName("img")\n' +
  6569. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6570. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6571. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6572. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6573. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6574. "beforeUpload_shishi(file," +
  6575. "'" +
  6576. _userid +
  6577. "'" +
  6578. ", " +
  6579. "'" +
  6580. _cid +
  6581. "'" +
  6582. ", " +
  6583. "'" +
  6584. _stage +
  6585. "'" +
  6586. ", " +
  6587. "'" +
  6588. _task +
  6589. "'" +
  6590. ", " +
  6591. "'" +
  6592. _tool +
  6593. "'" +
  6594. ", " +
  6595. "'" +
  6596. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6597. "'" +
  6598. ", " +
  6599. "'" +
  6600. aTool +
  6601. "'" +
  6602. ", " +
  6603. "`" +
  6604. text +
  6605. "`" +
  6606. ")\n" +
  6607. " });\n" +
  6608. "}\n" +
  6609. "document.head.appendChild(_js);\n";
  6610. _iframe.contentWindow.document.head.appendChild(_ajs);
  6611. }
  6612. }
  6613. //U.MD.D.I.openClick(str);
  6614. //如果有任务栏信息
  6615. // if (_taskbar) {
  6616. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6617. // }
  6618. }
  6619. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6620. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6621. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6622. _userinfo = US.userInfo, //登录用户信息
  6623. _userid = US.userInfo.userid //登录用户id
  6624. let _iframe;
  6625. let _cid = cid,
  6626. _stage = stage,
  6627. _task = task,
  6628. _tool = tool;
  6629. var _jie = $$("div", {
  6630. "style": {
  6631. "position": "absolute",
  6632. "bottom": "50px",
  6633. "right": "50px",
  6634. "zIndex": "9999",
  6635. "backgroundColor": "#2268bc",
  6636. "color": "#fff",
  6637. "padding": "12px 20px",
  6638. "cursor": "pointer",
  6639. "borderRadius": "4px",
  6640. },
  6641. "innerHTML": "上传模板"
  6642. })
  6643. let aTool = ''
  6644. let _loading = document.createElement('div')
  6645. _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;"
  6646. // _loading.id = "";
  6647. let _lchild = document.createElement('div')
  6648. let _limg = document.createElement('img')
  6649. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6650. _limg.style = "width: 26px;margin-right: 10px;"
  6651. _lchild.appendChild(_limg)
  6652. let _lspan = document.createElement('span')
  6653. _lspan.innerHTML = "上传中..."
  6654. _lchild.appendChild(_lspan)
  6655. _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%);"
  6656. _loading.appendChild(_lchild)
  6657. var _box = $$('div', {
  6658. "style": {
  6659. "position": "relative",
  6660. "width": "100%",
  6661. "height": "100%",
  6662. },
  6663. })
  6664. _box.appendChild(_loading)
  6665. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6666. switch (str) {
  6667. case "whiteboard":
  6668. aTool = 1;
  6669. _iframe = $$("iframe", {
  6670. "frameborder": "no",
  6671. "border": "0",
  6672. "scrolling ": "no",
  6673. "style": {
  6674. "cssText": "border:0;width:100%;height:100%"
  6675. },
  6676. "src": "https://iwb.cocorobo.cn/"
  6677. })
  6678. _box.appendChild(_iframe);
  6679. _box.appendChild(_jie);
  6680. _formdiv = new U.UF.UI.form(
  6681. "电子白板",
  6682. _box, {
  6683. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6684. "style": {
  6685. "width": "90%",
  6686. "height": "90%",
  6687. "overflow": 'hidden'
  6688. },
  6689. "onresize": function() {}
  6690. }, {
  6691. closecallback: function() {}
  6692. }, {
  6693. "style": {
  6694. "height": "36px"
  6695. }
  6696. }).form; //创建窗体
  6697. _taskbar = {
  6698. "id": str + _formdiv.id,
  6699. "style": {
  6700. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6701. },
  6702. "name": "电子白板",
  6703. "forms": _formdiv,
  6704. "click": function() {
  6705. U.MD.D.I.openApplication(str, obj, info);
  6706. }
  6707. }
  6708. break;
  6709. case "mind":
  6710. aTool = 3;
  6711. _iframe = $$("iframe", {
  6712. "frameborder": "no",
  6713. "border": "0",
  6714. "scrolling ": "no",
  6715. "style": {
  6716. "cssText": "border:0;width:100%;height:100%"
  6717. },
  6718. "src": "/kityminder-editor/dist/index.html"
  6719. });
  6720. _box.appendChild(_iframe);
  6721. _box.appendChild(_jie);
  6722. _formdiv = new U.UF.UI.form(
  6723. "思维导图",
  6724. _box, { //"/jsmind/example/demo.html"
  6725. "id": "minds_Yu" + cid + stage + task + tool,
  6726. "style": {
  6727. "width": "90%",
  6728. "height": "90%",
  6729. "overflow": 'hidden'
  6730. },
  6731. "onresize": function() {}
  6732. }, {
  6733. closecallback: function() {}
  6734. }, {
  6735. "style": {
  6736. "height": "36px"
  6737. }
  6738. }).form; //创建窗体
  6739. _taskbar = {
  6740. "id": str + _formdiv.id,
  6741. "style": {
  6742. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6743. },
  6744. "name": "思维导图",
  6745. "forms": _formdiv,
  6746. "click": function() {
  6747. U.MD.D.I.openApplication(str, obj, info);
  6748. }
  6749. }
  6750. break;
  6751. case "doc":
  6752. aTool = 6;
  6753. _iframe = $$("iframe", {
  6754. "frameborder": "no",
  6755. "border": "0",
  6756. "scrolling ": "no",
  6757. "style": {
  6758. "cssText": "border:0;width:100%;height:100%"
  6759. },
  6760. "src": "/Office/Word/WordEditArea.htm"
  6761. })
  6762. _box.appendChild(_iframe);
  6763. _box.appendChild(_jie);
  6764. _formdiv = new U.UF.UI.form(
  6765. "协同文档",
  6766. _box, {
  6767. "id": "docs_Yu" + cid + stage + task + tool,
  6768. "style": {
  6769. "width": "90%",
  6770. "height": "90%",
  6771. "overflow": 'hidden'
  6772. },
  6773. "onresize": function() {}
  6774. }, {
  6775. closecallback: function() {}
  6776. }, {
  6777. "style": {
  6778. "height": "36px"
  6779. }
  6780. }).form; //创建窗体
  6781. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6782. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6783. })
  6784. _taskbar = {
  6785. "id": str + _formdiv.id,
  6786. "style": {
  6787. "backgroundImage": "url(/img/icon/doc.png)"
  6788. },
  6789. "name": "协同文档",
  6790. "forms": _formdiv,
  6791. "click": function() {
  6792. U.MD.D.I.openApplication(str, obj, info);
  6793. }
  6794. }
  6795. break;
  6796. case "CocoPi":
  6797. aTool = 57;
  6798. _iframe = $$("iframe", {
  6799. "allowpaymentrequest": "allowpaymentrequest",
  6800. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6801. "webkitallowfullscreen": "",
  6802. "mozallowfullscreen": "",
  6803. "frameborder": "no",
  6804. "border": "0",
  6805. "scrolling ": "no",
  6806. "style": {
  6807. "cssText": "border:0;width:100%;height:100%"
  6808. },
  6809. "src": "https://pi.cocorobo.cn/"
  6810. })
  6811. _box.appendChild(_iframe);
  6812. _box.appendChild(_jie);
  6813. _formdiv = new U.UF.UI.form(
  6814. "CocoPi",
  6815. _box, {
  6816. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6817. "style": {
  6818. "width": "90%",
  6819. "height": "90%",
  6820. "overflow": 'hidden'
  6821. },
  6822. "onresize": function() {}
  6823. }, {
  6824. closecallback: function() {}
  6825. }, {
  6826. "style": {
  6827. "height": "36px"
  6828. }
  6829. }).form; //创建窗体
  6830. _taskbar = {
  6831. "id": str + _formdiv.id,
  6832. "style": {
  6833. "backgroundImage": "url(/img/icon/cocopi.png)"
  6834. },
  6835. "name": "CocoPi",
  6836. "forms": _formdiv,
  6837. "click": function() {
  6838. U.MD.D.I.openApplication(str, obj, info);
  6839. }
  6840. }
  6841. break;
  6842. }
  6843. if (_iframe) {
  6844. if (str == 'doc') {
  6845. _iframe = _formdiv.querySelector('iframe')
  6846. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6847. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6848. })
  6849. if (onloadListener) {
  6850. _iframe.contentDocument.location.reload()
  6851. } else {
  6852. _iframe.contentDocument.location.reload()
  6853. }
  6854. } else if (str == 'mind') {
  6855. _iframe = _formdiv.querySelector('iframe')
  6856. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6857. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6858. })
  6859. if (onloadListener) {
  6860. _iframe.contentDocument.location.reload()
  6861. } else {
  6862. _iframe.contentDocument.location.reload()
  6863. }
  6864. } else if (str == 'whiteboard') {
  6865. _iframe = _formdiv.querySelector('iframe')
  6866. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6867. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6868. })
  6869. if (onloadListener) {
  6870. _iframe.contentDocument.location.reload()
  6871. } else {
  6872. _iframe.contentDocument.location.reload()
  6873. }
  6874. } else if (str == 'CocoPi') {
  6875. _iframe = _formdiv.querySelector('iframe')
  6876. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6877. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6878. })
  6879. if (onloadListener) {
  6880. _iframe.contentDocument.location.reload()
  6881. } else {
  6882. _iframe.contentDocument.location.reload()
  6883. }
  6884. } else {
  6885. _iframe.onload = () => {};
  6886. }
  6887. _jie.onclick = async() => {
  6888. let text = ''
  6889. let type = '2'
  6890. if (aTool == 1) {
  6891. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6892. type = '3'
  6893. } else if (aTool == 6) {
  6894. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6895. type = '1'
  6896. } else if (aTool == 3) {
  6897. text = await U.MD.D.I.getEditorContent(_iframe);
  6898. type = '2'
  6899. } else if (aTool == 57) {
  6900. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6901. type = '4'
  6902. }
  6903. _loading.style.display = 'flex'
  6904. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6905. }
  6906. }
  6907. //U.MD.D.I.openClick(str);
  6908. //如果有任务栏信息
  6909. // if (_taskbar) {
  6910. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6911. // }
  6912. }
  6913. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6914. var xmlhttp;
  6915. var Mac, Sn, DeviceId
  6916. if (window.XMLHttpRequest) {
  6917. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6918. xmlhttp = new XMLHttpRequest();
  6919. } else {
  6920. // IE6, IE5 浏览器执行代码
  6921. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6922. }
  6923. xmlhttp.onreadystatechange = function() {
  6924. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6925. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6926. // resolve(res.value[0][0].text);
  6927. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6928. }
  6929. }
  6930. }
  6931. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6932. xmlhttp.send();
  6933. }
  6934. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6935. var xmlhttp;
  6936. var Mac, Sn, DeviceId
  6937. if (window.XMLHttpRequest) {
  6938. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6939. xmlhttp = new XMLHttpRequest();
  6940. } else {
  6941. // IE6, IE5 浏览器执行代码
  6942. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6943. }
  6944. xmlhttp.onreadystatechange = function() {
  6945. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6946. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6947. // resolve(res.value[0][0].text);
  6948. if (type == '2') {
  6949. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6950. } else if (type == '3') {
  6951. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6952. } else if (type == '4') {
  6953. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6954. }
  6955. } else {
  6956. if (type == '2') {
  6957. iframe.contentWindow.editor.minder.importData('json', '')
  6958. } else if (type == '3') {
  6959. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6960. } else if (type == '4') {
  6961. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6962. }
  6963. }
  6964. }
  6965. }
  6966. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6967. xmlhttp.send();
  6968. }
  6969. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  6970. var xmlhttp;
  6971. var Mac, Sn, DeviceId
  6972. if (window.XMLHttpRequest) {
  6973. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6974. xmlhttp = new XMLHttpRequest();
  6975. } else {
  6976. // IE6, IE5 浏览器执行代码
  6977. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6978. }
  6979. xmlhttp.onreadystatechange = function() {
  6980. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6981. if (xmlhttp.response) {
  6982. // resolve(res.value[0][0].text);
  6983. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  6984. // $(fileInput).val('');
  6985. // });
  6986. span.innerHTML = '上传成功'
  6987. setTimeout(() => {
  6988. loading.style.display = 'none'
  6989. }, 1000);
  6990. }
  6991. }
  6992. }
  6993. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  6994. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  6995. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  6996. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  6997. // 设置请求头,表示请求体的编码格式
  6998. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  6999. // 设置请求体,使用url-encoded格式的数据
  7000. }
  7001. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7002. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7003. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7004. _userinfo = US.userInfo, //登录用户信息
  7005. _userid = US.userInfo.userid //登录用户id
  7006. let _iframe;
  7007. let _cid = cid,
  7008. _stage = stage,
  7009. _task = task,
  7010. _tool = tool;
  7011. var _jie = $$("div", {
  7012. "style": {
  7013. "position": "absolute",
  7014. "bottom": "50px",
  7015. "right": "50px",
  7016. "zIndex": "9999",
  7017. "backgroundColor": "#2268bc",
  7018. "color": "#fff",
  7019. "padding": "12px 20px",
  7020. "cursor": "pointer",
  7021. "borderRadius": "4px",
  7022. },
  7023. "innerHTML": "提交作业"
  7024. })
  7025. let aTool = ''
  7026. let _loading = document.createElement('div')
  7027. _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;"
  7028. // _loading.id = "";
  7029. let _lchild = document.createElement('div')
  7030. let _limg = document.createElement('img')
  7031. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7032. _limg.style = "width: 26px;margin-right: 10px;"
  7033. _lchild.appendChild(_limg)
  7034. let _lspan = document.createElement('span')
  7035. _lspan.innerHTML = "上传中..."
  7036. _lchild.appendChild(_lspan)
  7037. _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%);"
  7038. _loading.appendChild(_lchild)
  7039. var _box = $$('div', {
  7040. "style": {
  7041. "position": "relative",
  7042. "width": "100%",
  7043. "height": "100%",
  7044. },
  7045. })
  7046. _box.appendChild(_loading)
  7047. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7048. switch (str) {
  7049. case "CocoPi":
  7050. aTool = 57;
  7051. _iframe = $$("iframe", {
  7052. "allowpaymentrequest": "allowpaymentrequest",
  7053. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7054. "webkitallowfullscreen": "",
  7055. "mozallowfullscreen": "",
  7056. "frameborder": "no",
  7057. "border": "0",
  7058. "scrolling ": "no",
  7059. "style": {
  7060. "cssText": "border:0;width:100%;height:100%"
  7061. },
  7062. "src": "https://pi.cocorobo.cn/"
  7063. })
  7064. _box.appendChild(_iframe);
  7065. _box.appendChild(_jie);
  7066. _formdiv = new U.UF.UI.form(
  7067. "CocoPi",
  7068. _box, {
  7069. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7070. "style": {
  7071. "width": "90%",
  7072. "height": "90%",
  7073. "overflow": 'hidden'
  7074. },
  7075. "onresize": function() {}
  7076. }, {
  7077. closecallback: function() {}
  7078. }, {
  7079. "style": {
  7080. "height": "36px"
  7081. }
  7082. }).form; //创建窗体
  7083. _taskbar = {
  7084. "id": str + _formdiv.id,
  7085. "style": {
  7086. "backgroundImage": "url(/img/icon/cocopi.png)"
  7087. },
  7088. "name": "CocoPi",
  7089. "forms": _formdiv,
  7090. "click": function() {
  7091. U.MD.D.I.openApplication(str, obj, info);
  7092. }
  7093. }
  7094. break;
  7095. }
  7096. if (_iframe) {
  7097. if (str == 'CocoPi') {
  7098. _iframe = _formdiv.querySelector('iframe')
  7099. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7100. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7101. })
  7102. if (onloadListener) {
  7103. _iframe.contentDocument.location.reload()
  7104. } else {
  7105. _iframe.contentDocument.location.reload()
  7106. }
  7107. }
  7108. _jie.onclick = async() => {
  7109. let text = ''
  7110. if (aTool == 57) {
  7111. text = _iframe.contentWindow.getLoadXmlStr()
  7112. }
  7113. _loading.style.display = 'flex'
  7114. console.log(_loading);
  7115. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7116. _loading.style.display = 'none'
  7117. let _div = document.createElement('div')
  7118. _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;"
  7119. let _inner = document.createElement('div')
  7120. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7121. _inner.innerHTML = "上传成功"
  7122. _div.appendChild(_inner)
  7123. _iframe.contentWindow.window.document.body.appendChild(_div)
  7124. _div.onclick = () => {
  7125. _iframe.contentWindow.window.document.body.removeChild(_div)
  7126. }
  7127. setTimeout(() => {
  7128. _iframe.contentWindow.window.document.body.removeChild(_div)
  7129. }, 1000);
  7130. }, [], { "type": "POST", "withCredentials": true });
  7131. }
  7132. }
  7133. }
  7134. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7135. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7136. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7137. _userid = student.userid, //登录用户id
  7138. _username = student.student //用户名字
  7139. let _iframe;
  7140. let _cid = cid,
  7141. _stage = stage,
  7142. _task = task,
  7143. _tool = tool;
  7144. var _jie = $$("div", {
  7145. "style": {
  7146. "position": "absolute",
  7147. "bottom": "50px",
  7148. "right": "50px",
  7149. "zIndex": "9999",
  7150. "backgroundColor": "#2268bc",
  7151. "color": "#fff",
  7152. "padding": "12px 20px",
  7153. "cursor": "pointer",
  7154. "borderRadius": "4px",
  7155. },
  7156. "innerHTML": "提交作业"
  7157. })
  7158. let aTool = ''
  7159. let _loading = document.createElement('div')
  7160. _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;"
  7161. // _loading.id = "";
  7162. let _lchild = document.createElement('div')
  7163. let _limg = document.createElement('img')
  7164. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7165. _limg.style = "width: 26px;margin-right: 10px;"
  7166. _lchild.appendChild(_limg)
  7167. let _lspan = document.createElement('span')
  7168. _lspan.innerHTML = "上传中..."
  7169. _lchild.appendChild(_lspan)
  7170. _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%);"
  7171. _loading.appendChild(_lchild)
  7172. var _box = $$('div', {
  7173. "style": {
  7174. "position": "relative",
  7175. "width": "100%",
  7176. "height": "100%",
  7177. },
  7178. })
  7179. _box.appendChild(_loading)
  7180. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7181. switch (str) {
  7182. case "CocoPi":
  7183. aTool = 57;
  7184. _iframe = $$("iframe", {
  7185. "allowpaymentrequest": "allowpaymentrequest",
  7186. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7187. "webkitallowfullscreen": "",
  7188. "mozallowfullscreen": "",
  7189. "frameborder": "no",
  7190. "border": "0",
  7191. "scrolling ": "no",
  7192. "style": {
  7193. "cssText": "border:0;width:100%;height:100%"
  7194. },
  7195. "src": "https://pi.cocorobo.cn/"
  7196. })
  7197. _box.appendChild(_iframe);
  7198. _box.appendChild(_jie);
  7199. _formdiv = new U.UF.UI.form(
  7200. "CocoPi-" + _username,
  7201. _box, {
  7202. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7203. "style": {
  7204. "width": "90%",
  7205. "height": "90%",
  7206. "overflow": 'hidden'
  7207. },
  7208. "onresize": function() {}
  7209. }, {
  7210. closecallback: function() {}
  7211. }, {
  7212. "style": {
  7213. "height": "36px"
  7214. }
  7215. }).form; //创建窗体
  7216. _taskbar = {
  7217. "id": str + _formdiv.id,
  7218. "style": {
  7219. "backgroundImage": "url(/img/icon/cocopi.png)"
  7220. },
  7221. "name": "CocoPi",
  7222. "forms": _formdiv,
  7223. "click": function() {
  7224. U.MD.D.I.openApplication(str, obj, info);
  7225. }
  7226. }
  7227. break;
  7228. }
  7229. if (_iframe) {
  7230. if (str == 'CocoPi') {
  7231. _iframe = _formdiv.querySelector('iframe')
  7232. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7233. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7234. })
  7235. if (onloadListener) {
  7236. _iframe.contentDocument.location.reload()
  7237. } else {
  7238. _iframe.contentDocument.location.reload()
  7239. }
  7240. }
  7241. _jie.onclick = async() => {
  7242. let text = ''
  7243. if (aTool == 57) {
  7244. text = _iframe.contentWindow.getLoadXmlStr()
  7245. }
  7246. _loading.style.display = 'flex'
  7247. console.log(_loading);
  7248. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7249. _loading.style.display = 'none'
  7250. let _div = document.createElement('div')
  7251. _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;"
  7252. let _inner = document.createElement('div')
  7253. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7254. _inner.innerHTML = "上传成功"
  7255. _div.appendChild(_inner)
  7256. _iframe.contentWindow.window.document.body.appendChild(_div)
  7257. _div.onclick = () => {
  7258. _iframe.contentWindow.window.document.body.removeChild(_div)
  7259. }
  7260. setTimeout(() => {
  7261. _iframe.contentWindow.window.document.body.removeChild(_div)
  7262. }, 1000);
  7263. }, [], { "type": "POST", "withCredentials": true });
  7264. }
  7265. }
  7266. }
  7267. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7268. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7269. if (res.value[0].length > 0) {
  7270. if (atool == 57) {
  7271. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7272. }
  7273. } else {
  7274. if (atool == 57) {
  7275. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7276. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7277. }
  7278. }
  7279. }, [], { "type": "POST", "withCredentials": true });
  7280. }