DeskTop.js 454 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. ];
  339. U.MD.D.I.tcOrganizerDeskIcon = [
  340. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  341. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  342. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  343. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  344. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  345. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  346. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  347. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.szscStudentDeskIcon = [
  353. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  354. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  355. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  356. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  357. ];
  358. U.MD.D.I.szscTeacherDeskIcon = [
  359. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  360. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  361. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  362. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  363. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  364. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  365. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  366. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  367. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  368. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  369. ];
  370. U.MD.D.I.szscOrganizerDeskIcon = [
  371. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  372. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  373. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  374. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  380. ];
  381. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  382. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  383. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  384. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  385. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  386. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  387. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  388. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  389. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  390. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  391. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  392. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  393. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  394. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  395. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  396. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeAdminDeskIcon = [
  400. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  407. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  408. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  409. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  410. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  413. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  414. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. ];
  417. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  418. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  419. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  420. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  421. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  422. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  423. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  429. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. ];
  431. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  432. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  433. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  434. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  435. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  436. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  437. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  438. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  439. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  440. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  441. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  442. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  443. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  444. ];
  445. //明德教师桌面图标的全局变量
  446. U.MD.D.I.MingdeTeacherDeskIcon = [
  447. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  448. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  449. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  450. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  451. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  452. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  453. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  454. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  455. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  456. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  457. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  458. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  459. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  460. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  461. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  462. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  463. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  464. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  465. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  466. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  467. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  468. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  469. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  470. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  471. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  472. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  473. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  474. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  475. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  476. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  477. ];
  478. //97c4ee8b-d010-4042-986d-e9d3c217264f
  479. //教师桌面图标的全局变量
  480. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  481. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  482. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  483. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  484. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  485. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  486. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  487. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  488. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  489. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  490. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  491. ];
  492. //福田
  493. U.MD.D.I.futianTeacherDeskIcon = [
  494. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  495. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  499. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  500. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  501. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  502. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  503. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  504. ];
  505. //福田
  506. U.MD.D.I.futianAdminDeskIcon = [
  507. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  508. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  509. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  510. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  511. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  512. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  513. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  514. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  515. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  516. ];
  517. //lotech
  518. U.MD.D.I.lotechTeacherDeskIcon = [
  519. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  520. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  521. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  522. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  523. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  524. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  525. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  526. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  527. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  531. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  532. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  533. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  534. ];
  535. //龙华中心小学教师桌面图标的全局变量
  536. U.MD.D.I.longhuateacherDeskIcon = [
  537. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  538. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  539. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  540. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  541. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  542. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  543. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  544. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  545. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  546. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  547. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  548. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. ];
  550. //教科院实小教师桌面图标的全局变量
  551. U.MD.D.I.siesteacherDeskIcon = [
  552. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  553. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  555. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  556. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  559. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  560. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  561. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  562. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  565. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  566. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //教科院实小教师桌面图标的全局变量
  569. U.MD.D.I.siesStudentDeskIcon = [
  570. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. ];
  574. //福田
  575. U.MD.D.I.gdjgTeacherDeskIcon = [
  576. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  577. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  578. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  579. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  580. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  581. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  582. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //gdjg
  588. U.MD.D.I.gdjgAdminDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  596. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. ];
  599. //hk
  600. U.MD.D.I.hkteacherDeskIcon = [
  601. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  604. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  608. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  609. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  610. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  611. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  612. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  613. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  614. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  615. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  616. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  617. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  618. ];
  619. //hk
  620. U.MD.D.I.hkStudentDeskIcon = [
  621. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  622. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  623. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. ];
  627. //香海正覺蓮社佛教正覺中學
  628. U.MD.D.I.hkZJLSteacherDeskIcon = [
  629. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  630. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  632. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  636. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  637. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  638. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  639. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  640. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  641. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  642. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  643. ];
  644. //香海正覺蓮社佛教正覺中學
  645. U.MD.D.I.hkZJLSStudentDeskIcon = [
  646. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. ];
  650. //云海
  651. U.MD.D.I.yunhaiTeacherDeskIcon = [
  652. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  655. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  659. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  660. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  661. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  662. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  663. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  664. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  665. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  666. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. ];
  668. //福田
  669. U.MD.D.I.heyuanTeacherDeskIcon = [
  670. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  671. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  672. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  673. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  674. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  675. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  676. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  678. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  679. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  680. ];
  681. //福田
  682. U.MD.D.I.heyuanAdminDeskIcon = [
  683. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  684. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  685. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  686. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  687. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  688. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  689. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  691. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. ];
  693. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  694. U.MD.D.I.szherTeacherDeskIcon = [
  695. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  696. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  697. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  698. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  699. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  700. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  701. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. ];
  705. //dsei
  706. U.MD.D.I.dseiTeacherDeskIcon = [
  707. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  719. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  720. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  721. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  722. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  723. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  724. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  725. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  726. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  727. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  728. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  729. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  730. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  731. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  732. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  733. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  734. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  735. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  736. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  737. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  738. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  739. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  740. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  741. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  742. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  743. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  744. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  745. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  746. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  747. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  748. ];
  749. //dsei
  750. U.MD.D.I.dseiAdminDeskIcon = [
  751. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  752. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  754. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  755. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  756. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  757. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  758. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  759. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  760. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  761. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  762. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  763. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  764. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  765. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  766. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  767. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  768. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  769. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  770. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  771. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  774. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  775. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  776. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  777. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  778. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  779. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  780. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  781. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  782. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  783. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  784. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  785. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  786. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  788. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  789. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  792. ];
  793. //dsei
  794. U.MD.D.I.dseiStudentDeskIcon = [
  795. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  796. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  797. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. ];
  801. //未来教育基地
  802. U.MD.D.I.szjkyTeacherDeskIcon = [
  803. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  804. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  805. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  806. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  807. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  808. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  809. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  810. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  811. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  812. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  814. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  817. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  818. ];
  819. //未来教育基地
  820. U.MD.D.I.szjkyAdminDeskIcon = [
  821. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  822. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  823. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  824. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  825. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  826. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  827. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  828. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  829. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  830. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  831. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  832. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  833. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  835. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  836. ];
  837. //未来教育基地
  838. U.MD.D.I.szjkyStudentDeskIcon = [
  839. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  840. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  841. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  842. ];
  843. //成华教育局
  844. U.MD.D.I.chjyjTeacherDeskIcon = [
  845. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  846. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  847. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  848. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  849. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  850. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  851. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  852. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  853. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  854. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  855. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  856. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. ];
  858. //成华教育局chjyj
  859. U.MD.D.I.chjyjAdminDeskIcon = [
  860. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  861. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  862. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  863. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  864. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  865. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  866. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  867. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  868. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  869. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  870. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  871. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  872. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  873. ];
  874. //成华教育局chjyj
  875. U.MD.D.I.chjyjStudentDeskIcon = [
  876. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  878. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  879. ];
  880. //tpc
  881. U.MD.D.I.tpcStudentDeskIcon = [
  882. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  883. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. ];
  886. //tpc
  887. U.MD.D.I.tpcTeacherDeskIcon = [
  888. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  889. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  890. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  891. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  892. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  893. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  894. ];
  895. //tpc
  896. U.MD.D.I.tpcAdminDeskIcon = [
  897. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  898. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  899. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  900. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  901. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  902. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  903. ];
  904. //#region 桌面初始化a
  905. /**
  906. * 初始化桌面的起始函数
  907. *
  908. */
  909. U.MD.D.I.init = function () {
  910. if ($("#U_MD_D_K")[0]) {
  911. //初始化桌面图标
  912. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  913. // var clickUrl = ':12588/requestIp.php';
  914. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  915. // U.MD.D.I.Ip = data;
  916. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  917. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  918. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  919. // })
  920. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  921. // })
  922. }
  923. }
  924. /**
  925. * 模式切换
  926. *
  927. */
  928. U.MD.D.I.ModeCheck = function (type) {
  929. if (US.Config.type == type) {
  930. return
  931. }
  932. US.Config.type = type
  933. $('.U_PBL_Check .active')[0].className = ''
  934. if (type == 1) {
  935. $('.U_PBL_Check div')[0].className = 'active'
  936. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  937. } else {
  938. $('.U_PBL_Check div')[1].className = 'active'
  939. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  940. }
  941. //初始化桌面图标
  942. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  943. if (type == 2) {
  944. U.MD.D.I.openApplication("project")
  945. }
  946. }
  947. /**
  948. * 隐藏任务栏
  949. *
  950. * @param {element} 桌面元素
  951. */
  952. U.MD.D.I.hiddenTaskbar = function (el) {
  953. //任务栏位置变小
  954. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  955. //桌面的位置变大
  956. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  957. }
  958. /**
  959. * 隐藏任务栏
  960. *
  961. * @param {element} 桌面元素
  962. */
  963. U.MD.D.I.hiddenTaskbarout = function (el) {
  964. //任务栏位置变小
  965. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  966. //任务栏位置变化
  967. U.selectEl(el).css({ "bottom": "-60px" });
  968. //桌面的位置变大
  969. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  970. }
  971. }
  972. /**
  973. * 初始化打印桌面图标
  974. *
  975. * @param {element} 桌面元素
  976. */
  977. U.MD.D.I.initDesktopIcons = function (el, type) {
  978. var i, //用于循环
  979. _content, //桌面图标元素
  980. _iconcontent, //桌面图标元素
  981. _frag = $$("frag"), //定义一个碎片元素
  982. _type = US.userInfo.type,
  983. _org = US.userInfo.org,
  984. _oid = US.userInfo.organizeid,
  985. _role = US.userInfo.role,
  986. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  987. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  988. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  989. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  990. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  991. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  992. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  993. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  994. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  995. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  996. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  997. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  998. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  999. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1000. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1001. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1002. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1003. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1004. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1005. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1006. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1007. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1008. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1009. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1010. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1011. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1012. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1013. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1014. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1015. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1016. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1017. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1018. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1019. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1020. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1021. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1022. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1023. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1024. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1025. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1026. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1027. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1028. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1029. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1030. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1031. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1032. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1033. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1034. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1035. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1036. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1037. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1038. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1039. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1040. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1041. 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'];
  1042. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956'];
  1043. //清楚桌面图标
  1044. el.innerHTML = "";
  1045. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1046. _teacherDesktopIconInfo.push(
  1047. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1048. { "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)" } },
  1049. )
  1050. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1051. }
  1052. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1053. _teacherDesktopIconInfo.push(
  1054. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1055. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1056. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1057. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1058. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1059. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1060. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1061. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1062. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1063. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1064. )
  1065. }
  1066. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1067. _teacherDesktopIconInfo.push(
  1068. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1069. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1070. )
  1071. _studentDesktopIconInfo.push(
  1072. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1073. )
  1074. }
  1075. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1076. _teacherDesktopIconInfo.push(
  1077. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1078. )
  1079. }
  1080. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1081. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1082. if (el.Name == '项目管理') {
  1083. el.Name = 'PBL项目'
  1084. }
  1085. return el
  1086. })
  1087. }
  1088. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1089. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1090. return el.Name != '魔盒识字' && el.Name != '24点'
  1091. })
  1092. }
  1093. 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) {
  1094. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1095. }
  1096. //循环创建桌面图标
  1097. if (type == 1) {
  1098. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1099. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1100. _content = $$("div", {
  1101. className: "U_MD_D_KO",
  1102. "onmousedown": U.UF.C.closure(function (obj) {
  1103. //防止拖动图标即打开了桌面应用
  1104. U.MD.D.click(this, obj);
  1105. }, [_studentDesktopIconInfo[i]]),
  1106. "onclick": U.UF.C.closure(function (obj) {
  1107. //防止拖动图标即打开了桌面应用
  1108. U.MD.D.click(this, obj);
  1109. }, [_studentDesktopIconInfo[i]])
  1110. }, _frag); //
  1111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1114. }
  1115. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1116. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1117. _content = $$("div", {
  1118. className: "U_MD_D_KO",
  1119. "onmousedown": U.UF.C.closure(function (obj) {
  1120. //防止拖动图标即打开了桌面应用
  1121. U.MD.D.click(this, obj);
  1122. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1123. "onclick": U.UF.C.closure(function (obj) {
  1124. //防止拖动图标即打开了桌面应用
  1125. U.MD.D.click(this, obj);
  1126. }, [_hkZJLSStudentDeskIconInfo[i]])
  1127. }, _frag); //
  1128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1131. } //
  1132. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1133. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1134. _content = $$("div", {
  1135. className: "U_MD_D_KO",
  1136. "onmousedown": U.UF.C.closure(function (obj) {
  1137. //防止拖动图标即打开了桌面应用
  1138. U.MD.D.click(this, obj);
  1139. }, [_tpcStudentDeskIconInfo[i]]),
  1140. "onclick": U.UF.C.closure(function (obj) {
  1141. //防止拖动图标即打开了桌面应用
  1142. U.MD.D.click(this, obj);
  1143. }, [_tpcStudentDeskIconInfo[i]])
  1144. }, _frag); //
  1145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1148. } //
  1149. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1150. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1151. _content = $$("div", {
  1152. className: "U_MD_D_KO",
  1153. "onmousedown": U.UF.C.closure(function (obj) {
  1154. //防止拖动图标即打开了桌面应用
  1155. U.MD.D.click(this, obj);
  1156. }, [_chjyjStudentDeskIconInfo[i]]),
  1157. "onclick": U.UF.C.closure(function (obj) {
  1158. //防止拖动图标即打开了桌面应用
  1159. U.MD.D.click(this, obj);
  1160. }, [_chjyjStudentDeskIconInfo[i]])
  1161. }, _frag); //
  1162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1165. }
  1166. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1167. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1168. _content = $$("div", {
  1169. className: "U_MD_D_KO",
  1170. "onmousedown": U.UF.C.closure(function (obj) {
  1171. //防止拖动图标即打开了桌面应用
  1172. U.MD.D.click(this, obj);
  1173. }, [_szjkyStudentDeskIconInfo[i]]),
  1174. "onclick": U.UF.C.closure(function (obj) {
  1175. //防止拖动图标即打开了桌面应用
  1176. U.MD.D.click(this, obj);
  1177. }, [_szjkyStudentDeskIconInfo[i]])
  1178. }, _frag); //
  1179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1182. }
  1183. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1184. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1185. _content = $$("div", {
  1186. className: "U_MD_D_KO",
  1187. "onmousedown": U.UF.C.closure(function (obj) {
  1188. //防止拖动图标即打开了桌面应用
  1189. U.MD.D.click(this, obj);
  1190. }, [_dseiStudentDeskIconInfo[i]]),
  1191. "onclick": U.UF.C.closure(function (obj) {
  1192. //防止拖动图标即打开了桌面应用
  1193. U.MD.D.click(this, obj);
  1194. }, [_dseiStudentDeskIconInfo[i]])
  1195. }, _frag); //
  1196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1199. }
  1200. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1201. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1202. _content = $$("div", {
  1203. className: "U_MD_D_KO",
  1204. "onmousedown": U.UF.C.closure(function (obj) {
  1205. //防止拖动图标即打开了桌面应用
  1206. U.MD.D.click(this, obj);
  1207. }, [_siesStudentDeskIconInfo[i]]),
  1208. "onclick": U.UF.C.closure(function (obj) {
  1209. //防止拖动图标即打开了桌面应用
  1210. U.MD.D.click(this, obj);
  1211. }, [_siesStudentDeskIconInfo[i]])
  1212. }, _frag); //
  1213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1216. }
  1217. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1218. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1219. _content = $$("div", {
  1220. className: "U_MD_D_KO",
  1221. "onmousedown": U.UF.C.closure(function (obj) {
  1222. //防止拖动图标即打开了桌面应用
  1223. U.MD.D.click(this, obj);
  1224. }, [_hkStudentDeskIconInfo[i]]),
  1225. "onclick": U.UF.C.closure(function (obj) {
  1226. //防止拖动图标即打开了桌面应用
  1227. U.MD.D.click(this, obj);
  1228. }, [_hkStudentDeskIconInfo[i]])
  1229. }, _frag); //
  1230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1233. }
  1234. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1235. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1236. _content = $$("div", {
  1237. className: "U_MD_D_KO",
  1238. "onmousedown": U.UF.C.closure(function (obj) {
  1239. //防止拖动图标即打开了桌面应用
  1240. U.MD.D.click(this, obj);
  1241. }, [_studentDesktopIconInfo[i]]),
  1242. "onclick": U.UF.C.closure(function (obj) {
  1243. //防止拖动图标即打开了桌面应用
  1244. U.MD.D.click(this, obj);
  1245. }, [_studentDesktopIconInfo[i]])
  1246. }, _frag); //
  1247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1250. }
  1251. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1252. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1253. _content = $$("div", {
  1254. className: "U_MD_D_KO",
  1255. "onmousedown": U.UF.C.closure(function (obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_tcStudentDeskIconInfo[i]]),
  1259. "onclick": U.UF.C.closure(function (obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_tcStudentDeskIconInfo[i]])
  1263. }, _frag); //
  1264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1267. }
  1268. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1269. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1270. _content = $$("div", {
  1271. className: "U_MD_D_KO",
  1272. "onmousedown": U.UF.C.closure(function (obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_szscStudentDeskIconInfo[i]]),
  1276. "onclick": U.UF.C.closure(function (obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_szscStudentDeskIconInfo[i]])
  1280. }, _frag); //
  1281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1284. }
  1285. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1286. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1287. _content = $$("div", {
  1288. className: "U_MD_D_KO",
  1289. "onmousedown": U.UF.C.closure(function (obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_studentDesktopIconInfo3[i]]),
  1293. "onclick": U.UF.C.closure(function (obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_studentDesktopIconInfo3[i]])
  1297. }, _frag); //
  1298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1301. }
  1302. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1303. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1304. _content = $$("div", {
  1305. className: "U_MD_D_KO",
  1306. "onmousedown": U.UF.C.closure(function (obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_studentDesktopIconInfo2[i]]),
  1310. "onclick": U.UF.C.closure(function (obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_studentDesktopIconInfo2[i]])
  1314. }, _frag); //
  1315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1318. }
  1319. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1320. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1321. _content = $$("div", {
  1322. className: "U_MD_D_KO",
  1323. "onmousedown": U.UF.C.closure(function (obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_wanketeacherDesktopIconInfo[i]]),
  1327. "onclick": U.UF.C.closure(function (obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_wanketeacherDesktopIconInfo[i]])
  1331. }, _frag); //
  1332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1335. }
  1336. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1337. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1338. _content = $$("div", {
  1339. className: "U_MD_D_KO",
  1340. "onmousedown": U.UF.C.closure(function (obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_wankeAdminDesktopIconInfo[i]]),
  1344. "onclick": U.UF.C.closure(function (obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_wankeAdminDesktopIconInfo[i]])
  1348. }, _frag); //
  1349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1352. }
  1353. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1354. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1355. _content = $$("div", {
  1356. className: "U_MD_D_KO",
  1357. "onmousedown": U.UF.C.closure(function (obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_tpcOrganizerDeskIconInfo[i]]),
  1361. "onclick": U.UF.C.closure(function (obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_tpcOrganizerDeskIconInfo[i]])
  1365. }, _frag); //
  1366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1369. }
  1370. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1371. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1372. _content = $$("div", {
  1373. className: "U_MD_D_KO",
  1374. "onmousedown": U.UF.C.closure(function (obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_tpcTeacherDeskIconInfo[i]]),
  1378. "onclick": U.UF.C.closure(function (obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_tpcTeacherDeskIconInfo[i]])
  1382. }, _frag); //
  1383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1386. }
  1387. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1388. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1389. _content = $$("div", {
  1390. className: "U_MD_D_KO",
  1391. "onmousedown": U.UF.C.closure(function (obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_teacherDesktopIconInfo2[i]]),
  1395. "onclick": U.UF.C.closure(function (obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_teacherDesktopIconInfo2[i]])
  1399. }, _frag); //
  1400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1403. }
  1404. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1405. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1406. _content = $$("div", {
  1407. className: "U_MD_D_KO",
  1408. "onmousedown": U.UF.C.closure(function (obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_lotechTeacherDeskIconInfo[i]]),
  1412. "onclick": U.UF.C.closure(function (obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_lotechTeacherDeskIconInfo[i]])
  1416. }, _frag); //
  1417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1420. }//
  1421. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1422. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1423. _content = $$("div", {
  1424. className: "U_MD_D_KO",
  1425. "onmousedown": U.UF.C.closure(function (obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_siesTeacherDeskIconInfo[i]]),
  1429. "onclick": U.UF.C.closure(function (obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_siesTeacherDeskIconInfo[i]])
  1433. }, _frag); //
  1434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1437. }
  1438. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1439. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1440. _content = $$("div", {
  1441. className: "U_MD_D_KO",
  1442. "onmousedown": U.UF.C.closure(function (obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_longhuaTeacherDeskIconInfo[i]]),
  1446. "onclick": U.UF.C.closure(function (obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_longhuaTeacherDeskIconInfo[i]])
  1450. }, _frag); //
  1451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1454. }
  1455. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1456. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1457. _content = $$("div", {
  1458. className: "U_MD_D_KO",
  1459. "onmousedown": U.UF.C.closure(function (obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1463. "onclick": U.UF.C.closure(function (obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_yunhaiTeacherDeskIconInfo[i]])
  1467. }, _frag); //
  1468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1471. } //_hkStudentDeskIconInfo
  1472. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1473. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1474. _content = $$("div", {
  1475. className: "U_MD_D_KO",
  1476. "onmousedown": U.UF.C.closure(function (obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1480. "onclick": U.UF.C.closure(function (obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1484. }, _frag); //
  1485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1488. }
  1489. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1490. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1491. _content = $$("div", {
  1492. className: "U_MD_D_KO",
  1493. "onmousedown": U.UF.C.closure(function (obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_hkTeacherDeskIconInfo[i]]),
  1497. "onclick": U.UF.C.closure(function (obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_hkTeacherDeskIconInfo[i]])
  1501. }, _frag); //
  1502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1505. }
  1506. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1507. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1508. _content = $$("div", {
  1509. className: "U_MD_D_KO",
  1510. "onmousedown": U.UF.C.closure(function (obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_gdjgAdminDeskIconInfo[i]]),
  1514. "onclick": U.UF.C.closure(function (obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_gdjgAdminDeskIconInfo[i]])
  1518. }, _frag); //
  1519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1522. }
  1523. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1524. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1525. _content = $$("div", {
  1526. className: "U_MD_D_KO",
  1527. "onmousedown": U.UF.C.closure(function (obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_gdjgTeacherDeskIconInfo[i]]),
  1531. "onclick": U.UF.C.closure(function (obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_gdjgTeacherDeskIconInfo[i]])
  1535. }, _frag); //
  1536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1539. }
  1540. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1541. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1542. _content = $$("div", {
  1543. className: "U_MD_D_KO",
  1544. "onmousedown": U.UF.C.closure(function (obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_szherTeacherDeskIconInfo[i]]),
  1548. "onclick": U.UF.C.closure(function (obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_szherTeacherDeskIconInfo[i]])
  1552. }, _frag); //
  1553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1556. }
  1557. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1558. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1559. _content = $$("div", {
  1560. className: "U_MD_D_KO",
  1561. "onmousedown": U.UF.C.closure(function (obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_heyuannAdminDeskIconInfo[i]]),
  1565. "onclick": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_heyuannAdminDeskIconInfo[i]])
  1569. }, _frag); //
  1570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1573. }
  1574. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1575. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1576. _content = $$("div", {
  1577. className: "U_MD_D_KO",
  1578. "onmousedown": U.UF.C.closure(function (obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_heyuanTeacherDeskIconInfo[i]]),
  1582. "onclick": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_heyuanTeacherDeskIconInfo[i]])
  1586. }, _frag); //
  1587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1590. } //
  1591. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1592. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1593. _content = $$("div", {
  1594. className: "U_MD_D_KO",
  1595. "onmousedown": U.UF.C.closure(function (obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_dseiAdminDeskIconInfo[i]]),
  1599. "onclick": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_dseiAdminDeskIconInfo[i]])
  1603. }, _frag); //
  1604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1607. }
  1608. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1609. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1610. _content = $$("div", {
  1611. className: "U_MD_D_KO",
  1612. "onmousedown": U.UF.C.closure(function (obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_dseiTeacherDeskIconInfo[i]]),
  1616. "onclick": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_dseiTeacherDeskIconInfo[i]])
  1620. }, _frag); //
  1621. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1622. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1623. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1624. } //
  1625. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1626. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1627. _content = $$("div", {
  1628. className: "U_MD_D_KO",
  1629. "onmousedown": U.UF.C.closure(function (obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_chjyjAdminDeskIconInfo[i]]),
  1633. "onclick": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_chjyjAdminDeskIconInfo[i]])
  1637. }, _frag); //
  1638. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1639. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1640. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1641. }//
  1642. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1643. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1644. _content = $$("div", {
  1645. className: "U_MD_D_KO",
  1646. "onmousedown": U.UF.C.closure(function (obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_chjyjTeacherDeskIconInfo[i]]),
  1650. "onclick": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_chjyjTeacherDeskIconInfo[i]])
  1654. }, _frag); //
  1655. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1656. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1657. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1658. }
  1659. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1660. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1661. _content = $$("div", {
  1662. className: "U_MD_D_KO",
  1663. "onmousedown": U.UF.C.closure(function (obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_szjkyAdminDeskIconInfo[i]]),
  1667. "onclick": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_szjkyAdminDeskIconInfo[i]])
  1671. }, _frag); //
  1672. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1673. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1674. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1675. }//
  1676. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1677. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1678. _content = $$("div", {
  1679. className: "U_MD_D_KO",
  1680. "onmousedown": U.UF.C.closure(function (obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_szjkyTeacherDeskIconInfo[i]]),
  1684. "onclick": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_szjkyTeacherDeskIconInfo[i]])
  1688. }, _frag); //
  1689. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1690. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1691. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1692. }
  1693. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1694. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1695. _content = $$("div", {
  1696. className: "U_MD_D_KO",
  1697. "onmousedown": U.UF.C.closure(function (obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_futianAdminDeskIconInfo[i]]),
  1701. "onclick": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_futianAdminDeskIconInfo[i]])
  1705. }, _frag); //
  1706. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1707. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1708. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1709. }
  1710. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1711. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1712. _content = $$("div", {
  1713. className: "U_MD_D_KO",
  1714. "onmousedown": U.UF.C.closure(function (obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_futianTeacherDeskIconInfo[i]]),
  1718. "onclick": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_futianTeacherDeskIconInfo[i]])
  1722. }, _frag); //
  1723. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1724. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1725. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1726. }
  1727. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1728. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1729. _content = $$("div", {
  1730. className: "U_MD_D_KO",
  1731. "onmousedown": U.UF.C.closure(function (obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_MingdeTeacherDeskIcon[i]]),
  1735. "onclick": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_MingdeTeacherDeskIcon[i]])
  1739. }, _frag); //
  1740. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1741. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1742. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1743. }
  1744. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1745. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1746. _content = $$("div", {
  1747. className: "U_MD_D_KO",
  1748. "onmousedown": U.UF.C.closure(function (obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_lhsAdminDesktopIconInfo[i]]),
  1752. "onclick": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_lhsAdminDesktopIconInfo[i]])
  1756. }, _frag); //
  1757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1760. }
  1761. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1762. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1763. _content = $$("div", {
  1764. className: "U_MD_D_KO",
  1765. "onmousedown": U.UF.C.closure(function (obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_lhsteacherDesktopIconInfo[i]]),
  1769. "onclick": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_lhsteacherDesktopIconInfo[i]])
  1773. }, _frag); //
  1774. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1775. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1776. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1777. }
  1778. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1779. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1780. _content = $$("div", {
  1781. className: "U_MD_D_KO",
  1782. "onmousedown": U.UF.C.closure(function (obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1786. "onclick": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_zhoujiateacherDesktopIconInfo[i]])
  1790. }, _frag); //
  1791. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1792. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1793. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1794. }
  1795. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1796. for (i = 0; i < _hanDeskIcon.length; i++) {
  1797. _content = $$("div", {
  1798. className: "U_MD_D_KO",
  1799. "onmousedown": U.UF.C.closure(function (obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_hanDeskIcon[i]]),
  1803. "onclick": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_hanDeskIcon[i]])
  1807. }, _frag); //
  1808. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1809. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1810. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1811. }
  1812. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1813. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1814. _content = $$("div", {
  1815. className: "U_MD_D_KO",
  1816. "onmousedown": U.UF.C.closure(function (obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_orgStemDeskIcon[i]]),
  1820. "onclick": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_orgStemDeskIcon[i]])
  1824. }, _frag); //
  1825. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1826. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1827. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1828. }
  1829. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1830. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1831. _content = $$("div", {
  1832. className: "U_MD_D_KO",
  1833. "onmousedown": U.UF.C.closure(function (obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_szulsDeskIcon[i]]),
  1837. "onclick": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_szulsDeskIcon[i]])
  1841. }, _frag); //
  1842. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1843. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1844. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1845. }
  1846. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1847. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1848. _content = $$("div", {
  1849. className: "U_MD_D_KO",
  1850. "onmousedown": U.UF.C.closure(function (obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_orgDesktopIconInfo[i]]),
  1854. "onclick": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_orgDesktopIconInfo[i]])
  1858. }, _frag); //
  1859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1862. }
  1863. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1864. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1865. _content = $$("div", {
  1866. className: "U_MD_D_KO",
  1867. "onmousedown": U.UF.C.closure(function (obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_schoolDesktopIconInfo[i]]),
  1871. "onclick": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_schoolDesktopIconInfo[i]])
  1875. }, _frag); //
  1876. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1877. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1878. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1879. }
  1880. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1881. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1882. _content = $$("div", {
  1883. className: "U_MD_D_KO",
  1884. "onmousedown": U.UF.C.closure(function (obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_GMteacherDesktopIconInfo[i]]),
  1888. "onclick": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_GMteacherDesktopIconInfo[i]])
  1892. }, _frag); //
  1893. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1894. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1895. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1896. }
  1897. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1898. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1899. _content = $$("div", {
  1900. className: "U_MD_D_KO",
  1901. "onmousedown": U.UF.C.closure(function (obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_SONGteacherDesktopIconInfo[i]]),
  1905. "onclick": U.UF.C.closure(function (obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_SONGteacherDesktopIconInfo[i]])
  1909. }, _frag); //
  1910. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1911. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1912. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1913. }
  1914. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1915. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1916. _content = $$("div", {
  1917. className: "U_MD_D_KO",
  1918. "onmousedown": U.UF.C.closure(function (obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_GMstudentDesktopIconInfo[i]]),
  1922. "onclick": U.UF.C.closure(function (obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_GMstudentDesktopIconInfo[i]])
  1926. }, _frag); //
  1927. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1928. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1929. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1930. }
  1931. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1932. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1933. _content = $$("div", {
  1934. className: "U_MD_D_KO",
  1935. "onmousedown": U.UF.C.closure(function (obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_tcTeacherDeskIconInfo[i]]),
  1939. "onclick": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_tcTeacherDeskIconInfo[i]])
  1943. }, _frag); //
  1944. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1945. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1946. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1947. }
  1948. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1949. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1950. _content = $$("div", {
  1951. className: "U_MD_D_KO",
  1952. "onmousedown": U.UF.C.closure(function (obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_tcOrganizerDeskIconInfo[i]]),
  1956. "onclick": U.UF.C.closure(function (obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_tcOrganizerDeskIconInfo[i]])
  1960. }, _frag); //
  1961. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1962. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1963. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1964. }
  1965. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1966. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1967. _content = $$("div", {
  1968. className: "U_MD_D_KO",
  1969. "onmousedown": U.UF.C.closure(function (obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_szscTeacherDeskIconInfo[i]]),
  1973. "onclick": U.UF.C.closure(function (obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_szscTeacherDeskIconInfo[i]])
  1977. }, _frag); //
  1978. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1979. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1980. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1981. }
  1982. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1983. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1984. _content = $$("div", {
  1985. className: "U_MD_D_KO",
  1986. "onmousedown": U.UF.C.closure(function (obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_szscOrganizerDeskIconInfo[i]]),
  1990. "onclick": U.UF.C.closure(function (obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_szscOrganizerDeskIconInfo[i]])
  1994. }, _frag); //
  1995. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1996. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1997. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1998. }
  1999. } else {
  2000. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2001. _content = $$("div", {
  2002. className: "U_MD_D_KO",
  2003. "onmousedown": U.UF.C.closure(function (obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_teacherDesktopIconInfo[i]]),
  2007. "onclick": U.UF.C.closure(function (obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_teacherDesktopIconInfo[i]])
  2011. }, _frag); //
  2012. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2013. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2014. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2015. }
  2016. }
  2017. } else {
  2018. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2019. _content = $$("div", {
  2020. className: "U_MD_D_KO",
  2021. style: { 'width': '124px', 'height': '145px' },
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_easyDesktopIconInfo[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_easyDesktopIconInfo[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2034. }
  2035. }
  2036. if (type == 1) {
  2037. //加载好后给图标定位
  2038. U.MD.D.iconPostion($(_frag).Child());
  2039. } else {
  2040. //加载好后给图标定位
  2041. U.MD.D.iconPostion2($(_frag).Child());
  2042. }
  2043. //把图标加载到页面
  2044. el.appendChild(_frag);
  2045. }
  2046. /**
  2047. * 显示任务栏
  2048. *
  2049. * @param {element} 桌面元素
  2050. */
  2051. U.MD.D.I.displayTaskbar = function (el) {
  2052. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2053. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2054. //任务栏位置变化
  2055. U.selectEl(el).css({ "bottom": "0px" });
  2056. //桌面位置变话
  2057. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2058. }
  2059. }
  2060. //#region 桌面图标拖动逻辑
  2061. /**
  2062. * 桌面排列图标
  2063. *
  2064. * @param {element} 桌面元素
  2065. * @param {object} 上下相距的距离
  2066. * @param {object} 左右相距的距离
  2067. * @return {object} 命名空间
  2068. */
  2069. U.MD.D.iconPostion = function (childs, top, left) {
  2070. var i; //用于循环处理
  2071. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2072. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2073. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2074. for (i = 0; i < childs.length; i++) {
  2075. //如果竖排top超过了范围处理
  2076. if (top + 95 > US.height - 10) {
  2077. //left超过了页面范围处理,则向上重叠打印处理
  2078. if ((left + 180) > US.width) {
  2079. top -= 110;
  2080. left -= 90;
  2081. }
  2082. //没有超过范围,那么left+90添加到下一个竖排打印
  2083. else {
  2084. left += 90;
  2085. top = 15;
  2086. };
  2087. }
  2088. //给图标的位置赋值
  2089. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2090. if (i < childs.length - 1) {
  2091. //页面图标每次向下加95
  2092. top += 95;
  2093. }
  2094. }
  2095. //返回最后调用的图标的位置
  2096. return [top, left];
  2097. }
  2098. /**
  2099. * 桌面排列图标
  2100. *
  2101. * @param {element} 桌面元素
  2102. * @param {object} 上下相距的距离
  2103. * @param {object} 左右相距的距离
  2104. * @return {object} 命名空间
  2105. */
  2106. U.MD.D.iconPostion2 = function (childs, top, left) {
  2107. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2108. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2109. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2110. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2111. for (i = 0; i < childs.length; i++) {
  2112. //如果竖排top超过了范围处理
  2113. if (left + 150 > US.width - 10) {
  2114. //left超过了页面范围处理,则向上重叠打印处理
  2115. if ((top + 180) > US.Height) {
  2116. top -= 150;
  2117. left -= 150;
  2118. }
  2119. //没有超过范围,那么left+90添加到下一个竖排打印
  2120. else {
  2121. top += 150;
  2122. left = ol;
  2123. };
  2124. }
  2125. //给图标的位置赋值
  2126. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2127. if (i < childs.length - 1) {
  2128. //页面图标每次向下加95
  2129. left += 150;
  2130. }
  2131. }
  2132. //返回最后调用的图标的位置
  2133. return [top, left];
  2134. }
  2135. /**
  2136. * 桌面点击事件逻辑
  2137. *
  2138. * @param {element} 桌面元素
  2139. * @param {object} 上下相距的距离
  2140. * @param {object} 左右相距的距离
  2141. * @return {object} 命名空间
  2142. */
  2143. U.MD.D.click = function (el, obj) {
  2144. var _buttonnumber = event.button; //点击的按钮的事件值
  2145. var _userinfo = US.userInfo;
  2146. U.UF.EV.stopBubble(); //阻止向上冒泡
  2147. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2148. if (_buttonnumber < 2) {
  2149. //如果是click事件的处理
  2150. if (event.type == "click") {
  2151. //如果元素在mousemove事件中没有移动则出发click事件
  2152. if (!U.MD.D.I.IsDrag) {
  2153. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2154. U.alert("请先登录您的账号!");
  2155. setTimeout(() => {
  2156. U.MD.U.L.login();
  2157. }, 2000);
  2158. } else {
  2159. //打开应用处理
  2160. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2161. }
  2162. }
  2163. }
  2164. //如果是mouse事件的处理
  2165. else {
  2166. if (US.Config.type == '1') {
  2167. //拖动处理,添加拖动和拖动结束事件
  2168. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2169. }
  2170. }
  2171. U.MD.D.I.IsDrag = false;
  2172. }
  2173. }
  2174. /**
  2175. * 拖动的处理
  2176. *
  2177. */
  2178. U.MD.D.iconMove = function () {
  2179. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2180. U.MD.D.I.IsDrag = true;
  2181. }
  2182. /**
  2183. * 拖动结束后,这里是定位处理,以网状的形式定位
  2184. *
  2185. * @param {element} 拖动的元素
  2186. * @return {object} 命名空间
  2187. */
  2188. U.MD.D.iconUp = function (el) {
  2189. var _top = 15,
  2190. _left = 20,
  2191. _margin,
  2192. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2193. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2194. if (_positioninfo["OT"] > 15) {
  2195. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2196. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2197. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2198. }
  2199. if (_positioninfo["OL"] > 20) {
  2200. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2201. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2202. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2203. }
  2204. //while循环判断么一个重叠的元素
  2205. do {
  2206. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2207. _top = _positioninfo[0] + 95; //得到定位后的top
  2208. _left = _positioninfo[1]; //得到定位后的left
  2209. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2210. }
  2211. /**
  2212. * 判断拖动后图标是否重叠
  2213. *
  2214. * @param {element} 拖动的元素
  2215. * @param {element} 桌面所有的元素
  2216. * @param {array} 拖动元素的位置
  2217. ----------[0] 上 top
  2218. ----------[1] 左 left
  2219. * @return {object} 命名空间
  2220. */
  2221. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2222. //循环所有的图标
  2223. for (var i = 0; i < childs.length; i++) {
  2224. //判断有没有和该图标诶子重叠的元素
  2225. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2226. return childs[i]; //如果有返回
  2227. }
  2228. }
  2229. }
  2230. //#endregion
  2231. //#endregion
  2232. //#region 桌面应用
  2233. /**
  2234. * 打开应用
  2235. *
  2236. * @param {string} 类型
  2237. -----------------Disk 网盘系统
  2238. -----------------PDisk 学习系统网盘
  2239. -----------------Poto 图片
  2240. -----------------Video 视频
  2241. -----------------Music 音乐
  2242. -----------------Word word
  2243. -----------------Excel excel
  2244. -----------------Txt 记事本
  2245. -----------------PB 学习系统
  2246. -----------------Blog 朋友圈系统
  2247. -----------------FTP ftp系统
  2248. -----------------Group 好友群
  2249. -----------------SY 首页系统
  2250. -----------------Set 个人设置
  2251. -----------------XSet 系统设置
  2252. -----------------App 我们所有的app
  2253. -----------------BC c.1473.cn 平台
  2254. -----------------CWeb d.1473.cn 变成平台
  2255. -----------------其他的外联系统 我们统一用iframe打开
  2256. * @param {array} 类型
  2257. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2258. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2259. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2260. 如果第一个参数为其他,则无第二个参数
  2261. * @returns {array}
  2262. */
  2263. window.addEventListener('message', function (e) { // 监听 message 事件
  2264. // alert(e.data.type);
  2265. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2266. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2267. //3是展示全部阶段 2学生 1老师 4专家
  2268. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2269. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2270. //3是展示全部阶段 2学生 1老师 4专家
  2271. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2272. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2273. //3是展示全部阶段 2学生 1老师 4专家
  2274. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2275. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2276. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2277. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2278. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2279. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2280. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2281. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2282. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2283. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2284. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2285. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2286. //3是展示全部阶段 2学生 1老师 4专家
  2287. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2288. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2289. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2290. U.MD.D.I.selectUser();
  2291. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2292. var _formel = document.getElementById("study");
  2293. U.UF.F.windowZooming(_formel);
  2294. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2295. var _formel = document.getElementById("studyDetail");
  2296. U.UF.F.windowZooming(_formel);
  2297. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2298. var _formel = document.getElementById("studyDetail");
  2299. U.UF.F.windowZooming(_formel);
  2300. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2301. var _formel = document.getElementById("studentStudy");
  2302. U.UF.F.windowZooming(_formel);
  2303. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2304. // var _formel = document.getElementById("study");
  2305. //如果最大化了,那么就把他缩小
  2306. // if (_formel.ismaximize) {
  2307. // return;
  2308. // }
  2309. // U.UF.F.windowZooming(_formel);
  2310. // U.UF.F.topWindow(_formel);
  2311. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2312. // var _formel = document.getElementById("studyDetail");
  2313. //如果最大化了,那么就把他缩小
  2314. // if (_formel.ismaximize) {
  2315. // return;
  2316. // }
  2317. // U.UF.F.windowZooming(_formel);
  2318. // U.UF.F.topWindow(_formel);
  2319. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2320. // var _formel = document.getElementById("studentStudy");
  2321. // if (_formel.ismaximize) {
  2322. // return;
  2323. // }
  2324. // U.UF.F.windowZooming(_formel);
  2325. // U.UF.F.topWindow(_formel);
  2326. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2327. var _formel = document.getElementById("study");
  2328. // if (_formel.ismaximize) {
  2329. // return;
  2330. // }
  2331. // U.UF.F.windowZooming(_formel);
  2332. U.UF.F.topWindow(_formel);
  2333. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2334. var _formel = document.getElementById("studentIndex");
  2335. U.UF.F.windowZooming(_formel);
  2336. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2337. var _formel = document.getElementById("studyDetailS");
  2338. U.UF.F.windowZooming(_formel);
  2339. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2340. var _formel = document.getElementById("studioIndex");
  2341. U.UF.F.windowZooming(_formel);
  2342. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2343. var _formel = document.getElementById("studyDetailStudio");
  2344. U.UF.F.windowZooming(_formel);
  2345. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2346. var _formel = document.getElementById("studyDetailStudio");
  2347. U.UF.F.windowZooming(_formel);
  2348. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2349. var _formel = document.getElementById("studyDetailNT");
  2350. U.UF.F.windowZooming(_formel);
  2351. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2352. var _formel = document.getElementById("studyDetailS");
  2353. U.UF.F.windowZooming(_formel);
  2354. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2355. var _formel = document.getElementById("studyDetailS");
  2356. U.UF.F.topWindow(_formel);
  2357. } else if (e.data.tools && e.data.tools == "1") {
  2358. // U.MD.D.I.openApplication("whiteboard")
  2359. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2360. } else if (e.data.tools && e.data.tools == "2") {
  2361. U.MD.D.I.openApplication("note")
  2362. } else if (e.data.tools && e.data.tools == "3") {
  2363. // U.MD.D.I.openApplication("mind")
  2364. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2365. } else if (e.data.tools && e.data.tools == "4") {
  2366. U.MD.D.I.openApplication("investigation")
  2367. } else if (e.data.tools && e.data.tools == "6") {
  2368. // U.MD.D.I.openApplication("doc")
  2369. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2370. } else if (e.data.tools && e.data.tools == "7") {
  2371. // U.MD.D.I.openApplication("mindNetwork")
  2372. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2373. } else if (e.data.tools && e.data.tools == "8") {
  2374. U.MD.D.I.openApplication("library")
  2375. } else if (e.data.tools && e.data.tools == "17") {
  2376. U.MD.D.I.openApplication("stuLibrary")
  2377. } else if (e.data.tools && e.data.tools == "18") {
  2378. U.MD.D.I.openApplication("train")
  2379. } else if (e.data.tools && e.data.tools == "21") {
  2380. U.MD.D.I.openApplication("program")
  2381. } else if (e.data.tools && e.data.tools == "22") {
  2382. U.MD.D.I.openApplication("AIprogram2")
  2383. } else if (e.data.tools && e.data.tools == "23") {
  2384. U.MD.D.I.openApplication("Pythonprogram")
  2385. } else if (e.data.tools && e.data.tools == "24") {
  2386. U.MD.D.I.openApplication("AIprogram")
  2387. } else if (e.data.tools && e.data.tools == "25") {
  2388. U.MD.D.I.openApplication("sys")
  2389. } else if (e.data.tools && e.data.tools == "26") {
  2390. // U.MD.D.I.openApplication("courseDesign")
  2391. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2392. } else if (e.data.tools && e.data.tools == "31") {
  2393. U.MD.D.I.openApplication("netWorkPanel")
  2394. } else if (e.data.tools && e.data.tools == "32") {
  2395. U.MD.D.I.openApplication("codeEdit")
  2396. } else if (e.data.tools && e.data.tools == "57") {
  2397. U.MD.D.I.openApplication("CocoPi")
  2398. } else if (e.data.tools && e.data.tools == "63") {
  2399. U.MD.D.I.openApplication("Wood")
  2400. } else if (e.data.tools && e.data.tools == "58") {
  2401. U.MD.D.I.openApplication("car")
  2402. } else if (e.data.tools && e.data.tools == "59") {
  2403. U.MD.D.I.openApplication("lineSearch")
  2404. } else if (e.data.tools && e.data.tools == "60") {
  2405. U.MD.D.I.openApplication("deepLearning")
  2406. } else if (e.data.tools && e.data.tools == "61") {
  2407. U.MD.D.I.openApplication("allHistory")
  2408. } else if (e.data.tools && e.data.tools == "28") {
  2409. U.MD.D.I.openApplication("translation")
  2410. } else if (e.data.tools && e.data.tools == "37") {
  2411. U.MD.D.I.openApplication("mohe")
  2412. } else if (e.data.tools && e.data.tools == "38") {
  2413. U.MD.D.I.openApplication("24game")
  2414. } else if (e.data.tools && e.data.tools == "39") {
  2415. U.MD.D.I.openApplication("GeoGebra")
  2416. } else if (e.data.tools && e.data.tools == "43") {
  2417. U.MD.D.I.openApplication("studentEvaluate")
  2418. } else if (e.data.tools && e.data.tools == "44") {
  2419. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2420. } else if (e.data.tools && e.data.tools == "46") {
  2421. U.MD.D.I.openApplication("project")
  2422. } else if (e.data.tools && e.data.tools == "1s") {
  2423. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2424. } else if (e.data.tools && e.data.tools == "3s") {
  2425. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2426. } else if (e.data.tools && e.data.tools == "6s") {
  2427. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2428. } else if (e.data.tools && e.data.tools == "1studio") {
  2429. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2430. } else if (e.data.tools && e.data.tools == "3studio") {
  2431. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2432. } else if (e.data.tools && e.data.tools == "6studio") {
  2433. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2434. } else if (e.data.tools && e.data.tools == "3y") {
  2435. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2436. } else if (e.data.tools && e.data.tools == "1y") {
  2437. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2438. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2439. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2440. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2441. U.MD.D.I.openApplication("AIAnalyse")
  2442. } else if (e.data.tools && e.data.tools == "1teacher") {
  2443. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2444. } else if (e.data.tools && e.data.tools == "3teacher") {
  2445. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2446. } else if (e.data.tools && e.data.tools == "7teacher") {
  2447. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2448. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2449. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2450. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2451. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2452. } else if (e.data.tools && e.data.tools == "1E") {
  2453. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2454. } else if (e.data.tools && e.data.tools == "3E") {
  2455. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2456. } else if (e.data.tools && e.data.tools == "57y") {
  2457. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2458. } else if (e.data.tools && e.data.tools == "57u") {
  2459. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2460. } else if (e.data.tools && e.data.tools == "57teacher") {
  2461. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2462. } else if (e.data.tools && e.data.tools == "64") {
  2463. U.MD.D.I.openApplication("AIChat")
  2464. } else if (e.data.tools && e.data.tools == "66") {
  2465. U.MD.D.I.openApplication("formulaEdi")
  2466. } else if (e.data.tools && e.data.tools == "67") {
  2467. U.MD.D.I.openApplication("molStr")
  2468. } else if (e.data.tools && e.data.tools == "68") {
  2469. U.MD.D.I.openApplication("timeAxis")
  2470. } else if (e.data.tools && e.data.tools == "openCourse") {
  2471. let _data = {
  2472. typea: e.data.typea || '',
  2473. typeb: e.data.typeb || '',
  2474. typed: e.data.typed || '',
  2475. }
  2476. U.MD.D.I.openInApplication("index", _data)
  2477. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2478. let _data = {
  2479. classid: e.data.classid || '',
  2480. }
  2481. U.MD.D.I.openInApplication("dataClass", _data)
  2482. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2483. let _data = {
  2484. cid: e.data.cid || '',
  2485. gid: e.data.gid || '',
  2486. }
  2487. U.MD.D.I.openInApplication("opencCscl", _data)
  2488. }
  2489. });
  2490. U.MD.D.I.selectUser = function () {
  2491. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2492. if (res.value[0].length > 0) {
  2493. US.userInfo = res.value[0][0];
  2494. $(".userName")[0].innerHTML = US.userInfo.username;
  2495. }
  2496. }, [], { "type": "GET", "withCredentials": true });
  2497. }
  2498. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2499. var _userinfo = US.userInfo, //登录用户信息
  2500. _userid = US.userInfo.userid, //登录用户id
  2501. _oid = _userinfo.organizeid,
  2502. _type = US.userInfo.type,
  2503. _org = US.userInfo.org,
  2504. _role = US.userInfo.role,
  2505. _classId = US.userInfo.classid;
  2506. if (_type == 4) {
  2507. tType = 4
  2508. }
  2509. switch (str) {
  2510. case "studyDetailNT": //无终端模式
  2511. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2512. setTimeout(() => {
  2513. U.MD.U.L.login();
  2514. }, 2000);
  2515. } else {
  2516. _formdiv = new U.UF.UI.form(
  2517. "课程详情",
  2518. $$("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 }), {
  2519. "id": "studyDetailNT",
  2520. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2521. "onresize": function () { }
  2522. }, {
  2523. closecallback: function () { }
  2524. }, { "style": { "height": "36px" } }).form; //创建窗体
  2525. _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); } }
  2526. break;
  2527. }
  2528. case "studyDetail":
  2529. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2530. setTimeout(() => {
  2531. U.MD.U.L.login();
  2532. }, 2000);
  2533. } else {
  2534. _formdiv = new U.UF.UI.form(
  2535. "课程详情",
  2536. $$("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 }), {
  2537. "id": "studyDetail",
  2538. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2539. "onresize": function () { }
  2540. }, {
  2541. closecallback: function () { }
  2542. }, { "style": { "height": "36px" } }).form; //创建窗体
  2543. _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); } }
  2544. break;
  2545. }
  2546. case "studyDetailS":
  2547. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2548. setTimeout(() => {
  2549. U.MD.U.L.login();
  2550. }, 2000);
  2551. } else {
  2552. _formdiv = new U.UF.UI.form(
  2553. "项目详情",
  2554. $$("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 }), {
  2555. "id": "studyDetailS",
  2556. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2557. "onresize": function () { }
  2558. }, {
  2559. closecallback: function () { }
  2560. }, { "style": { "height": "36px" } }).form; //创建窗体
  2561. _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); } }
  2562. break;
  2563. }
  2564. case "studyDetailStudio":
  2565. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2566. setTimeout(() => {
  2567. U.MD.U.L.login();
  2568. }, 2000);
  2569. } else {
  2570. _formdiv = new U.UF.UI.form(
  2571. "工作详情",
  2572. $$("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 }), {
  2573. "id": "studyDetailStudio",
  2574. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2575. "onresize": function () { }
  2576. }, {
  2577. closecallback: function () { }
  2578. }, { "style": { "height": "36px" } }).form; //创建窗体
  2579. _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); } }
  2580. break;
  2581. }
  2582. case "studyDetailS5":
  2583. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2584. setTimeout(() => {
  2585. U.MD.U.L.login();
  2586. }, 2000);
  2587. } else {
  2588. _formdiv = new U.UF.UI.form(
  2589. "项目详情",
  2590. $$("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 }), {
  2591. "id": "studyDetailS",
  2592. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2593. "onresize": function () { }
  2594. }, {
  2595. closecallback: function () { }
  2596. }, { "style": { "height": "36px" } }).form; //创建窗体
  2597. _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); } }
  2598. break;
  2599. }
  2600. case "studyDetailGM":
  2601. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2602. setTimeout(() => {
  2603. U.MD.U.L.login();
  2604. }, 2000);
  2605. } else {
  2606. _formdiv = new U.UF.UI.form(
  2607. "课程详情",
  2608. $$("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 }), {
  2609. "id": "studyDetail",
  2610. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2611. "onresize": function () { }
  2612. }, {
  2613. closecallback: function () { }
  2614. }, { "style": { "height": "36px" } }).form; //创建窗体
  2615. _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); } }
  2616. break;
  2617. }
  2618. case "hanUrl":
  2619. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2620. setTimeout(() => {
  2621. U.MD.U.L.login();
  2622. }, 2000);
  2623. } else {
  2624. _formdiv = new U.UF.UI.form(
  2625. "汉字宫",
  2626. $$("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" }), {
  2627. "id": "hanUrl",
  2628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2629. "onresize": function () { }
  2630. }, {
  2631. closecallback: function () { }
  2632. }, { "style": { "height": "36px" } }).form; //创建窗体
  2633. _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); } }
  2634. break;
  2635. }
  2636. case "index":
  2637. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2638. setTimeout(() => {
  2639. U.MD.U.L.login();
  2640. }, 2000);
  2641. } else {
  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=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2645. "id": "study",
  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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2652. break;
  2653. }
  2654. case "dataClass":
  2655. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2656. setTimeout(() => {
  2657. U.MD.U.L.login();
  2658. }, 2000);
  2659. } else {
  2660. _formdiv = new U.UF.UI.form(
  2661. "数据报告",
  2662. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2663. "id": "dataClass",
  2664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2665. "onresize": function () { }
  2666. }, {
  2667. closecallback: function () { }
  2668. }, { "style": { "height": "36px" } }).form; //创建窗体
  2669. _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); } }
  2670. break;
  2671. }
  2672. case "opencCscl":
  2673. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2674. setTimeout(() => {
  2675. U.MD.U.L.login();
  2676. }, 2000);
  2677. } else {
  2678. _formdiv = new U.UF.UI.form(
  2679. "协同建构",
  2680. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2681. "id": "futureClass",
  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/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2688. break;
  2689. }
  2690. }
  2691. }
  2692. U.MD.D.I.openApplication = function (str, obj, info) {
  2693. obj = obj || {};
  2694. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2695. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2696. _userinfo = US.userInfo, //登录用户信息
  2697. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2698. _oid = obj.organizeid || _userinfo.organizeid,
  2699. _type = US.userInfo.type,
  2700. _org = US.userInfo.org,
  2701. _role = US.userInfo.role,
  2702. _classId = US.userInfo.classid,
  2703. _TscreenType = 1
  2704. _screenType = 2,
  2705. _SscreenType = 3;
  2706. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2707. return;
  2708. }
  2709. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2710. switch (str) {
  2711. case "studnetProject": //好友打开
  2712. _formdiv = new U.UF.UI.form(
  2713. "我的项目",
  2714. $$("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 }), {
  2715. "id": "studnetProject",
  2716. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2717. "onresize": function () { }
  2718. }, {
  2719. closecallback: function () { }
  2720. }, { "style": { "height": "36px" } }).form; //创建窗体
  2721. _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); } }
  2722. break;
  2723. case "studentEvaluate": //好友打开
  2724. _formdiv = new U.UF.UI.form(
  2725. "我的评价",
  2726. $$("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 }), {
  2727. "id": "studentEvaluate",
  2728. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2729. "onresize": function () { }
  2730. }, {
  2731. closecallback: function () { }
  2732. }, { "style": { "height": "36px" } }).form; //创建窗体
  2733. _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); } }
  2734. break;
  2735. case "my":
  2736. _formdiv = new U.UF.UI.form(
  2737. "我的资料",
  2738. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2739. "id": "my",
  2740. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2741. "onresize": function () { }
  2742. }, {
  2743. closecallback: function () { }
  2744. }, { "style": { "height": "36px" } }).form; //创建窗体
  2745. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2746. break;
  2747. case "program":
  2748. _formdiv = new U.UF.UI.form(
  2749. "编程平台",
  2750. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2751. "id": "program",
  2752. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2753. "onresize": function () { }
  2754. }, {
  2755. closecallback: function () { }
  2756. }, { "style": { "height": "36px" } }).form; //创建窗体
  2757. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2758. break;
  2759. case "library":
  2760. _formdiv = new U.UF.UI.form(
  2761. "素材库",
  2762. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2763. "id": "library",
  2764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2765. "onresize": function () { }
  2766. }, {
  2767. closecallback: function () { }
  2768. }, { "style": { "height": "36px" } }).form; //创建窗体
  2769. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2770. break;
  2771. case "whiteboard":
  2772. _formdiv = new U.UF.UI.form(
  2773. "电子白板",
  2774. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2775. "id": "whiteboard",
  2776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2777. "onresize": function () { }
  2778. }, {
  2779. closecallback: function () { }
  2780. }, { "style": { "height": "36px" } }).form; //创建窗体
  2781. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2782. break;
  2783. case "investigation":
  2784. _formdiv = new U.UF.UI.form(
  2785. "问卷调查",
  2786. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2787. "id": "investigation",
  2788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2789. "onresize": function () { }
  2790. }, {
  2791. closecallback: function () { }
  2792. }, { "style": { "height": "36px" } }).form; //创建窗体
  2793. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2794. break;
  2795. case "note":
  2796. _formdiv = new U.UF.UI.form(
  2797. "便签分类",
  2798. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2799. "id": "note",
  2800. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2801. "onresize": function () { }
  2802. }, {
  2803. closecallback: function () { }
  2804. }, { "style": { "height": "36px" } }).form; //创建窗体
  2805. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2806. break;
  2807. // case "score":
  2808. // _formdiv = new U.UF.UI.form(
  2809. // "量规评分",
  2810. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2811. // "id": "score",
  2812. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2813. // "onresize": function() {}
  2814. // }, {
  2815. // closecallback: function() {}
  2816. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2817. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2818. // break;
  2819. case "mind":
  2820. _formdiv = new U.UF.UI.form(
  2821. "思维导图",
  2822. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2823. "id": "mind",
  2824. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2825. "onresize": function () { }
  2826. }, {
  2827. closecallback: function () { }
  2828. }, { "style": { "height": "36px" } }).form; //创建窗体
  2829. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2830. break;
  2831. case "doc":
  2832. // U.MD.D.I.isRoom();
  2833. _formdiv = new U.UF.UI.form(
  2834. "协同文档",
  2835. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2836. "id": "doc",
  2837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2838. "onresize": function () { }
  2839. }, {
  2840. closecallback: function () { }
  2841. }, { "style": { "height": "36px" } }).form; //创建窗体
  2842. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2843. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2844. // })
  2845. _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); } }
  2846. break;
  2847. case "studentStudy":
  2848. _formdiv = new U.UF.UI.form(
  2849. "课程中心",
  2850. $$("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
  2851. "id": "studentStudy",
  2852. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2853. "onresize": function () { }
  2854. }, {
  2855. closecallback: function () { }
  2856. }, { "style": { "height": "36px" } }).form; //创建窗体
  2857. _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); } }
  2858. break;
  2859. case "train": //好友打开
  2860. _formdiv = new U.UF.UI.form(
  2861. "训练平台",
  2862. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2863. "id": "train",
  2864. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2865. "onresize": function () { }
  2866. }, {
  2867. closecallback: function () { }
  2868. }, { "style": { "height": "36px" } }).form; //创建窗体
  2869. _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); } }
  2870. break;
  2871. case "mindNetwork": //好友打开
  2872. _formdiv = new U.UF.UI.form(
  2873. "思维网格",
  2874. $$("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 }), {
  2875. "id": "mindNetwork",
  2876. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2877. "onresize": function () { }
  2878. }, {
  2879. closecallback: function () { }
  2880. }, { "style": { "height": "36px" } }).form; //创建窗体
  2881. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2882. break;
  2883. case "studentClassRoom": //好友打开
  2884. _formdiv = new U.UF.UI.form(
  2885. "实时课堂",
  2886. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2887. "id": "studentClassRoom",
  2888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2889. "onresize": function () { }
  2890. }, {
  2891. closecallback: function () { }
  2892. }, { "style": { "height": "36px" } }).form; //创建窗体
  2893. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2894. setTimeout(() => {
  2895. U.UF.F.windowZooming(_formdiv)
  2896. }, 0);
  2897. break;
  2898. }
  2899. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2900. switch (str) {
  2901. case "studnetProject": //好友打开
  2902. _formdiv = new U.UF.UI.form(
  2903. "我的项目",
  2904. $$("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 }), {
  2905. "id": "studnetProject",
  2906. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2907. "onresize": function () { }
  2908. }, {
  2909. closecallback: function () { }
  2910. }, { "style": { "height": "36px" } }).form; //创建窗体
  2911. _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); } }
  2912. break;
  2913. case "studentEvaluate": //好友打开
  2914. _formdiv = new U.UF.UI.form(
  2915. "我的评价",
  2916. $$("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 }), {
  2917. "id": "studentEvaluate",
  2918. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2919. "onresize": function () { }
  2920. }, {
  2921. closecallback: function () { }
  2922. }, { "style": { "height": "36px" } }).form; //创建窗体
  2923. _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); } }
  2924. break;
  2925. case "my":
  2926. _formdiv = new U.UF.UI.form(
  2927. "我的资料",
  2928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2929. "id": "my",
  2930. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2931. "onresize": function () { }
  2932. }, {
  2933. closecallback: function () { }
  2934. }, { "style": { "height": "36px" } }).form; //创建窗体
  2935. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2936. break;
  2937. case "program":
  2938. _formdiv = new U.UF.UI.form(
  2939. "编程平台",
  2940. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2941. "id": "program",
  2942. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2943. "onresize": function () { }
  2944. }, {
  2945. closecallback: function () { }
  2946. }, { "style": { "height": "36px" } }).form; //创建窗体
  2947. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2948. break;
  2949. case "library":
  2950. _formdiv = new U.UF.UI.form(
  2951. "素材库",
  2952. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2953. "id": "library",
  2954. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2955. "onresize": function () { }
  2956. }, {
  2957. closecallback: function () { }
  2958. }, { "style": { "height": "36px" } }).form; //创建窗体
  2959. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2960. break;
  2961. case "whiteboard":
  2962. _formdiv = new U.UF.UI.form(
  2963. "电子白板",
  2964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2965. "id": "whiteboard",
  2966. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2967. "onresize": function () { }
  2968. }, {
  2969. closecallback: function () { }
  2970. }, { "style": { "height": "36px" } }).form; //创建窗体
  2971. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2972. break;
  2973. case "investigation":
  2974. _formdiv = new U.UF.UI.form(
  2975. "问卷调查",
  2976. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2977. "id": "investigation",
  2978. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2979. "onresize": function () { }
  2980. }, {
  2981. closecallback: function () { }
  2982. }, { "style": { "height": "36px" } }).form; //创建窗体
  2983. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2984. break;
  2985. case "note":
  2986. _formdiv = new U.UF.UI.form(
  2987. "便签分类",
  2988. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2989. "id": "note",
  2990. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2991. "onresize": function () { }
  2992. }, {
  2993. closecallback: function () { }
  2994. }, { "style": { "height": "36px" } }).form; //创建窗体
  2995. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2996. break;
  2997. // case "score":
  2998. // _formdiv = new U.UF.UI.form(
  2999. // "量规评分",
  3000. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3001. // "id": "score",
  3002. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3003. // "onresize": function() {}
  3004. // }, {
  3005. // closecallback: function() {}
  3006. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3007. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3008. // break;
  3009. case "mind":
  3010. _formdiv = new U.UF.UI.form(
  3011. "思维导图",
  3012. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3013. "id": "mind",
  3014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3015. "onresize": function () { }
  3016. }, {
  3017. closecallback: function () { }
  3018. }, { "style": { "height": "36px" } }).form; //创建窗体
  3019. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3020. break;
  3021. case "doc":
  3022. // U.MD.D.I.isRoom();
  3023. _formdiv = new U.UF.UI.form(
  3024. "协同文档",
  3025. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3026. "id": "doc",
  3027. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3028. "onresize": function () { }
  3029. }, {
  3030. closecallback: function () { }
  3031. }, { "style": { "height": "36px" } }).form; //创建窗体
  3032. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3033. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3034. })
  3035. _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); } }
  3036. break;
  3037. case "train": //好友打开
  3038. _formdiv = new U.UF.UI.form(
  3039. "训练平台",
  3040. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3041. "id": "train",
  3042. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3043. "onresize": function () { }
  3044. }, {
  3045. closecallback: function () { }
  3046. }, { "style": { "height": "36px" } }).form; //创建窗体
  3047. _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); } }
  3048. break;
  3049. case "studentStudy":
  3050. _formdiv = new U.UF.UI.form(
  3051. "课程中心",
  3052. $$("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
  3053. "id": "studentStudy",
  3054. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3055. "onresize": function () { }
  3056. }, {
  3057. closecallback: function () { }
  3058. }, { "style": { "height": "36px" } }).form; //创建窗体
  3059. _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); } }
  3060. break;
  3061. case "mindNetwork": //好友打开
  3062. _formdiv = new U.UF.UI.form(
  3063. "思维网格",
  3064. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3065. "id": "mindNetwork",
  3066. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3067. "onresize": function () { }
  3068. }, {
  3069. closecallback: function () { }
  3070. }, { "style": { "height": "36px" } }).form; //创建窗体
  3071. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3072. break;
  3073. case "studentClassRoom": //好友打开
  3074. _formdiv = new U.UF.UI.form(
  3075. "实时课堂",
  3076. $$("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 }), {
  3077. "id": "studentClassRoom",
  3078. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3079. "onresize": function () { }
  3080. }, {
  3081. closecallback: function () { }
  3082. }, { "style": { "height": "36px" } }).form; //创建窗体
  3083. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3084. setTimeout(() => {
  3085. U.UF.F.windowZooming(_formdiv)
  3086. }, 0);
  3087. break;
  3088. }
  3089. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3090. //选择应用处理
  3091. switch (str) {
  3092. case "project": //好友打开
  3093. _formdiv = new U.UF.UI.form(
  3094. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3095. $$("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 }), {
  3096. "id": "project",
  3097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3098. "onresize": function () { }
  3099. }, {
  3100. closecallback: function () { }
  3101. }, { "style": { "height": "36px" } }).form; //创建窗体
  3102. _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); } }
  3103. break;
  3104. case "student":
  3105. _formdiv = new U.UF.UI.form(
  3106. "学生管理",
  3107. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3108. "id": "student",
  3109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3110. "onresize": function () { }
  3111. }, {
  3112. closecallback: function () { }
  3113. }, { "style": { "height": "36px" } }).form; //创建窗体
  3114. _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); } }
  3115. break;
  3116. case "evaluate":
  3117. _formdiv = new U.UF.UI.form(
  3118. "学生评价",
  3119. $$("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 }), {
  3120. "id": "evaluate",
  3121. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3122. "onresize": function () { }
  3123. }, {
  3124. closecallback: function () { }
  3125. }, { "style": { "height": "36px" } }).form; //创建窗体
  3126. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3127. break;
  3128. case "sys":
  3129. _formdiv = new U.UF.UI.form(
  3130. "目标管理",
  3131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3132. "id": "sys",
  3133. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3134. "onresize": function () { }
  3135. }, {
  3136. closecallback: function () { }
  3137. }, { "style": { "height": "36px" } }).form; //创建窗体
  3138. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3139. break;
  3140. case "courseDesign":
  3141. _formdiv = new U.UF.UI.form(
  3142. "项目设计",
  3143. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3144. "id": "courseDesign",
  3145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3146. "onresize": function () { }
  3147. }, {
  3148. closecallback: function () { }
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3151. break;
  3152. case "program":
  3153. _formdiv = new U.UF.UI.form(
  3154. "编程平台",
  3155. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3156. "id": "program",
  3157. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3158. "onresize": function () { }
  3159. }, {
  3160. closecallback: function () { }
  3161. }, { "style": { "height": "36px" } }).form; //创建窗体
  3162. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3163. break;
  3164. case "class":
  3165. _formdiv = new U.UF.UI.form(
  3166. "班级管理",
  3167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3168. "id": "class",
  3169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3170. "onresize": function () { }
  3171. }, {
  3172. closecallback: function () { }
  3173. }, { "style": { "height": "36px" } }).form; //创建窗体
  3174. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3175. break;
  3176. case "Grade":
  3177. _formdiv = new U.UF.UI.form(
  3178. "年级管理",
  3179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3180. "id": "Grade",
  3181. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3182. "onresize": function () { }
  3183. }, {
  3184. closecallback: function () { }
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3187. break;
  3188. case "teacherOffice":
  3189. _formdiv = new U.UF.UI.form(
  3190. "教研室",
  3191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3192. "id": "teacherOffice",
  3193. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3194. "onresize": function () { }
  3195. }, {
  3196. closecallback: function () { }
  3197. }, { "style": { "height": "36px" } }).form; //创建窗体
  3198. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3199. break;
  3200. case "my":
  3201. _formdiv = new U.UF.UI.form(
  3202. "我的资料",
  3203. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3204. "id": "my",
  3205. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3206. "onresize": function () { }
  3207. }, {
  3208. closecallback: function () { }
  3209. }, { "style": { "height": "36px" } }).form; //创建窗体
  3210. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3211. break;
  3212. case "notice":
  3213. _formdiv = new U.UF.UI.form(
  3214. "通知公告",
  3215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3216. "id": "notice",
  3217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3218. "onresize": function () { }
  3219. }, {
  3220. closecallback: function () { }
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3223. break;
  3224. case "library":
  3225. _formdiv = new U.UF.UI.form(
  3226. "素材库",
  3227. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3228. "id": "library",
  3229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3230. "onresize": function () { }
  3231. }, {
  3232. closecallback: function () { }
  3233. }, { "style": { "height": "36px" } }).form; //创建窗体
  3234. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3235. break;
  3236. case "whiteboard":
  3237. _formdiv = new U.UF.UI.form(
  3238. "电子白板",
  3239. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3240. "id": "whiteboard",
  3241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3247. break;
  3248. case "investigation":
  3249. _formdiv = new U.UF.UI.form(
  3250. "问卷调查",
  3251. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3252. "id": "investigation",
  3253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3259. break;
  3260. case "note":
  3261. _formdiv = new U.UF.UI.form(
  3262. "便签分类",
  3263. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3264. "id": "note",
  3265. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3271. break;
  3272. // case "score":
  3273. // _formdiv = new U.UF.UI.form(
  3274. // "量规评分",
  3275. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3276. // "id": "score",
  3277. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3278. // "onresize": function() {}
  3279. // }, {
  3280. // closecallback: function() {}
  3281. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3283. // break;
  3284. case "mind":
  3285. _formdiv = new U.UF.UI.form(
  3286. "思维导图",
  3287. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3288. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3295. break;
  3296. case "doc":
  3297. // U.MD.D.I.isRoom();
  3298. _formdiv = new U.UF.UI.form(
  3299. "协同文档",
  3300. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3301. "id": "doc",
  3302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3303. "onresize": function () { }
  3304. }, {
  3305. closecallback: function () { }
  3306. }, { "style": { "height": "36px" } }).form; //创建窗体
  3307. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3308. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3309. })
  3310. _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); } }
  3311. break;
  3312. case "study":
  3313. _formdiv = new U.UF.UI.form(
  3314. "课程中心",
  3315. $$("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
  3316. "id": "study",
  3317. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3318. "onresize": function () { }
  3319. }, {
  3320. closecallback: function () { }
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _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); } }
  3323. break;
  3324. case "mindNetwork": //好友打开
  3325. _formdiv = new U.UF.UI.form(
  3326. "思维网格",
  3327. $$("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 }), {
  3328. "id": "mindNetwork",
  3329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function () { }
  3331. }, {
  3332. closecallback: function () { }
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. _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); } }
  3335. break;
  3336. case "train": //好友打开
  3337. _formdiv = new U.UF.UI.form(
  3338. "训练平台",
  3339. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3340. "id": "mindNetwork",
  3341. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3342. "onresize": function () { }
  3343. }, {
  3344. closecallback: function () { }
  3345. }, { "style": { "height": "36px" } }).form; //创建窗体
  3346. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3347. break;
  3348. case "teacherClassRoom": //好友打开
  3349. _formdiv = new U.UF.UI.form(
  3350. "实时课堂",
  3351. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3352. "id": "teacherClassRoom",
  3353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3354. "onresize": function () { }
  3355. }, {
  3356. closecallback: function () { }
  3357. }, { "style": { "height": "36px" } }).form; //创建窗体
  3358. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3359. setTimeout(() => {
  3360. U.UF.F.windowZooming(_formdiv)
  3361. }, 0);
  3362. break;
  3363. }
  3364. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3365. switch (str) {
  3366. case "project": //好友打开
  3367. _formdiv = new U.UF.UI.form(
  3368. "课程管理",
  3369. $$("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 }), {
  3370. "id": "project",
  3371. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3372. "onresize": function () { }
  3373. }, {
  3374. closecallback: function () { }
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _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); } }
  3377. break;
  3378. case "evaluate":
  3379. _formdiv = new U.UF.UI.form(
  3380. "学生评价",
  3381. $$("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 }), {
  3382. "id": "evaluate",
  3383. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3384. "onresize": function () { }
  3385. }, {
  3386. closecallback: function () { }
  3387. }, { "style": { "height": "36px" } }).form; //创建窗体
  3388. _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); } }
  3389. break;
  3390. case "notice":
  3391. _formdiv = new U.UF.UI.form(
  3392. "通知公告",
  3393. $$("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 }), {
  3394. "id": "notice",
  3395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3401. break;
  3402. case "stuLibrary":
  3403. _formdiv = new U.UF.UI.form(
  3404. "学习资料",
  3405. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3406. "id": "stuLibrary",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3413. break;
  3414. case "program":
  3415. _formdiv = new U.UF.UI.form(
  3416. "编程平台",
  3417. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3418. "id": "program",
  3419. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3425. break;
  3426. case "whiteboard":
  3427. _formdiv = new U.UF.UI.form(
  3428. "电子白板",
  3429. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3430. "id": "whiteboard",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3437. break;
  3438. case "investigation":
  3439. _formdiv = new U.UF.UI.form(
  3440. "问卷调查",
  3441. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3442. "id": "investigation",
  3443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3449. break;
  3450. case "mind":
  3451. _formdiv = new U.UF.UI.form(
  3452. "思维导图",
  3453. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3454. "id": "mind",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3461. break;
  3462. case "doc":
  3463. // U.MD.D.I.isRoom();
  3464. _formdiv = new U.UF.UI.form(
  3465. "协同文档",
  3466. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3467. "id": "doc",
  3468. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3469. "onresize": function () { }
  3470. }, {
  3471. closecallback: function () { }
  3472. }, { "style": { "height": "36px" } }).form; //创建窗体
  3473. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3474. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3475. })
  3476. _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); } }
  3477. break;
  3478. case "study":
  3479. _formdiv = new U.UF.UI.form(
  3480. "课程中心",
  3481. $$("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
  3482. "id": "study",
  3483. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3484. "onresize": function () { }
  3485. }, {
  3486. closecallback: function () { }
  3487. }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3489. break;
  3490. case "mindNetwork": //好友打开
  3491. _formdiv = new U.UF.UI.form(
  3492. "思维网格",
  3493. $$("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 }), {
  3494. "id": "mindNetwork",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3501. break;
  3502. case "train": //好友打开
  3503. _formdiv = new U.UF.UI.form(
  3504. "训练平台",
  3505. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3506. "id": "train",
  3507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3508. "onresize": function () { }
  3509. }, {
  3510. closecallback: function () { }
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3513. break;
  3514. case "sys":
  3515. _formdiv = new U.UF.UI.form(
  3516. "目标管理",
  3517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3518. "id": "sys",
  3519. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3520. "onresize": function () { }
  3521. }, {
  3522. closecallback: function () { }
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3525. break;
  3526. case "courseDesign":
  3527. _formdiv = new U.UF.UI.form(
  3528. "项目设计",
  3529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3530. "id": "courseDesign",
  3531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function () { }
  3533. }, {
  3534. closecallback: function () { }
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3537. break;
  3538. }
  3539. } else if (!_type) {
  3540. switch (str) {
  3541. case "my":
  3542. _formdiv = new U.UF.UI.form(
  3543. "我的资料",
  3544. $$("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 }), {
  3545. "id": "my",
  3546. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3547. "onresize": function () { }
  3548. }, {
  3549. closecallback: function () { }
  3550. }, { "style": { "height": "36px" } }).form; //创建窗体
  3551. _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); } }
  3552. break;
  3553. }
  3554. }
  3555. switch (str) {
  3556. // AIprogram2 AI体验 aihub.cocorobo.cn
  3557. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3558. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3559. case "formulaEdi": //公式编辑
  3560. _formdiv = new U.UF.UI.form(
  3561. "公式编辑",
  3562. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3563. "id": "formulaEdi",
  3564. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function () { }
  3566. }, {
  3567. closecallback: function () { }
  3568. }, { "style": { "height": "36px" } }).form; //创建窗体
  3569. _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); } }
  3570. break;
  3571. case "molStr": //分子结构
  3572. _formdiv = new U.UF.UI.form(
  3573. "分子结构",
  3574. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3575. "id": "molStr",
  3576. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function () { }
  3578. }, {
  3579. closecallback: function () { }
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. _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); } }
  3582. break;
  3583. case "timeAxis": //时间轴
  3584. _formdiv = new U.UF.UI.form(
  3585. "时间轴",
  3586. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3587. "id": "timeAxis",
  3588. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function () { }
  3590. }, {
  3591. closecallback: function () { }
  3592. }, { "style": { "height": "36px" } }).form; //创建窗体
  3593. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3594. break;
  3595. case "AIprogram2": //AI体验
  3596. _formdiv = new U.UF.UI.form(
  3597. "AI体验",
  3598. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3599. "id": "AIprogram2",
  3600. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3601. "onresize": function () { }
  3602. }, {
  3603. closecallback: function () { }
  3604. }, { "style": { "height": "36px" } }).form; //创建窗体
  3605. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3606. break;
  3607. case "Pythonprogram": //python编程
  3608. _formdiv = new U.UF.UI.form(
  3609. "Python编程",
  3610. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3611. "id": "Pythonprogram",
  3612. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function () { }
  3614. }, {
  3615. closecallback: function () { }
  3616. }, { "style": { "height": "36px" } }).form; //创建窗体
  3617. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3618. break;
  3619. case "AIprogram": //ai编程
  3620. _formdiv = new U.UF.UI.form(
  3621. "AI编程平台",
  3622. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3623. "id": "AIprogram",
  3624. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3625. "onresize": function () { }
  3626. }, {
  3627. closecallback: function () { }
  3628. }, { "style": { "height": "36px" } }).form; //创建窗体
  3629. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3630. break;
  3631. case "CocoPi": //CocoPi
  3632. _formdiv = new U.UF.UI.form(
  3633. "CocoPi",
  3634. $$("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" }), {
  3635. "id": "CocoPi",
  3636. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3637. "onresize": function () { }
  3638. }, {
  3639. closecallback: function () { }
  3640. }, { "style": { "height": "36px" } }).form; //创建窗体
  3641. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3642. break;
  3643. case "Wood": //Wood
  3644. _formdiv = new U.UF.UI.form(
  3645. "海龟编程",
  3646. $$("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/" }), {
  3647. "id": "Wood",
  3648. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3649. "onresize": function () { }
  3650. }, {
  3651. closecallback: function () { }
  3652. }, { "style": { "height": "36px" } }).form; //创建窗体
  3653. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3654. break;
  3655. case "car": //模拟驾驶
  3656. _formdiv = new U.UF.UI.form(
  3657. "模拟驾驶",
  3658. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  3659. "id": "car",
  3660. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3661. "onresize": function () { }
  3662. }, {
  3663. closecallback: function () { }
  3664. }, { "style": { "height": "36px" } }).form; //创建窗体
  3665. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3666. break;
  3667. case "lineSearch": //路径搜索
  3668. _formdiv = new U.UF.UI.form(
  3669. "路径搜索",
  3670. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  3671. "id": "lineSearch",
  3672. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3673. "onresize": function () { }
  3674. }, {
  3675. closecallback: function () { }
  3676. }, { "style": { "height": "36px" } }).form; //创建窗体
  3677. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3678. break;
  3679. case "deepLearning": //深度学习
  3680. _formdiv = new U.UF.UI.form(
  3681. "深度学习",
  3682. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  3683. "id": "deepLearning",
  3684. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3685. "onresize": function () { }
  3686. }, {
  3687. closecallback: function () { }
  3688. }, { "style": { "height": "36px" } }).form; //创建窗体
  3689. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3690. break;
  3691. case "allHistory": //深度学习
  3692. _formdiv = new U.UF.UI.form(
  3693. "全历史",
  3694. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  3695. "id": "allHistory",
  3696. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3697. "onresize": function () { }
  3698. }, {
  3699. closecallback: function () { }
  3700. }, { "style": { "height": "36px" } }).form; //创建窗体
  3701. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3702. break;
  3703. case "chatPDF": //ai编程
  3704. _formdiv = new U.UF.UI.form(
  3705. "chatPDF",
  3706. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3707. "id": "chatPDF",
  3708. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function () { }
  3710. }, {
  3711. closecallback: function () { }
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3714. break;
  3715. case "resources": //国家教育
  3716. _formdiv = new U.UF.UI.form(
  3717. "国家教育",
  3718. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3719. "id": "resources",
  3720. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3726. break;
  3727. case "codeEdit": //源码编辑
  3728. _formdiv = new U.UF.UI.form(
  3729. "源码编辑",
  3730. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3731. "id": "codeEdit",
  3732. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3738. break; //
  3739. case "MindMap": //MindMap
  3740. _formdiv = new U.UF.UI.form(
  3741. "MindMap",
  3742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3743. "id": "MindMap",
  3744. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function () { }
  3746. }, {
  3747. closecallback: function () { }
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3750. break;
  3751. case "netWorkPanel": //netWorkPanel
  3752. _formdiv = new U.UF.UI.form(
  3753. "netWorkPanel",
  3754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3755. "id": "netWorkPanel",
  3756. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3762. break;
  3763. case "GeoGebra": //GeoGebra
  3764. _formdiv = new U.UF.UI.form(
  3765. "GeoGebra",
  3766. $$("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" }), {
  3767. "id": "GeoGebra",
  3768. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function () { }
  3770. }, {
  3771. closecallback: function () { }
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3774. break;
  3775. case "translation": //翻译
  3776. _formdiv = new U.UF.UI.form(
  3777. "翻译",
  3778. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3779. "id": "translation",
  3780. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function () { }
  3782. }, {
  3783. closecallback: function () { }
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3786. break;
  3787. case "mohe": //魔盒
  3788. _formdiv = new U.UF.UI.form(
  3789. "魔盒识字",
  3790. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3791. "id": "mohe",
  3792. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3793. "onresize": function () { }
  3794. }, {
  3795. closecallback: function () { }
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3798. break;
  3799. case "24game": //24点
  3800. _formdiv = new U.UF.UI.form(
  3801. "24点",
  3802. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3803. "id": "24game",
  3804. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3805. "onresize": function () { }
  3806. }, {
  3807. closecallback: function () { }
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3810. break;
  3811. case "case":
  3812. _formdiv = new U.UF.UI.form(
  3813. "课程进展",
  3814. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3815. "id": "case",
  3816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3817. "onresize": function () { }
  3818. }, {
  3819. closecallback: function () { }
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3822. break;
  3823. case "snf":
  3824. _formdiv = new U.UF.UI.form(
  3825. "赛诺梵",
  3826. $$("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" }), {
  3827. "id": "snf",
  3828. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3829. "onresize": function () { }
  3830. }, {
  3831. closecallback: function () { }
  3832. }, { "style": { "height": "36px" } }).form; //创建窗体
  3833. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3834. break;
  3835. case "hanFamily":
  3836. _formdiv = new U.UF.UI.form(
  3837. "汉字家族",
  3838. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3839. "id": "hanFamily",
  3840. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3841. "onresize": function () { }
  3842. }, {
  3843. closecallback: function () { }
  3844. }, { "style": { "height": "36px" } }).form; //创建窗体
  3845. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3846. break;
  3847. case "hanClassics":
  3848. _formdiv = new U.UF.UI.form(
  3849. "国学经典",
  3850. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3851. "id": "hanClassics",
  3852. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3858. break;
  3859. case "hanTraining":
  3860. _formdiv = new U.UF.UI.form(
  3861. "笔画训练",
  3862. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3863. "id": "hanTraining",
  3864. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3865. "onresize": function () { }
  3866. }, {
  3867. closecallback: function () { }
  3868. }, { "style": { "height": "36px" } }).form; //创建窗体
  3869. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3870. break;
  3871. case "hanClass":
  3872. _formdiv = new U.UF.UI.form(
  3873. "书法课堂",
  3874. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3875. "id": "hanClass",
  3876. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function () { }
  3878. }, {
  3879. closecallback: function () { }
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3882. break;
  3883. case "han":
  3884. _formdiv = new U.UF.UI.form(
  3885. "汉字宫",
  3886. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3887. "id": "han",
  3888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3894. break;
  3895. case "projectGM": //课程管理
  3896. _formdiv = new U.UF.UI.form(
  3897. "课程管理",
  3898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3899. "id": "projectGM",
  3900. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3901. "onresize": function () { }
  3902. }, {
  3903. closecallback: function () { }
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3906. break;
  3907. case "studyGM": //课程中心
  3908. _formdiv = new U.UF.UI.form(
  3909. "课程中心",
  3910. $$("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
  3911. "id": "study",
  3912. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3913. "onresize": function () { }
  3914. }, {
  3915. closecallback: function () { }
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3918. break;
  3919. // studentGM
  3920. case "studentGM": //学生管理
  3921. _formdiv = new U.UF.UI.form(
  3922. "学生管理",
  3923. $$("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 }), {
  3924. "id": "studentGM",
  3925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function () { }
  3927. }, {
  3928. closecallback: function () { }
  3929. }, { "style": { "height": "36px" } }).form; //创建窗体
  3930. _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); } }
  3931. break;
  3932. case "evaluateGM": //学生评价
  3933. _formdiv = new U.UF.UI.form(
  3934. "学生评价",
  3935. $$("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 }), {
  3936. "id": "evaluateGM",
  3937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function () { }
  3939. }, {
  3940. closecallback: function () { }
  3941. }, { "style": { "height": "36px" } }).form; //创建窗体
  3942. _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); } }
  3943. break;
  3944. // classGM
  3945. case "classGM": //班级管理
  3946. _formdiv = new U.UF.UI.form(
  3947. "班级管理",
  3948. $$("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 }), {
  3949. "id": "classGM",
  3950. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3951. "onresize": function () { }
  3952. }, {
  3953. closecallback: function () { }
  3954. }, { "style": { "height": "36px" } }).form; //创建窗体
  3955. _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); } }
  3956. break;
  3957. // dataGM
  3958. case "dataGM":
  3959. _formdiv = new U.UF.UI.form(
  3960. "我的资料",
  3961. $$("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 }), {
  3962. "id": "dataGM",
  3963. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3964. "onresize": function () { }
  3965. }, {
  3966. closecallback: function () { }
  3967. }, { "style": { "height": "36px" } }).form; //创建窗体
  3968. _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); } }
  3969. break;
  3970. // caseGM
  3971. case "caseGM": //课程进展
  3972. _formdiv = new U.UF.UI.form(
  3973. "课程进展",
  3974. $$("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 }), {
  3975. "id": "caseGM",
  3976. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3977. "onresize": function () { }
  3978. }, {
  3979. closecallback: function () { }
  3980. }, { "style": { "height": "36px" } }).form; //创建窗体
  3981. _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); } }
  3982. break;
  3983. // meterialGM
  3984. case "meterialGM": //素材库
  3985. _formdiv = new U.UF.UI.form(
  3986. "素材库",
  3987. $$("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 }), {
  3988. "id": "meterialGM",
  3989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function () { }
  3991. }, {
  3992. closecallback: function () { }
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. // evaluateSGM
  3997. case "evaluateSGM": //我的评价
  3998. _formdiv = new U.UF.UI.form(
  3999. "我的评价",
  4000. $$("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 }), {
  4001. "id": "evaluateSGM",
  4002. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4003. "onresize": function () { }
  4004. }, {
  4005. closecallback: function () { }
  4006. }, { "style": { "height": "36px" } }).form; //创建窗体
  4007. _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); } }
  4008. break;
  4009. case "jupyter": //jupyter
  4010. _formdiv = new U.UF.UI.form(
  4011. "jupyter",
  4012. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4013. "id": "jupyter",
  4014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _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); } }
  4020. break;
  4021. case "number": //数字实验室
  4022. _formdiv = new U.UF.UI.form(
  4023. "数字实验室",
  4024. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4025. "id": "number",
  4026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4032. break;
  4033. case "studentCourse": //项目管理 学生
  4034. _formdiv = new U.UF.UI.form(
  4035. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4036. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4037. "id": "studentCourse",
  4038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4044. break;
  4045. case "studentCourseS": //项目管理 老师
  4046. _formdiv = new U.UF.UI.form(
  4047. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4048. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4049. "id": "studentCourseS",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4056. break;
  4057. case "studentIndex": //项目中心
  4058. _formdiv = new U.UF.UI.form(
  4059. "项目中心",
  4060. $$("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 }), {
  4061. "id": "studentIndex",
  4062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4068. break;
  4069. case "CaseDesignS":
  4070. _formdiv = new U.UF.UI.form(
  4071. "项目进展",
  4072. $$("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 }), {
  4073. "id": "case",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4080. break;
  4081. case "tcStudent": //腾讯学生管理
  4082. _formdiv = new U.UF.UI.form(
  4083. "学生管理",
  4084. $$("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 }), {
  4085. "id": "tcStudent",
  4086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4092. break;
  4093. case "tcSchool": //腾讯学校管理
  4094. _formdiv = new U.UF.UI.form(
  4095. "学校管理",
  4096. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4097. "id": "tcSchool",
  4098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4104. break;
  4105. case "tcTeacher": //腾讯学校管理
  4106. _formdiv = new U.UF.UI.form(
  4107. "教师管理",
  4108. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4109. "id": "tcTeacher",
  4110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4111. "onresize": function () { }
  4112. }, {
  4113. closecallback: function () { }
  4114. }, { "style": { "height": "36px" } }).form; //创建窗体
  4115. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4116. break;
  4117. case "tcData": //腾讯我的资料
  4118. _formdiv = new U.UF.UI.form(
  4119. "我的资料",
  4120. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4121. "id": "tcData",
  4122. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4123. "onresize": function () { }
  4124. }, {
  4125. closecallback: function () { }
  4126. }, { "style": { "height": "36px" } }).form; //创建窗体
  4127. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4128. break;
  4129. case "tcNotice": //腾讯消息通知
  4130. _formdiv = new U.UF.UI.form(
  4131. "消息通知",
  4132. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4133. "id": "tcNotice",
  4134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4135. "onresize": function () { }
  4136. }, {
  4137. closecallback: function () { }
  4138. }, { "style": { "height": "36px" } }).form; //创建窗体
  4139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4140. break;
  4141. case "myReport": //好友打开
  4142. _formdiv = new U.UF.UI.form(
  4143. "我的评价",
  4144. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4145. "id": "myReport",
  4146. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4147. "onresize": function () { }
  4148. }, {
  4149. closecallback: function () { }
  4150. }, { "style": { "height": "36px" } }).form; //创建窗体
  4151. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4152. break;
  4153. case "learnAna": //好友打开
  4154. _formdiv = new U.UF.UI.form(
  4155. "学习分析",
  4156. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4157. "id": "learnAna",
  4158. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //创建窗体
  4163. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4164. break;
  4165. case "AIChat": //AI共创
  4166. _formdiv = new U.UF.UI.form(
  4167. "AI共创",
  4168. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4169. "id": "AIChat",
  4170. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. istop: true,
  4174. closecallback: function () { $("#aichat_icon").remove(); },
  4175. narrowcallback: function () {
  4176. if (!$("#aichat_icon")[0]) {
  4177. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4178. }
  4179. },
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _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); } }
  4182. break;
  4183. case "ainew": //AI共创
  4184. _formdiv = new U.UF.UI.form(
  4185. "AI协同",
  4186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4187. "id": "ainew",
  4188. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4189. "onresize": function () { }
  4190. }, {
  4191. closecallback: function () { }
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _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); } }
  4194. break;
  4195. case "futureClass": //AI共创
  4196. _formdiv = new U.UF.UI.form(
  4197. "协同建构",
  4198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4199. "id": "synergyCourse",
  4200. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4201. "onresize": function () { }
  4202. }, {
  4203. closecallback: function () { }
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4206. break;
  4207. case "aiagent": //ai agent
  4208. _formdiv = new U.UF.UI.form(
  4209. "AI Agent",
  4210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4211. "id": "AIAgent",
  4212. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4213. "onresize": function () { }
  4214. }, {
  4215. closecallback: function () { }
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4218. break;
  4219. case "dataBoard": //数据看板
  4220. _formdiv = new U.UF.UI.form(
  4221. "数据看板",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4223. "id": "dataBoard",
  4224. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4230. break;
  4231. case "AIAnalyse": //AI共创
  4232. _formdiv = new U.UF.UI.form(
  4233. "AI分析",
  4234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4235. "id": "AIAnalyse",
  4236. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4237. "onresize": function () { }
  4238. }, {
  4239. closecallback: function () { }
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4242. break;
  4243. case "studioCourse": //AI共创
  4244. _formdiv = new U.UF.UI.form(
  4245. "工作管理",
  4246. $$("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 }), {
  4247. "id": "studioCourse",
  4248. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4254. break;
  4255. case "studioIndex": //AI共创
  4256. _formdiv = new U.UF.UI.form(
  4257. "工作中心",
  4258. $$("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 }), {
  4259. "id": "studioIndex",
  4260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4266. break;
  4267. case "source":
  4268. _formdiv = new U.UF.UI.form(
  4269. "教学资源",
  4270. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4271. "id": "source",
  4272. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4273. "onresize": function () { }
  4274. }, {
  4275. closecallback: function () { }
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4278. break;
  4279. case "testTeacher":
  4280. _formdiv = new U.UF.UI.form(
  4281. "评测管理",
  4282. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4283. "id": "testTeacher",
  4284. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4285. "onresize": function () { }
  4286. }, {
  4287. closecallback: function () { }
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4290. break;
  4291. case "testStudent":
  4292. _formdiv = new U.UF.UI.form(
  4293. "评测中心",
  4294. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4295. "id": "testStudent",
  4296. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4297. "onresize": function () { }
  4298. }, {
  4299. closecallback: function () { }
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4302. break;
  4303. }
  4304. //U.MD.D.I.openClick(str);
  4305. //如果有任务栏信息
  4306. if (_taskbar) {
  4307. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4308. }
  4309. }
  4310. // U.MD.D.I.openClick = function(str){
  4311. // var click = '';
  4312. // switch(str){
  4313. // case 'friend':
  4314. // click = '我的好友';
  4315. // break;
  4316. // case 'domain':
  4317. // click = '域名管理';
  4318. // break;
  4319. // case 'disk':
  4320. // click = '我的云盘';
  4321. // break;
  4322. // case 'word':
  4323. // click = 'Word';
  4324. // break;
  4325. // case 'excel':
  4326. // click = 'Execl';
  4327. // break;
  4328. // case 'txt':
  4329. // click = '文本文件';
  4330. // break;
  4331. // case 'lookupFriend':
  4332. // click = '查找好友';
  4333. // break;
  4334. // case 'ftp':
  4335. // click = 'FTP';
  4336. // break;
  4337. // case 'group':
  4338. // click = '群组';
  4339. // break;
  4340. // case 'set':
  4341. // click = '我的设置';
  4342. // break;
  4343. // case 'systemSet':
  4344. // click = '系统设置';
  4345. // break;
  4346. // case 'boomYun':
  4347. // click = '互联办公';
  4348. // break;
  4349. // case 'xz':
  4350. // click = '云端下载';
  4351. // break;
  4352. // case 'client':
  4353. // click = '有思浏览器';
  4354. // break;
  4355. // case 'backEndProgramming':
  4356. // click = '在线后台编程';
  4357. // break;
  4358. // case 'frontEndProgramming':
  4359. // click = '在线前端编程';
  4360. // break;
  4361. // default: break;
  4362. // }
  4363. // if(U.MD.D.I.Ip && click){
  4364. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4365. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4366. // })
  4367. // }
  4368. // }
  4369. /**
  4370. *函数作用:ajax简易函数,使用post格式
  4371. *@param url {data} 后台地址
  4372. *@param data {data} 参数json
  4373. *@param fn {data} 回调函数
  4374. *
  4375. */
  4376. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4377. // var xhr = new XMLHttpRequest();
  4378. // xhr.open("GET",url,true);
  4379. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4380. // xhr.onreadystatechange = function(){
  4381. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4382. // fn.call(this,xhr.responseText);
  4383. // }
  4384. // };
  4385. // xhr.send();
  4386. // }
  4387. /*判断是否是内网IP*/
  4388. // U.MD.D.I.isInnerIPFn = function(str){
  4389. // var curPageUrl = str;
  4390. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4391. // curPageUrl =curPageUrl.replace(reg1,'');
  4392. // // console.log('curPageUrl-1 '+curPageUrl);
  4393. // var reg2 = /\:+/g;//替换冒号为一点
  4394. // curPageUrl =curPageUrl.replace(reg2,'.');
  4395. // // console.log('curPageUrl-2 '+curPageUrl);
  4396. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4397. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4398. // if(curPageUrl[2] != '16'){
  4399. // return ipAddress;
  4400. // }else{
  4401. // return false;
  4402. // }
  4403. // }
  4404. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4405. // //compatibility for firefox and chrome
  4406. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4407. // var pc = new myPeerConnection({
  4408. // iceServers: []
  4409. // }),
  4410. // noop = function() {},
  4411. // localIPs = {},
  4412. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4413. // key;
  4414. // function iterateIP(ip) {
  4415. // if (!localIPs[ip]) onNewIP(ip);
  4416. // localIPs[ip] = true;
  4417. // }
  4418. // //create a bogus data channel
  4419. // pc.createDataChannel("");
  4420. // // create offer and set local description
  4421. // pc.createOffer().then(function(sdp) {
  4422. // sdp.sdp.split('\n').forEach(function(line) {
  4423. // if (line.indexOf('candidate') < 0) return;
  4424. // line.match(ipRegex).forEach(iterateIP);
  4425. // });
  4426. // pc.setLocalDescription(sdp, noop, noop);
  4427. // }).catch(function(reason) {
  4428. // // An error occurred, so handle the failure to connect
  4429. // });
  4430. // //sten for candidate events
  4431. // pc.onicecandidate = function(ice) {
  4432. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4433. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4434. // };
  4435. // }
  4436. // U.MD.D.I.getUserIpBool = function(callback){
  4437. // U.MD.D.I.getUserIP(function(ip){
  4438. // alert("Got IP! :" + ip);
  4439. // });
  4440. //}
  4441. //#endregion
  4442. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4443. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4444. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4445. _userinfo = US.userInfo, //登录用户信息
  4446. _userid = US.userInfo.userid //登录用户id
  4447. let _iframe;
  4448. let _cid = cid,
  4449. _stage = stage,
  4450. _task = task,
  4451. _tool = tool;
  4452. var _jie = $$("div", {
  4453. "style": {
  4454. "position": "absolute",
  4455. "bottom": "50px",
  4456. "right": "50px",
  4457. "zIndex": "9999",
  4458. "backgroundColor": "#2268bc",
  4459. "color": "#fff",
  4460. "padding": "12px 20px",
  4461. "cursor": "pointer",
  4462. "borderRadius": "4px",
  4463. },
  4464. "innerHTML": "提交作业"
  4465. })
  4466. let aTool = ''
  4467. let _loading = document.createElement('div')
  4468. _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;"
  4469. // _loading.id = "";
  4470. let _lchild = document.createElement('div')
  4471. let _limg = document.createElement('img')
  4472. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4473. _limg.style = "width: 26px;margin-right: 10px;"
  4474. _lchild.appendChild(_limg)
  4475. let _lspan = document.createElement('span')
  4476. _lspan.innerHTML = "上传中..."
  4477. _lchild.appendChild(_lspan)
  4478. _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%);"
  4479. _loading.appendChild(_lchild)
  4480. var _box = $$('div', {
  4481. "style": {
  4482. "position": "relative",
  4483. "width": "100%",
  4484. "height": "100%",
  4485. },
  4486. })
  4487. _box.appendChild(_loading)
  4488. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4489. switch (str) {
  4490. case "whiteboard":
  4491. aTool = 1;
  4492. _iframe = $$("iframe", {
  4493. "frameborder": "no",
  4494. "border": "0",
  4495. "scrolling ": "no",
  4496. "style": {
  4497. "cssText": "border:0;width:100%;height:100%"
  4498. },
  4499. "src": "https://iwb.cocorobo.cn/"
  4500. })
  4501. _box.appendChild(_iframe);
  4502. _box.appendChild(_jie);
  4503. _formdiv = new U.UF.UI.form(
  4504. "电子白板",
  4505. _box, {
  4506. "id": "whiteboard" + cid + stage + task + tool,
  4507. "style": {
  4508. "width": "90%",
  4509. "height": "90%",
  4510. "overflow": 'hidden'
  4511. },
  4512. "onresize": function () { }
  4513. }, {
  4514. closecallback: function () { }
  4515. }, {
  4516. "style": {
  4517. "height": "36px"
  4518. }
  4519. }).form; //创建窗体
  4520. _taskbar = {
  4521. "id": str + _formdiv.id,
  4522. "style": {
  4523. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4524. },
  4525. "name": "电子白板",
  4526. "forms": _formdiv,
  4527. "click": function () {
  4528. U.MD.D.I.openApplication(str, obj, info);
  4529. }
  4530. }
  4531. break;
  4532. case "mind":
  4533. aTool = 3;
  4534. _iframe = $$("iframe", {
  4535. "frameborder": "no",
  4536. "border": "0",
  4537. "scrolling ": "no",
  4538. "style": {
  4539. "cssText": "border:0;width:100%;height:100%"
  4540. },
  4541. "src": "/kityminder-editor/dist/index.html"
  4542. })
  4543. _box.appendChild(_iframe);
  4544. _box.appendChild(_jie);
  4545. _formdiv = new U.UF.UI.form(
  4546. "思维导图",
  4547. _box, { //"/jsmind/example/demo.html"
  4548. "id": "mind" + cid + stage + task + tool,
  4549. "style": {
  4550. "width": "90%",
  4551. "height": "90%",
  4552. "overflow": 'hidden'
  4553. },
  4554. "onresize": function () { }
  4555. }, {
  4556. closecallback: function () { }
  4557. }, {
  4558. "style": {
  4559. "height": "36px"
  4560. }
  4561. }).form; //创建窗体
  4562. _taskbar = {
  4563. "id": str + _formdiv.id,
  4564. "style": {
  4565. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4566. },
  4567. "name": "思维导图",
  4568. "forms": _formdiv,
  4569. "click": function () {
  4570. U.MD.D.I.openApplication(str, obj, info);
  4571. }
  4572. }
  4573. break;
  4574. case "MindMap":
  4575. aTool = 3;
  4576. _iframe = $$("iframe", {
  4577. "frameborder": "no",
  4578. "border": "0",
  4579. "scrolling ": "no",
  4580. "style": {
  4581. "cssText": "border:0;width:100%;height:100%"
  4582. },
  4583. "src": "//cloud.cocorobo.cn/mind/"
  4584. })
  4585. _box.appendChild(_iframe);
  4586. _box.appendChild(_jie);
  4587. _formdiv = new U.UF.UI.form(
  4588. "思维导图",
  4589. _box, { //"/jsmind/example/demo.html"
  4590. "id": "mind" + cid + stage + task + tool,
  4591. "style": {
  4592. "width": "90%",
  4593. "height": "90%",
  4594. "overflow": 'hidden'
  4595. },
  4596. "onresize": function () { }
  4597. }, {
  4598. closecallback: function () { }
  4599. }, {
  4600. "style": {
  4601. "height": "36px"
  4602. }
  4603. }).form; //创建窗体
  4604. _taskbar = {
  4605. "id": str + _formdiv.id,
  4606. "style": {
  4607. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4608. },
  4609. "name": "思维导图",
  4610. "forms": _formdiv,
  4611. "click": function () {
  4612. U.MD.D.I.openApplication(str, obj, info);
  4613. }
  4614. }
  4615. break;
  4616. case "doc":
  4617. aTool = 6;
  4618. _iframe = $$("iframe", {
  4619. "frameborder": "no",
  4620. "border": "0",
  4621. "scrolling ": "no",
  4622. "style": {
  4623. "cssText": "border:0;width:100%;height:100%"
  4624. },
  4625. "src": "/Office/Word/WordEditArea.htm"
  4626. })
  4627. _box.appendChild(_iframe);
  4628. _box.appendChild(_jie);
  4629. _formdiv = new U.UF.UI.form(
  4630. "协同文档",
  4631. _box, {
  4632. "id": "doc" + cid + stage + task + tool,
  4633. "style": {
  4634. "width": "90%",
  4635. "height": "90%",
  4636. "overflow": 'hidden'
  4637. },
  4638. "onresize": function () { }
  4639. }, {
  4640. closecallback: function () { }
  4641. }, {
  4642. "style": {
  4643. "height": "36px"
  4644. }
  4645. }).form; //创建窗体
  4646. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4647. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4648. })
  4649. _taskbar = {
  4650. "id": str + _formdiv.id,
  4651. "style": {
  4652. "backgroundImage": "url(/img/icon/doc.png)"
  4653. },
  4654. "name": "协同文档",
  4655. "forms": _formdiv,
  4656. "click": function () {
  4657. U.MD.D.I.openApplication(str, obj, info);
  4658. }
  4659. }
  4660. break;
  4661. case "mindNetwork": //好友打开
  4662. aTool = 7;
  4663. _iframe = $$("iframe", {
  4664. "webkitallowfullscreen": "",
  4665. "mozallowfullscreen": "",
  4666. "allowfullscreen": "",
  4667. "frameborder": "no",
  4668. "border": "0",
  4669. "scrolling ": "no",
  4670. "style": {
  4671. "cssText": "border:0; width:100%; height:100%;"
  4672. },
  4673. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4674. })
  4675. _box.appendChild(_iframe);
  4676. _box.appendChild(_jie);
  4677. _formdiv = new U.UF.UI.form(
  4678. "思维网格",
  4679. _box, {
  4680. "id": "mindNetwork" + cid + stage + task + tool,
  4681. "style": {
  4682. "width": "90%",
  4683. "height": "90%",
  4684. "overflow": 'hidden'
  4685. },
  4686. "onresize": function () { }
  4687. }, {
  4688. closecallback: function () { }
  4689. }, {
  4690. "style": {
  4691. "height": "36px"
  4692. }
  4693. }).form; //创建窗体
  4694. _taskbar = {
  4695. "id": str + _formdiv.id,
  4696. "style": {
  4697. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4698. },
  4699. "name": "思维网格",
  4700. "forms": _formdiv,
  4701. "click": function () {
  4702. U.MD.D.I.openApplication(str, obj, info);
  4703. }
  4704. }
  4705. break;
  4706. case "courseDesign":
  4707. _iframe = $$("iframe", {
  4708. "webkitallowfullscreen": "",
  4709. "mozallowfullscreen": "",
  4710. "allowfullscreen": "",
  4711. "frameborder": "no",
  4712. "border": "0",
  4713. "scrolling ": "no",
  4714. "style": {
  4715. "cssText": "border:0; width:100%; height:100%;"
  4716. },
  4717. "src": "/course-design-vue"
  4718. })
  4719. _box.appendChild(_iframe);
  4720. _box.appendChild(_jie);
  4721. _formdiv = new U.UF.UI.form(
  4722. "项目设计",
  4723. _box, {
  4724. "id": "courseDesign" + cid + stage + task + tool,
  4725. "style": {
  4726. "width": "90%",
  4727. "height": "90%",
  4728. "overflow": 'hidden'
  4729. },
  4730. "onresize": function () { }
  4731. }, {
  4732. closecallback: function () { }
  4733. }, {
  4734. "style": {
  4735. "height": "36px"
  4736. }
  4737. }).form; //创建窗体
  4738. _taskbar = {
  4739. "id": str + _formdiv.id,
  4740. "style": {
  4741. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4742. },
  4743. "name": "项目设计",
  4744. "forms": _formdiv,
  4745. "click": function () {
  4746. U.MD.D.I.openApplication(str, obj, info);
  4747. }
  4748. }
  4749. break;
  4750. }
  4751. const script1 = document.createElement("script");
  4752. script1.type = "text/javascript";
  4753. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4754. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4755. const script2 = document.createElement("script");
  4756. script2.type = "text/javascript";
  4757. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4758. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4759. const script3 = document.createElement("script");
  4760. script3.type = "text/javascript";
  4761. script3.charset = "UTF-8";
  4762. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4763. const script4 = document.createElement("script");
  4764. script4.type = "text/javascript";
  4765. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4766. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4767. if (_iframe) {
  4768. if (str == 'doc') {
  4769. _iframe = _formdiv.querySelector('iframe')
  4770. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4771. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4772. _iframe.contentWindow.document.body.appendChild(script1);
  4773. _iframe.contentWindow.document.body.appendChild(script2);
  4774. // _iframe.contentWindow.document.body.appendChild(script3);
  4775. _iframe.contentWindow.document.body.appendChild(script4);
  4776. })
  4777. if (onloadListener) {
  4778. _iframe.contentDocument.location.reload()
  4779. } else {
  4780. _iframe.contentDocument.location.reload()
  4781. }
  4782. } else if (str == 'courseDesign') {
  4783. U.UF.DL.iframeLoad(_iframe, function () {
  4784. // _iframe.contentWindow.U.MD.O.W.load();
  4785. // _iframe.contentWindow.document.body.appendChild(script1);
  4786. _iframe.contentWindow.document.body.appendChild(script2);
  4787. _iframe.contentWindow.document.body.appendChild(script4);
  4788. })
  4789. } else if (str == 'mind') {
  4790. _iframe = _formdiv.querySelector('iframe')
  4791. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4792. //
  4793. _iframe.contentWindow.document.body.appendChild(script1);
  4794. _iframe.contentWindow.document.body.appendChild(script2);
  4795. _iframe.contentWindow.document.body.appendChild(script4);
  4796. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4797. })
  4798. if (onloadListener) {
  4799. _iframe.contentDocument.location.reload()
  4800. } else {
  4801. _iframe.contentDocument.location.reload()
  4802. }
  4803. } else if (str == 'whiteboard') {
  4804. _iframe = _formdiv.querySelector('iframe')
  4805. let onloadListener = _iframe.onload = () => {
  4806. _iframe.contentWindow.document.body.appendChild(script1);
  4807. _iframe.contentWindow.document.body.appendChild(script2);
  4808. _iframe.contentWindow.document.body.appendChild(script4);
  4809. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4810. };
  4811. if (onloadListener) {
  4812. _iframe.contentDocument.location.reload()
  4813. } else {
  4814. _iframe.contentDocument.location.reload()
  4815. }
  4816. } else {
  4817. _iframe.onload = () => {
  4818. _iframe.contentWindow.document.body.appendChild(script1);
  4819. _iframe.contentWindow.document.body.appendChild(script2);
  4820. // _iframe.contentWindow.document.body.appendChild(script3);
  4821. _iframe.contentWindow.document.body.appendChild(script4);
  4822. };
  4823. }
  4824. _jie.onclick = async () => {
  4825. let text = ''
  4826. if (aTool == 1) {
  4827. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4828. } else if (aTool == 6) {
  4829. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4830. } else if (aTool == 3) {
  4831. text = await U.MD.D.I.getEditorContent(_iframe);
  4832. }
  4833. _loading.style.display = 'flex'
  4834. console.log(_loading);
  4835. var _ajs = _iframe.contentWindow.document.createElement("script");
  4836. _ajs.type = "text/javascript";
  4837. _ajs.innerHTML =
  4838. // 'console.log(' + _loading + ');\n' +
  4839. 'var _js = document.createElement("script");\n' +
  4840. '_js.type="text/javascript";\n' +
  4841. '_js.charset="UTF-8";\n' +
  4842. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4843. "_js.onload = function(){\n" +
  4844. ' var a = document.getElementsByTagName("img")\n' +
  4845. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4846. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4847. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4848. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4849. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4850. "beforeUpload_shishi(file," +
  4851. "'" +
  4852. _userid +
  4853. "'" +
  4854. ", " +
  4855. "'" +
  4856. _cid +
  4857. "'" +
  4858. ", " +
  4859. "'" +
  4860. _stage +
  4861. "'" +
  4862. ", " +
  4863. "'" +
  4864. _task +
  4865. "'" +
  4866. ", " +
  4867. "'" +
  4868. _tool +
  4869. "'" +
  4870. ", " +
  4871. "'" +
  4872. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4873. "'" +
  4874. ", " +
  4875. "'" +
  4876. aTool +
  4877. "'" +
  4878. ", " +
  4879. "`" +
  4880. text +
  4881. "`" +
  4882. ")\n" +
  4883. " });\n" +
  4884. "}\n" +
  4885. "document.head.appendChild(_js);\n";
  4886. _iframe.contentWindow.document.head.appendChild(_ajs);
  4887. }
  4888. }
  4889. //U.MD.D.I.openClick(str);
  4890. //如果有任务栏信息
  4891. // if (_taskbar) {
  4892. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4893. // }
  4894. }
  4895. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4896. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4897. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4898. _userinfo = US.userInfo, //登录用户信息
  4899. _userid = US.userInfo.userid //登录用户id
  4900. let _iframe;
  4901. let _cid = cid,
  4902. _stage = stage,
  4903. _task = task,
  4904. _tool = tool;
  4905. var _jie = $$("div", {
  4906. "style": {
  4907. "position": "absolute",
  4908. "bottom": "50px",
  4909. "right": "50px",
  4910. "zIndex": "9999",
  4911. "backgroundColor": "#2268bc",
  4912. "color": "#fff",
  4913. "padding": "12px 20px",
  4914. "cursor": "pointer",
  4915. "borderRadius": "4px",
  4916. },
  4917. "innerHTML": "提交作业"
  4918. })
  4919. let aTool = ''
  4920. let _loading = document.createElement('div')
  4921. _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;"
  4922. // _loading.id = "";
  4923. let _lchild = document.createElement('div')
  4924. let _limg = document.createElement('img')
  4925. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4926. _limg.style = "width: 26px;margin-right: 10px;"
  4927. _lchild.appendChild(_limg)
  4928. let _lspan = document.createElement('span')
  4929. _lspan.innerHTML = "上传中..."
  4930. _lchild.appendChild(_lspan)
  4931. _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%);"
  4932. _loading.appendChild(_lchild)
  4933. var _box = $$('div', {
  4934. "style": {
  4935. "position": "relative",
  4936. "width": "100%",
  4937. "height": "100%",
  4938. },
  4939. })
  4940. _box.appendChild(_loading)
  4941. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4942. switch (str) {
  4943. case "whiteboard":
  4944. aTool = 1;
  4945. _iframe = $$("iframe", {
  4946. "frameborder": "no",
  4947. "border": "0",
  4948. "scrolling ": "no",
  4949. "style": {
  4950. "cssText": "border:0;width:100%;height:100%"
  4951. },
  4952. "src": "https://iwb.cocorobo.cn/"
  4953. })
  4954. _box.appendChild(_iframe);
  4955. _box.appendChild(_jie);
  4956. _formdiv = new U.UF.UI.form(
  4957. "电子白板",
  4958. _box, {
  4959. "id": "whiteboard" + cid + stage + task + tool,
  4960. "style": {
  4961. "width": "90%",
  4962. "height": "90%",
  4963. "overflow": 'hidden'
  4964. },
  4965. "onresize": function () { }
  4966. }, {
  4967. closecallback: function () { }
  4968. }, {
  4969. "style": {
  4970. "height": "36px"
  4971. }
  4972. }).form; //创建窗体
  4973. _taskbar = {
  4974. "id": str + _formdiv.id,
  4975. "style": {
  4976. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4977. },
  4978. "name": "电子白板",
  4979. "forms": _formdiv,
  4980. "click": function () {
  4981. U.MD.D.I.openApplication(str, obj, info);
  4982. }
  4983. }
  4984. break;
  4985. case "mind":
  4986. aTool = 3;
  4987. _iframe = $$("iframe", {
  4988. "frameborder": "no",
  4989. "border": "0",
  4990. "scrolling ": "no",
  4991. "style": {
  4992. "cssText": "border:0;width:100%;height:100%"
  4993. },
  4994. "src": "/kityminder-editor/dist/index.html"
  4995. })
  4996. _box.appendChild(_iframe);
  4997. _box.appendChild(_jie);
  4998. _formdiv = new U.UF.UI.form(
  4999. "思维导图",
  5000. _box, { //"/jsmind/example/demo.html"
  5001. "id": "mind" + cid + stage + task + tool,
  5002. "style": {
  5003. "width": "90%",
  5004. "height": "90%",
  5005. "overflow": 'hidden'
  5006. },
  5007. "onresize": function () { }
  5008. }, {
  5009. closecallback: function () { }
  5010. }, {
  5011. "style": {
  5012. "height": "36px"
  5013. }
  5014. }).form; //创建窗体
  5015. _taskbar = {
  5016. "id": str + _formdiv.id,
  5017. "style": {
  5018. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5019. },
  5020. "name": "思维导图",
  5021. "forms": _formdiv,
  5022. "click": function () {
  5023. U.MD.D.I.openApplication(str, obj, info);
  5024. }
  5025. }
  5026. break;
  5027. case "MindMap":
  5028. aTool = 3;
  5029. _iframe = $$("iframe", {
  5030. "frameborder": "no",
  5031. "border": "0",
  5032. "scrolling ": "no",
  5033. "style": {
  5034. "cssText": "border:0;width:100%;height:100%"
  5035. },
  5036. "src": "//cloud.cocorobo.cn/mind/"
  5037. })
  5038. _box.appendChild(_iframe);
  5039. _box.appendChild(_jie);
  5040. _formdiv = new U.UF.UI.form(
  5041. "思维导图",
  5042. _box, { //"/jsmind/example/demo.html"
  5043. "id": "mind" + cid + stage + task + tool,
  5044. "style": {
  5045. "width": "90%",
  5046. "height": "90%",
  5047. "overflow": 'hidden'
  5048. },
  5049. "onresize": function () { }
  5050. }, {
  5051. closecallback: function () { }
  5052. }, {
  5053. "style": {
  5054. "height": "36px"
  5055. }
  5056. }).form; //创建窗体
  5057. _taskbar = {
  5058. "id": str + _formdiv.id,
  5059. "style": {
  5060. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5061. },
  5062. "name": "思维导图",
  5063. "forms": _formdiv,
  5064. "click": function () {
  5065. U.MD.D.I.openApplication(str, obj, info);
  5066. }
  5067. }
  5068. break;
  5069. case "doc":
  5070. aTool = 6;
  5071. _iframe = $$("iframe", {
  5072. "frameborder": "no",
  5073. "border": "0",
  5074. "scrolling ": "no",
  5075. "style": {
  5076. "cssText": "border:0;width:100%;height:100%"
  5077. },
  5078. "src": "/Office/Word/WordEditArea.htm"
  5079. })
  5080. _box.appendChild(_iframe);
  5081. _box.appendChild(_jie);
  5082. _formdiv = new U.UF.UI.form(
  5083. "协同文档",
  5084. _box, {
  5085. "id": "doc" + cid + stage + task + tool,
  5086. "style": {
  5087. "width": "90%",
  5088. "height": "90%",
  5089. "overflow": 'hidden'
  5090. },
  5091. "onresize": function () { }
  5092. }, {
  5093. closecallback: function () { }
  5094. }, {
  5095. "style": {
  5096. "height": "36px"
  5097. }
  5098. }).form; //创建窗体
  5099. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5100. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5101. })
  5102. _taskbar = {
  5103. "id": str + _formdiv.id,
  5104. "style": {
  5105. "backgroundImage": "url(/img/icon/doc.png)"
  5106. },
  5107. "name": "协同文档",
  5108. "forms": _formdiv,
  5109. "click": function () {
  5110. U.MD.D.I.openApplication(str, obj, info);
  5111. }
  5112. }
  5113. break;
  5114. case "mindNetwork": //好友打开
  5115. aTool = 7;
  5116. _iframe = $$("iframe", {
  5117. "webkitallowfullscreen": "",
  5118. "mozallowfullscreen": "",
  5119. "allowfullscreen": "",
  5120. "frameborder": "no",
  5121. "border": "0",
  5122. "scrolling ": "no",
  5123. "style": {
  5124. "cssText": "border:0; width:100%; height:100%;"
  5125. },
  5126. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5127. })
  5128. _box.appendChild(_iframe);
  5129. _box.appendChild(_jie);
  5130. _formdiv = new U.UF.UI.form(
  5131. "思维网格",
  5132. _box, {
  5133. "id": "mindNetwork" + cid + stage + task + tool,
  5134. "style": {
  5135. "width": "90%",
  5136. "height": "90%",
  5137. "overflow": 'hidden'
  5138. },
  5139. "onresize": function () { }
  5140. }, {
  5141. closecallback: function () { }
  5142. }, {
  5143. "style": {
  5144. "height": "36px"
  5145. }
  5146. }).form; //创建窗体
  5147. _taskbar = {
  5148. "id": str + _formdiv.id,
  5149. "style": {
  5150. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5151. },
  5152. "name": "思维网格",
  5153. "forms": _formdiv,
  5154. "click": function () {
  5155. U.MD.D.I.openApplication(str, obj, info);
  5156. }
  5157. }
  5158. break;
  5159. case "courseDesign":
  5160. _iframe = $$("iframe", {
  5161. "webkitallowfullscreen": "",
  5162. "mozallowfullscreen": "",
  5163. "allowfullscreen": "",
  5164. "frameborder": "no",
  5165. "border": "0",
  5166. "scrolling ": "no",
  5167. "style": {
  5168. "cssText": "border:0; width:100%; height:100%;"
  5169. },
  5170. "src": "/course-design-vue"
  5171. })
  5172. _box.appendChild(_iframe);
  5173. _box.appendChild(_jie);
  5174. _formdiv = new U.UF.UI.form(
  5175. "项目设计",
  5176. _box, {
  5177. "id": "courseDesign" + cid + stage + task + tool,
  5178. "style": {
  5179. "width": "90%",
  5180. "height": "90%",
  5181. "overflow": 'hidden'
  5182. },
  5183. "onresize": function () { }
  5184. }, {
  5185. closecallback: function () { }
  5186. }, {
  5187. "style": {
  5188. "height": "36px"
  5189. }
  5190. }).form; //创建窗体
  5191. _taskbar = {
  5192. "id": str + _formdiv.id,
  5193. "style": {
  5194. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5195. },
  5196. "name": "项目设计",
  5197. "forms": _formdiv,
  5198. "click": function () {
  5199. U.MD.D.I.openApplication(str, obj, info);
  5200. }
  5201. }
  5202. break;
  5203. }
  5204. const script1 = document.createElement("script");
  5205. script1.type = "text/javascript";
  5206. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5207. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5208. const script2 = document.createElement("script");
  5209. script2.type = "text/javascript";
  5210. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5211. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5212. const script3 = document.createElement("script");
  5213. script3.type = "text/javascript";
  5214. script3.charset = "UTF-8";
  5215. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5216. const script4 = document.createElement("script");
  5217. script4.type = "text/javascript";
  5218. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5219. script4.src = window.origin + "/js/Common/jietu2E.js";
  5220. if (_iframe) {
  5221. if (str == 'doc') {
  5222. _iframe = _formdiv.querySelector('iframe')
  5223. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5224. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5225. _iframe.contentWindow.document.body.appendChild(script1);
  5226. _iframe.contentWindow.document.body.appendChild(script2);
  5227. // _iframe.contentWindow.document.body.appendChild(script3);
  5228. _iframe.contentWindow.document.body.appendChild(script4);
  5229. })
  5230. if (onloadListener) {
  5231. _iframe.contentDocument.location.reload()
  5232. } else {
  5233. _iframe.contentDocument.location.reload()
  5234. }
  5235. } else if (str == 'courseDesign') {
  5236. U.UF.DL.iframeLoad(_iframe, function () {
  5237. // _iframe.contentWindow.U.MD.O.W.load();
  5238. // _iframe.contentWindow.document.body.appendChild(script1);
  5239. _iframe.contentWindow.document.body.appendChild(script2);
  5240. _iframe.contentWindow.document.body.appendChild(script4);
  5241. })
  5242. } else if (str == 'mind') {
  5243. _iframe = _formdiv.querySelector('iframe')
  5244. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5245. //
  5246. _iframe.contentWindow.document.body.appendChild(script1);
  5247. _iframe.contentWindow.document.body.appendChild(script2);
  5248. _iframe.contentWindow.document.body.appendChild(script4);
  5249. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5250. })
  5251. if (onloadListener) {
  5252. _iframe.contentDocument.location.reload()
  5253. } else {
  5254. _iframe.contentDocument.location.reload()
  5255. }
  5256. } else if (str == 'whiteboard') {
  5257. _iframe = _formdiv.querySelector('iframe')
  5258. let onloadListener = _iframe.onload = () => {
  5259. _iframe.contentWindow.document.body.appendChild(script1);
  5260. _iframe.contentWindow.document.body.appendChild(script2);
  5261. _iframe.contentWindow.document.body.appendChild(script4);
  5262. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5263. };
  5264. if (onloadListener) {
  5265. _iframe.contentDocument.location.reload()
  5266. } else {
  5267. _iframe.contentDocument.location.reload()
  5268. }
  5269. } else {
  5270. _iframe.onload = () => {
  5271. _iframe.contentWindow.document.body.appendChild(script1);
  5272. _iframe.contentWindow.document.body.appendChild(script2);
  5273. // _iframe.contentWindow.document.body.appendChild(script3);
  5274. _iframe.contentWindow.document.body.appendChild(script4);
  5275. };
  5276. }
  5277. _jie.onclick = async () => {
  5278. let text = ''
  5279. if (aTool == 1) {
  5280. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5281. } else if (aTool == 6) {
  5282. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5283. } else if (aTool == 3) {
  5284. text = await U.MD.D.I.getEditorContent(_iframe);
  5285. }
  5286. _loading.style.display = 'flex'
  5287. console.log(_loading);
  5288. var _ajs = _iframe.contentWindow.document.createElement("script");
  5289. _ajs.type = "text/javascript";
  5290. _ajs.innerHTML =
  5291. // 'console.log(' + _loading + ');\n' +
  5292. 'var _js = document.createElement("script");\n' +
  5293. '_js.type="text/javascript";\n' +
  5294. '_js.charset="UTF-8";\n' +
  5295. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5296. "_js.onload = function(){\n" +
  5297. ' var a = document.getElementsByTagName("img")\n' +
  5298. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5299. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5300. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5301. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5302. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5303. "beforeUpload_shishi(file," +
  5304. "'" +
  5305. _userid +
  5306. "'" +
  5307. ", " +
  5308. "'" +
  5309. _cid +
  5310. "'" +
  5311. ", " +
  5312. "'" +
  5313. _stage +
  5314. "'" +
  5315. ", " +
  5316. "'" +
  5317. _task +
  5318. "'" +
  5319. ", " +
  5320. "'" +
  5321. _tool +
  5322. "'" +
  5323. ", " +
  5324. "'" +
  5325. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5326. "'" +
  5327. ", " +
  5328. "'" +
  5329. aTool +
  5330. "'" +
  5331. ", " +
  5332. "`" +
  5333. text +
  5334. "`" +
  5335. ")\n" +
  5336. " });\n" +
  5337. "}\n" +
  5338. "document.head.appendChild(_js);\n";
  5339. _iframe.contentWindow.document.head.appendChild(_ajs);
  5340. }
  5341. }
  5342. //U.MD.D.I.openClick(str);
  5343. //如果有任务栏信息
  5344. // if (_taskbar) {
  5345. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5346. // }
  5347. }
  5348. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5349. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5350. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5351. _userid = student.userid, //登录用户id
  5352. _username = student.student //用户名字
  5353. let _iframe;
  5354. let _cid = cid,
  5355. _stage = stage,
  5356. _task = task,
  5357. _tool = tool;
  5358. var _jie = $$("div", {
  5359. "style": {
  5360. "position": "absolute",
  5361. "bottom": "50px",
  5362. "right": "50px",
  5363. "zIndex": "9999",
  5364. "backgroundColor": "#2268bc",
  5365. "color": "#fff",
  5366. "padding": "12px 20px",
  5367. "cursor": "pointer",
  5368. "borderRadius": "4px",
  5369. },
  5370. "innerHTML": "提交作业"
  5371. })
  5372. let aTool = ''
  5373. let _loading = document.createElement('div')
  5374. _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;"
  5375. // _loading.id = "";
  5376. let _lchild = document.createElement('div')
  5377. let _limg = document.createElement('img')
  5378. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5379. _limg.style = "width: 26px;margin-right: 10px;"
  5380. _lchild.appendChild(_limg)
  5381. let _lspan = document.createElement('span')
  5382. _lspan.innerHTML = "上传中..."
  5383. _lchild.appendChild(_lspan)
  5384. _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%);"
  5385. _loading.appendChild(_lchild)
  5386. var _box = $$('div', {
  5387. "style": {
  5388. "position": "relative",
  5389. "width": "100%",
  5390. "height": "100%",
  5391. },
  5392. })
  5393. _box.appendChild(_loading)
  5394. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5395. switch (str) {
  5396. case "whiteboard":
  5397. aTool = 1;
  5398. _iframe = $$("iframe", {
  5399. "frameborder": "no",
  5400. "border": "0",
  5401. "scrolling ": "no",
  5402. "style": {
  5403. "cssText": "border:0;width:100%;height:100%"
  5404. },
  5405. "src": "https://iwb.cocorobo.cn/"
  5406. })
  5407. _box.appendChild(_iframe);
  5408. _box.appendChild(_jie);
  5409. _formdiv = new U.UF.UI.form(
  5410. "电子白板-" + _username,
  5411. _box, {
  5412. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5413. "style": {
  5414. "width": "90%",
  5415. "height": "90%",
  5416. "overflow": 'hidden'
  5417. },
  5418. "onresize": function () { }
  5419. }, {
  5420. closecallback: function () { }
  5421. }, {
  5422. "style": {
  5423. "height": "36px"
  5424. }
  5425. }).form; //创建窗体
  5426. _taskbar = {
  5427. "id": str + _formdiv.id,
  5428. "style": {
  5429. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5430. },
  5431. "name": "电子白板",
  5432. "forms": _formdiv,
  5433. "click": function () {
  5434. U.MD.D.I.openApplication(str, obj, info);
  5435. }
  5436. }
  5437. break;
  5438. case "mind":
  5439. aTool = 3;
  5440. _iframe = $$("iframe", {
  5441. "frameborder": "no",
  5442. "border": "0",
  5443. "scrolling ": "no",
  5444. "style": {
  5445. "cssText": "border:0;width:100%;height:100%"
  5446. },
  5447. "src": "/kityminder-editor/dist/index.html"
  5448. })
  5449. _box.appendChild(_iframe);
  5450. _box.appendChild(_jie);
  5451. _formdiv = new U.UF.UI.form(
  5452. "思维导图-" + _username,
  5453. _box, { //"/jsmind/example/demo.html"
  5454. "id": "mind" + cid + stage + task + tool + _userid,
  5455. "style": {
  5456. "width": "90%",
  5457. "height": "90%",
  5458. "overflow": 'hidden'
  5459. },
  5460. "onresize": function () { }
  5461. }, {
  5462. closecallback: function () { }
  5463. }, {
  5464. "style": {
  5465. "height": "36px"
  5466. }
  5467. }).form; //创建窗体
  5468. _taskbar = {
  5469. "id": str + _formdiv.id,
  5470. "style": {
  5471. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5472. },
  5473. "name": "思维导图",
  5474. "forms": _formdiv,
  5475. "click": function () {
  5476. U.MD.D.I.openApplication(str, obj, info);
  5477. }
  5478. }
  5479. break;
  5480. case "MindMap":
  5481. aTool = 3;
  5482. _iframe = $$("iframe", {
  5483. "frameborder": "no",
  5484. "border": "0",
  5485. "scrolling ": "no",
  5486. "style": {
  5487. "cssText": "border:0;width:100%;height:100%"
  5488. },
  5489. "src": "//cloud.cocorobo.cn/mind/"
  5490. })
  5491. _box.appendChild(_iframe);
  5492. _box.appendChild(_jie);
  5493. _formdiv = new U.UF.UI.form(
  5494. "思维导图-" + _username,
  5495. _box, { //"/jsmind/example/demo.html"
  5496. "id": "mind" + cid + stage + task + tool + _userid,
  5497. "style": {
  5498. "width": "90%",
  5499. "height": "90%",
  5500. "overflow": 'hidden'
  5501. },
  5502. "onresize": function () { }
  5503. }, {
  5504. closecallback: function () { }
  5505. }, {
  5506. "style": {
  5507. "height": "36px"
  5508. }
  5509. }).form; //创建窗体
  5510. _taskbar = {
  5511. "id": str + _formdiv.id,
  5512. "style": {
  5513. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5514. },
  5515. "name": "思维导图",
  5516. "forms": _formdiv,
  5517. "click": function () {
  5518. U.MD.D.I.openApplication(str, obj, info);
  5519. }
  5520. }
  5521. break;
  5522. case "doc":
  5523. aTool = 6;
  5524. _iframe = $$("iframe", {
  5525. "frameborder": "no",
  5526. "border": "0",
  5527. "scrolling ": "no",
  5528. "style": {
  5529. "cssText": "border:0;width:100%;height:100%"
  5530. },
  5531. "src": "/Office/Word/WordEditArea.htm"
  5532. })
  5533. _box.appendChild(_iframe);
  5534. _box.appendChild(_jie);
  5535. _formdiv = new U.UF.UI.form(
  5536. "协同文档-" + _username,
  5537. _box, {
  5538. "id": "doc" + cid + stage + task + tool + _userid,
  5539. "style": {
  5540. "width": "90%",
  5541. "height": "90%",
  5542. "overflow": 'hidden'
  5543. },
  5544. "onresize": function () { }
  5545. }, {
  5546. closecallback: function () { }
  5547. }, {
  5548. "style": {
  5549. "height": "36px"
  5550. }
  5551. }).form; //创建窗体
  5552. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5553. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5554. })
  5555. _taskbar = {
  5556. "id": str + _formdiv.id,
  5557. "style": {
  5558. "backgroundImage": "url(/img/icon/doc.png)"
  5559. },
  5560. "name": "协同文档",
  5561. "forms": _formdiv,
  5562. "click": function () {
  5563. U.MD.D.I.openApplication(str, obj, info);
  5564. }
  5565. }
  5566. break;
  5567. case "mindNetwork": //好友打开
  5568. aTool = 7;
  5569. _iframe = $$("iframe", {
  5570. "webkitallowfullscreen": "",
  5571. "mozallowfullscreen": "",
  5572. "allowfullscreen": "",
  5573. "frameborder": "no",
  5574. "border": "0",
  5575. "scrolling ": "no",
  5576. "style": {
  5577. "cssText": "border:0; width:100%; height:100%;"
  5578. },
  5579. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5580. })
  5581. _box.appendChild(_iframe);
  5582. _box.appendChild(_jie);
  5583. _formdiv = new U.UF.UI.form(
  5584. "思维网格-" + _username,
  5585. _box, {
  5586. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5587. "style": {
  5588. "width": "90%",
  5589. "height": "90%",
  5590. "overflow": 'hidden'
  5591. },
  5592. "onresize": function () { }
  5593. }, {
  5594. closecallback: function () { }
  5595. }, {
  5596. "style": {
  5597. "height": "36px"
  5598. }
  5599. }).form; //创建窗体
  5600. _taskbar = {
  5601. "id": str + _formdiv.id,
  5602. "style": {
  5603. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5604. },
  5605. "name": "思维网格",
  5606. "forms": _formdiv,
  5607. "click": function () {
  5608. U.MD.D.I.openApplication(str, obj, info);
  5609. }
  5610. }
  5611. break;
  5612. case "courseDesign":
  5613. _iframe = $$("iframe", {
  5614. "webkitallowfullscreen": "",
  5615. "mozallowfullscreen": "",
  5616. "allowfullscreen": "",
  5617. "frameborder": "no",
  5618. "border": "0",
  5619. "scrolling ": "no",
  5620. "style": {
  5621. "cssText": "border:0; width:100%; height:100%;"
  5622. },
  5623. "src": "/course-design-vue"
  5624. })
  5625. _box.appendChild(_iframe);
  5626. _box.appendChild(_jie);
  5627. _formdiv = new U.UF.UI.form(
  5628. "项目设计-" + _username,
  5629. _box, {
  5630. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5631. "style": {
  5632. "width": "90%",
  5633. "height": "90%",
  5634. "overflow": 'hidden'
  5635. },
  5636. "onresize": function () { }
  5637. }, {
  5638. closecallback: function () { }
  5639. }, {
  5640. "style": {
  5641. "height": "36px"
  5642. }
  5643. }).form; //创建窗体
  5644. _taskbar = {
  5645. "id": str + _formdiv.id,
  5646. "style": {
  5647. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5648. },
  5649. "name": "项目设计",
  5650. "forms": _formdiv,
  5651. "click": function () {
  5652. U.MD.D.I.openApplication(str, obj, info);
  5653. }
  5654. }
  5655. break;
  5656. }
  5657. const script1 = document.createElement("script");
  5658. script1.type = "text/javascript";
  5659. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5660. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5661. const script2 = document.createElement("script");
  5662. script2.type = "text/javascript";
  5663. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5664. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5665. const script3 = document.createElement("script");
  5666. script3.type = "text/javascript";
  5667. script3.charset = "UTF-8";
  5668. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5669. const script4 = document.createElement("script");
  5670. script4.type = "text/javascript";
  5671. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5672. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5673. if (_iframe) {
  5674. if (str == 'doc') {
  5675. _iframe = _formdiv.querySelector('iframe')
  5676. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5677. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5678. _iframe.contentWindow.document.body.appendChild(script1);
  5679. _iframe.contentWindow.document.body.appendChild(script2);
  5680. // _iframe.contentWindow.document.body.appendChild(script3);
  5681. _iframe.contentWindow.document.body.appendChild(script4);
  5682. })
  5683. if (onloadListener) {
  5684. _iframe.contentDocument.location.reload()
  5685. } else {
  5686. _iframe.contentDocument.location.reload()
  5687. }
  5688. } else if (str == 'courseDesign') {
  5689. U.UF.DL.iframeLoad(_iframe, function () {
  5690. // _iframe.contentWindow.U.MD.O.W.load();
  5691. // _iframe.contentWindow.document.body.appendChild(script1);
  5692. _iframe.contentWindow.document.body.appendChild(script2);
  5693. _iframe.contentWindow.document.body.appendChild(script4);
  5694. })
  5695. } else if (str == 'mind') {
  5696. _iframe = _formdiv.querySelector('iframe')
  5697. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5698. //
  5699. _iframe.contentWindow.document.body.appendChild(script1);
  5700. _iframe.contentWindow.document.body.appendChild(script2);
  5701. _iframe.contentWindow.document.body.appendChild(script4);
  5702. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5703. })
  5704. if (onloadListener) {
  5705. _iframe.contentDocument.location.reload()
  5706. } else {
  5707. _iframe.contentDocument.location.reload()
  5708. }
  5709. } else if (str == 'whiteboard') {
  5710. _iframe = _formdiv.querySelector('iframe')
  5711. let onloadListener = _iframe.onload = () => {
  5712. _iframe.contentWindow.document.body.appendChild(script1);
  5713. _iframe.contentWindow.document.body.appendChild(script2);
  5714. _iframe.contentWindow.document.body.appendChild(script4);
  5715. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5716. };
  5717. if (onloadListener) {
  5718. _iframe.contentDocument.location.reload()
  5719. } else {
  5720. _iframe.contentDocument.location.reload()
  5721. }
  5722. } else {
  5723. _iframe.onload = () => {
  5724. _iframe.contentWindow.document.body.appendChild(script1);
  5725. _iframe.contentWindow.document.body.appendChild(script2);
  5726. // _iframe.contentWindow.document.body.appendChild(script3);
  5727. _iframe.contentWindow.document.body.appendChild(script4);
  5728. };
  5729. }
  5730. _jie.onclick = async () => {
  5731. let text = ''
  5732. if (aTool == 1) {
  5733. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5734. } else if (aTool == 6) {
  5735. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5736. } else if (aTool == 3) {
  5737. text = await U.MD.D.I.getEditorContent(_iframe);
  5738. }
  5739. _loading.style.display = 'flex'
  5740. console.log(_loading);
  5741. var _ajs = _iframe.contentWindow.document.createElement("script");
  5742. _ajs.type = "text/javascript";
  5743. _ajs.innerHTML =
  5744. // 'console.log(' + _loading + ');\n' +
  5745. 'var _js = document.createElement("script");\n' +
  5746. '_js.type="text/javascript";\n' +
  5747. '_js.charset="UTF-8";\n' +
  5748. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5749. "_js.onload = function(){\n" +
  5750. ' var a = document.getElementsByTagName("img")\n' +
  5751. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5752. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5753. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5754. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5755. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5756. "beforeUpload_shishi(file," +
  5757. "'" +
  5758. _userid +
  5759. "'" +
  5760. ", " +
  5761. "'" +
  5762. _cid +
  5763. "'" +
  5764. ", " +
  5765. "'" +
  5766. _stage +
  5767. "'" +
  5768. ", " +
  5769. "'" +
  5770. _task +
  5771. "'" +
  5772. ", " +
  5773. "'" +
  5774. _tool +
  5775. "'" +
  5776. ", " +
  5777. "'" +
  5778. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5779. "'" +
  5780. ", " +
  5781. "'" +
  5782. aTool +
  5783. "'" +
  5784. ", " +
  5785. "`" +
  5786. text +
  5787. "`" +
  5788. ")\n" +
  5789. " });\n" +
  5790. "}\n" +
  5791. "document.head.appendChild(_js);\n";
  5792. _iframe.contentWindow.document.head.appendChild(_ajs);
  5793. }
  5794. }
  5795. }
  5796. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5797. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5798. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5799. _userid = student.userid, //登录用户id
  5800. _username = student.student //用户名字
  5801. let _iframe;
  5802. let _cid = cid,
  5803. _stage = stage,
  5804. _task = task,
  5805. _tool = tool;
  5806. var _jie = $$("div", {
  5807. "style": {
  5808. "position": "absolute",
  5809. "bottom": "50px",
  5810. "right": "50px",
  5811. "zIndex": "9999",
  5812. "backgroundColor": "#2268bc",
  5813. "color": "#fff",
  5814. "padding": "12px 20px",
  5815. "cursor": "pointer",
  5816. "borderRadius": "4px",
  5817. },
  5818. "innerHTML": "提交作业"
  5819. })
  5820. let aTool = ''
  5821. let _loading = document.createElement('div')
  5822. _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;"
  5823. // _loading.id = "";
  5824. let _lchild = document.createElement('div')
  5825. let _limg = document.createElement('img')
  5826. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5827. _limg.style = "width: 26px;margin-right: 10px;"
  5828. _lchild.appendChild(_limg)
  5829. let _lspan = document.createElement('span')
  5830. _lspan.innerHTML = "上传中..."
  5831. _lchild.appendChild(_lspan)
  5832. _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%);"
  5833. _loading.appendChild(_lchild)
  5834. var _box = $$('div', {
  5835. "style": {
  5836. "position": "relative",
  5837. "width": "100%",
  5838. "height": "100%",
  5839. },
  5840. })
  5841. _box.appendChild(_loading)
  5842. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5843. switch (str) {
  5844. case "whiteboard":
  5845. aTool = 1;
  5846. _iframe = $$("iframe", {
  5847. "frameborder": "no",
  5848. "border": "0",
  5849. "scrolling ": "no",
  5850. "style": {
  5851. "cssText": "border:0;width:100%;height:100%"
  5852. },
  5853. "src": "https://iwb.cocorobo.cn/"
  5854. })
  5855. _box.appendChild(_iframe);
  5856. _box.appendChild(_jie);
  5857. _formdiv = new U.UF.UI.form(
  5858. "电子白板-" + _username,
  5859. _box, {
  5860. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5861. "style": {
  5862. "width": "90%",
  5863. "height": "90%",
  5864. "overflow": 'hidden'
  5865. },
  5866. "onresize": function () { }
  5867. }, {
  5868. closecallback: function () { }
  5869. }, {
  5870. "style": {
  5871. "height": "36px"
  5872. }
  5873. }).form; //创建窗体
  5874. _taskbar = {
  5875. "id": str + _formdiv.id,
  5876. "style": {
  5877. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5878. },
  5879. "name": "电子白板",
  5880. "forms": _formdiv,
  5881. "click": function () {
  5882. U.MD.D.I.openApplication(str, obj, info);
  5883. }
  5884. }
  5885. break;
  5886. case "mind":
  5887. aTool = 3;
  5888. _iframe = $$("iframe", {
  5889. "frameborder": "no",
  5890. "border": "0",
  5891. "scrolling ": "no",
  5892. "style": {
  5893. "cssText": "border:0;width:100%;height:100%"
  5894. },
  5895. "src": "/kityminder-editor/dist/index.html"
  5896. })
  5897. _box.appendChild(_iframe);
  5898. _box.appendChild(_jie);
  5899. _formdiv = new U.UF.UI.form(
  5900. "思维导图-" + _username,
  5901. _box, { //"/jsmind/example/demo.html"
  5902. "id": "mind" + cid + stage + task + tool + _userid,
  5903. "style": {
  5904. "width": "90%",
  5905. "height": "90%",
  5906. "overflow": 'hidden'
  5907. },
  5908. "onresize": function () { }
  5909. }, {
  5910. closecallback: function () { }
  5911. }, {
  5912. "style": {
  5913. "height": "36px"
  5914. }
  5915. }).form; //创建窗体
  5916. _taskbar = {
  5917. "id": str + _formdiv.id,
  5918. "style": {
  5919. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5920. },
  5921. "name": "思维导图",
  5922. "forms": _formdiv,
  5923. "click": function () {
  5924. U.MD.D.I.openApplication(str, obj, info);
  5925. }
  5926. }
  5927. break;
  5928. case "MindMap":
  5929. aTool = 3;
  5930. _iframe = $$("iframe", {
  5931. "frameborder": "no",
  5932. "border": "0",
  5933. "scrolling ": "no",
  5934. "style": {
  5935. "cssText": "border:0;width:100%;height:100%"
  5936. },
  5937. "src": "//cloud.cocorobo.cn/mind/"
  5938. })
  5939. _box.appendChild(_iframe);
  5940. _box.appendChild(_jie);
  5941. _formdiv = new U.UF.UI.form(
  5942. "思维导图-" + _username,
  5943. _box, { //"/jsmind/example/demo.html"
  5944. "id": "mind" + cid + stage + task + tool + _userid,
  5945. "style": {
  5946. "width": "90%",
  5947. "height": "90%",
  5948. "overflow": 'hidden'
  5949. },
  5950. "onresize": function () { }
  5951. }, {
  5952. closecallback: function () { }
  5953. }, {
  5954. "style": {
  5955. "height": "36px"
  5956. }
  5957. }).form; //创建窗体
  5958. _taskbar = {
  5959. "id": str + _formdiv.id,
  5960. "style": {
  5961. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5962. },
  5963. "name": "思维导图",
  5964. "forms": _formdiv,
  5965. "click": function () {
  5966. U.MD.D.I.openApplication(str, obj, info);
  5967. }
  5968. }
  5969. break;
  5970. case "doc":
  5971. aTool = 6;
  5972. _iframe = $$("iframe", {
  5973. "frameborder": "no",
  5974. "border": "0",
  5975. "scrolling ": "no",
  5976. "style": {
  5977. "cssText": "border:0;width:100%;height:100%"
  5978. },
  5979. "src": "/Office/Word/WordEditArea.htm"
  5980. })
  5981. _box.appendChild(_iframe);
  5982. _box.appendChild(_jie);
  5983. _formdiv = new U.UF.UI.form(
  5984. "协同文档-" + _username,
  5985. _box, {
  5986. "id": "doc" + cid + stage + task + tool + _userid,
  5987. "style": {
  5988. "width": "90%",
  5989. "height": "90%",
  5990. "overflow": 'hidden'
  5991. },
  5992. "onresize": function () { }
  5993. }, {
  5994. closecallback: function () { }
  5995. }, {
  5996. "style": {
  5997. "height": "36px"
  5998. }
  5999. }).form; //创建窗体
  6000. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6001. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6002. })
  6003. _taskbar = {
  6004. "id": str + _formdiv.id,
  6005. "style": {
  6006. "backgroundImage": "url(/img/icon/doc.png)"
  6007. },
  6008. "name": "协同文档",
  6009. "forms": _formdiv,
  6010. "click": function () {
  6011. U.MD.D.I.openApplication(str, obj, info);
  6012. }
  6013. }
  6014. break;
  6015. case "mindNetwork": //好友打开
  6016. aTool = 7;
  6017. _iframe = $$("iframe", {
  6018. "webkitallowfullscreen": "",
  6019. "mozallowfullscreen": "",
  6020. "allowfullscreen": "",
  6021. "frameborder": "no",
  6022. "border": "0",
  6023. "scrolling ": "no",
  6024. "style": {
  6025. "cssText": "border:0; width:100%; height:100%;"
  6026. },
  6027. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6028. })
  6029. _box.appendChild(_iframe);
  6030. _box.appendChild(_jie);
  6031. _formdiv = new U.UF.UI.form(
  6032. "思维网格-" + _username,
  6033. _box, {
  6034. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6035. "style": {
  6036. "width": "90%",
  6037. "height": "90%",
  6038. "overflow": 'hidden'
  6039. },
  6040. "onresize": function () { }
  6041. }, {
  6042. closecallback: function () { }
  6043. }, {
  6044. "style": {
  6045. "height": "36px"
  6046. }
  6047. }).form; //创建窗体
  6048. _taskbar = {
  6049. "id": str + _formdiv.id,
  6050. "style": {
  6051. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6052. },
  6053. "name": "思维网格",
  6054. "forms": _formdiv,
  6055. "click": function () {
  6056. U.MD.D.I.openApplication(str, obj, info);
  6057. }
  6058. }
  6059. break;
  6060. case "courseDesign":
  6061. _iframe = $$("iframe", {
  6062. "webkitallowfullscreen": "",
  6063. "mozallowfullscreen": "",
  6064. "allowfullscreen": "",
  6065. "frameborder": "no",
  6066. "border": "0",
  6067. "scrolling ": "no",
  6068. "style": {
  6069. "cssText": "border:0; width:100%; height:100%;"
  6070. },
  6071. "src": "/course-design-vue"
  6072. })
  6073. _box.appendChild(_iframe);
  6074. _box.appendChild(_jie);
  6075. _formdiv = new U.UF.UI.form(
  6076. "项目设计-" + _username,
  6077. _box, {
  6078. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6079. "style": {
  6080. "width": "90%",
  6081. "height": "90%",
  6082. "overflow": 'hidden'
  6083. },
  6084. "onresize": function () { }
  6085. }, {
  6086. closecallback: function () { }
  6087. }, {
  6088. "style": {
  6089. "height": "36px"
  6090. }
  6091. }).form; //创建窗体
  6092. _taskbar = {
  6093. "id": str + _formdiv.id,
  6094. "style": {
  6095. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6096. },
  6097. "name": "项目设计",
  6098. "forms": _formdiv,
  6099. "click": function () {
  6100. U.MD.D.I.openApplication(str, obj, info);
  6101. }
  6102. }
  6103. break;
  6104. }
  6105. const script1 = document.createElement("script");
  6106. script1.type = "text/javascript";
  6107. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6108. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6109. const script2 = document.createElement("script");
  6110. script2.type = "text/javascript";
  6111. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6112. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6113. const script3 = document.createElement("script");
  6114. script3.type = "text/javascript";
  6115. script3.charset = "UTF-8";
  6116. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6117. const script4 = document.createElement("script");
  6118. script4.type = "text/javascript";
  6119. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6120. script4.src = window.origin + "/js/Common/jietu2E.js";
  6121. if (_iframe) {
  6122. if (str == 'doc') {
  6123. _iframe = _formdiv.querySelector('iframe')
  6124. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6125. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6126. _iframe.contentWindow.document.body.appendChild(script1);
  6127. _iframe.contentWindow.document.body.appendChild(script2);
  6128. // _iframe.contentWindow.document.body.appendChild(script3);
  6129. _iframe.contentWindow.document.body.appendChild(script4);
  6130. })
  6131. if (onloadListener) {
  6132. _iframe.contentDocument.location.reload()
  6133. } else {
  6134. _iframe.contentDocument.location.reload()
  6135. }
  6136. } else if (str == 'courseDesign') {
  6137. U.UF.DL.iframeLoad(_iframe, function () {
  6138. // _iframe.contentWindow.U.MD.O.W.load();
  6139. // _iframe.contentWindow.document.body.appendChild(script1);
  6140. _iframe.contentWindow.document.body.appendChild(script2);
  6141. _iframe.contentWindow.document.body.appendChild(script4);
  6142. })
  6143. } else if (str == 'mind') {
  6144. _iframe = _formdiv.querySelector('iframe')
  6145. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6146. //
  6147. _iframe.contentWindow.document.body.appendChild(script1);
  6148. _iframe.contentWindow.document.body.appendChild(script2);
  6149. _iframe.contentWindow.document.body.appendChild(script4);
  6150. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6151. })
  6152. if (onloadListener) {
  6153. _iframe.contentDocument.location.reload()
  6154. } else {
  6155. _iframe.contentDocument.location.reload()
  6156. }
  6157. } else if (str == 'whiteboard') {
  6158. _iframe = _formdiv.querySelector('iframe')
  6159. let onloadListener = _iframe.onload = () => {
  6160. _iframe.contentWindow.document.body.appendChild(script1);
  6161. _iframe.contentWindow.document.body.appendChild(script2);
  6162. _iframe.contentWindow.document.body.appendChild(script4);
  6163. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6164. };
  6165. if (onloadListener) {
  6166. _iframe.contentDocument.location.reload()
  6167. } else {
  6168. _iframe.contentDocument.location.reload()
  6169. }
  6170. } else {
  6171. _iframe.onload = () => {
  6172. _iframe.contentWindow.document.body.appendChild(script1);
  6173. _iframe.contentWindow.document.body.appendChild(script2);
  6174. // _iframe.contentWindow.document.body.appendChild(script3);
  6175. _iframe.contentWindow.document.body.appendChild(script4);
  6176. };
  6177. }
  6178. _jie.onclick = async () => {
  6179. let text = ''
  6180. if (aTool == 1) {
  6181. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6182. } else if (aTool == 6) {
  6183. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6184. } else if (aTool == 3) {
  6185. text = await U.MD.D.I.getEditorContent(_iframe);
  6186. }
  6187. _loading.style.display = 'flex'
  6188. console.log(_loading);
  6189. var _ajs = _iframe.contentWindow.document.createElement("script");
  6190. _ajs.type = "text/javascript";
  6191. _ajs.innerHTML =
  6192. // 'console.log(' + _loading + ');\n' +
  6193. 'var _js = document.createElement("script");\n' +
  6194. '_js.type="text/javascript";\n' +
  6195. '_js.charset="UTF-8";\n' +
  6196. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6197. "_js.onload = function(){\n" +
  6198. ' var a = document.getElementsByTagName("img")\n' +
  6199. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6200. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6201. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6202. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6203. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6204. "beforeUpload_shishi(file," +
  6205. "'" +
  6206. _userid +
  6207. "'" +
  6208. ", " +
  6209. "'" +
  6210. _cid +
  6211. "'" +
  6212. ", " +
  6213. "'" +
  6214. _stage +
  6215. "'" +
  6216. ", " +
  6217. "'" +
  6218. _task +
  6219. "'" +
  6220. ", " +
  6221. "'" +
  6222. _tool +
  6223. "'" +
  6224. ", " +
  6225. "'" +
  6226. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6227. "'" +
  6228. ", " +
  6229. "'" +
  6230. aTool +
  6231. "'" +
  6232. ", " +
  6233. "`" +
  6234. text +
  6235. "`" +
  6236. ")\n" +
  6237. " });\n" +
  6238. "}\n" +
  6239. "document.head.appendChild(_js);\n";
  6240. _iframe.contentWindow.document.head.appendChild(_ajs);
  6241. }
  6242. }
  6243. }
  6244. U.MD.D.I.getEditorContent = function (iframe) {
  6245. return new Promise((resolve, reject) => {
  6246. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6247. console.log(content);
  6248. resolve(content)
  6249. });
  6250. });
  6251. }
  6252. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6253. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6254. // if (res.value[0].length > 0) {
  6255. // // resolve(res.value[0][0].text);
  6256. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6257. // $(fileInput).val('');
  6258. // });
  6259. // }
  6260. // }, [], { "type": "GET", "withCredentials": true });
  6261. var xmlhttp;
  6262. var Mac, Sn, DeviceId
  6263. if (window.XMLHttpRequest) {
  6264. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6265. xmlhttp = new XMLHttpRequest();
  6266. } else {
  6267. // IE6, IE5 浏览器执行代码
  6268. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6269. }
  6270. xmlhttp.onreadystatechange = function () {
  6271. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6272. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6273. // resolve(res.value[0][0].text);
  6274. if (type == '2') {
  6275. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6276. } else if (type == '3') {
  6277. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6278. }
  6279. } else {
  6280. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6281. }
  6282. }
  6283. }
  6284. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6285. xmlhttp.send();
  6286. }
  6287. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6288. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6289. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6290. _userinfo = US.userInfo, //登录用户信息
  6291. _userid = US.userInfo.userid //登录用户id
  6292. let _iframe;
  6293. let _cid = cid,
  6294. _stage = stage,
  6295. _task = task,
  6296. _tool = tool;
  6297. var _jie = $$("div", {
  6298. "style": {
  6299. "position": "absolute",
  6300. "bottom": "50px",
  6301. "right": "50px",
  6302. "zIndex": "9999",
  6303. "backgroundColor": "#2268bc",
  6304. "color": "#fff",
  6305. "padding": "12px 20px",
  6306. "cursor": "pointer",
  6307. "borderRadius": "4px",
  6308. },
  6309. "innerHTML": "确认并提交"
  6310. })
  6311. let aTool = ''
  6312. let _loading = document.createElement('div')
  6313. _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;"
  6314. // _loading.id = "";
  6315. let _lchild = document.createElement('div')
  6316. let _limg = document.createElement('img')
  6317. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6318. _limg.style = "width: 26px;margin-right: 10px;"
  6319. _lchild.appendChild(_limg)
  6320. let _lspan = document.createElement('span')
  6321. _lspan.innerHTML = "上传中..."
  6322. _lchild.appendChild(_lspan)
  6323. _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%);"
  6324. _loading.appendChild(_lchild)
  6325. var _box = $$('div', {
  6326. "style": {
  6327. "position": "relative",
  6328. "width": "100%",
  6329. "height": "100%",
  6330. },
  6331. })
  6332. _box.appendChild(_loading)
  6333. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6334. switch (str) {
  6335. case "whiteboard":
  6336. aTool = 1;
  6337. _iframe = $$("iframe", {
  6338. "frameborder": "no",
  6339. "border": "0",
  6340. "scrolling ": "no",
  6341. "style": {
  6342. "cssText": "border:0;width:100%;height:100%"
  6343. },
  6344. "src": "https://iwb.cocorobo.cn/"
  6345. })
  6346. _box.appendChild(_iframe);
  6347. _box.appendChild(_jie);
  6348. _formdiv = new U.UF.UI.form(
  6349. "电子白板",
  6350. _box, {
  6351. "id": "whiteboards" + cid + stage + task + tool,
  6352. "style": {
  6353. "width": "90%",
  6354. "height": "90%",
  6355. "overflow": 'hidden'
  6356. },
  6357. "onresize": function () { }
  6358. }, {
  6359. closecallback: function () { }
  6360. }, {
  6361. "style": {
  6362. "height": "36px"
  6363. }
  6364. }).form; //创建窗体
  6365. _taskbar = {
  6366. "id": str + _formdiv.id,
  6367. "style": {
  6368. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6369. },
  6370. "name": "电子白板",
  6371. "forms": _formdiv,
  6372. "click": function () {
  6373. U.MD.D.I.openApplication(str, obj, info);
  6374. }
  6375. }
  6376. break;
  6377. case "mind":
  6378. aTool = 3;
  6379. _iframe = $$("iframe", {
  6380. "frameborder": "no",
  6381. "border": "0",
  6382. "scrolling ": "no",
  6383. "style": {
  6384. "cssText": "border:0;width:100%;height:100%"
  6385. },
  6386. "src": "/kityminder-editor/dist/index.html"
  6387. });
  6388. _box.appendChild(_iframe);
  6389. _box.appendChild(_jie);
  6390. _formdiv = new U.UF.UI.form(
  6391. "思维导图",
  6392. _box, { //"/jsmind/example/demo.html"
  6393. "id": "minds" + cid + stage + task + tool,
  6394. "style": {
  6395. "width": "90%",
  6396. "height": "90%",
  6397. "overflow": 'hidden'
  6398. },
  6399. "onresize": function () { }
  6400. }, {
  6401. closecallback: function () { }
  6402. }, {
  6403. "style": {
  6404. "height": "36px"
  6405. }
  6406. }).form; //创建窗体
  6407. _taskbar = {
  6408. "id": str + _formdiv.id,
  6409. "style": {
  6410. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6411. },
  6412. "name": "思维导图",
  6413. "forms": _formdiv,
  6414. "click": function () {
  6415. U.MD.D.I.openApplication(str, obj, info);
  6416. }
  6417. }
  6418. break;
  6419. case "doc":
  6420. aTool = 6;
  6421. _iframe = $$("iframe", {
  6422. "frameborder": "no",
  6423. "border": "0",
  6424. "scrolling ": "no",
  6425. "style": {
  6426. "cssText": "border:0;width:100%;height:100%"
  6427. },
  6428. "src": "/Office/Word/WordEditArea.htm"
  6429. })
  6430. _box.appendChild(_iframe);
  6431. _box.appendChild(_jie);
  6432. _formdiv = new U.UF.UI.form(
  6433. "协同文档",
  6434. _box, {
  6435. "id": "docs" + cid + stage + task + tool,
  6436. "style": {
  6437. "width": "90%",
  6438. "height": "90%",
  6439. "overflow": 'hidden'
  6440. },
  6441. "onresize": function () { }
  6442. }, {
  6443. closecallback: function () { }
  6444. }, {
  6445. "style": {
  6446. "height": "36px"
  6447. }
  6448. }).form; //创建窗体
  6449. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6450. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6451. })
  6452. _taskbar = {
  6453. "id": str + _formdiv.id,
  6454. "style": {
  6455. "backgroundImage": "url(/img/icon/doc.png)"
  6456. },
  6457. "name": "协同文档",
  6458. "forms": _formdiv,
  6459. "click": function () {
  6460. U.MD.D.I.openApplication(str, obj, info);
  6461. }
  6462. }
  6463. break;
  6464. }
  6465. const script1 = document.createElement("script");
  6466. script1.type = "text/javascript";
  6467. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6468. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6469. const script2 = document.createElement("script");
  6470. script2.type = "text/javascript";
  6471. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6472. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6473. const script3 = document.createElement("script");
  6474. script3.type = "text/javascript";
  6475. script3.charset = "UTF-8";
  6476. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6477. const script4 = document.createElement("script");
  6478. script4.type = "text/javascript";
  6479. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6480. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6481. if (_iframe) {
  6482. if (str == 'doc') {
  6483. _iframe = _formdiv.querySelector('iframe')
  6484. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6485. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6486. _iframe.contentWindow.document.body.appendChild(script1);
  6487. _iframe.contentWindow.document.body.appendChild(script2);
  6488. // _iframe.contentWindow.document.body.appendChild(script3);
  6489. _iframe.contentWindow.document.body.appendChild(script4);
  6490. })
  6491. if (onloadListener) {
  6492. _iframe.contentDocument.location.reload()
  6493. } else {
  6494. _iframe.contentDocument.location.reload()
  6495. }
  6496. } else if (str == 'mind') {
  6497. _iframe = _formdiv.querySelector('iframe')
  6498. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6499. _iframe.contentWindow.document.body.appendChild(script1);
  6500. _iframe.contentWindow.document.body.appendChild(script2);
  6501. _iframe.contentWindow.document.body.appendChild(script4);
  6502. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6503. })
  6504. if (onloadListener) {
  6505. _iframe.contentDocument.location.reload()
  6506. } else {
  6507. _iframe.contentDocument.location.reload()
  6508. }
  6509. } else {
  6510. _iframe.onload = () => {
  6511. _iframe.contentWindow.document.body.appendChild(script1);
  6512. _iframe.contentWindow.document.body.appendChild(script2);
  6513. // _iframe.contentWindow.document.body.appendChild(script3);
  6514. _iframe.contentWindow.document.body.appendChild(script4);
  6515. };
  6516. }
  6517. _jie.onclick = async () => {
  6518. let text = ''
  6519. if (aTool == 6) {
  6520. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6521. } else if (aTool == 3) {
  6522. text = await U.MD.D.I.getEditorContent(_iframe);
  6523. }
  6524. _loading.style.display = 'flex'
  6525. console.log(_loading);
  6526. var _ajs = _iframe.contentWindow.document.createElement("script");
  6527. _ajs.type = "text/javascript";
  6528. _ajs.innerHTML =
  6529. // 'console.log(' + _loading + ');\n' +
  6530. 'var _js = document.createElement("script");\n' +
  6531. '_js.type="text/javascript";\n' +
  6532. '_js.charset="UTF-8";\n' +
  6533. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6534. "_js.onload = function(){\n" +
  6535. ' var a = document.getElementsByTagName("img")\n' +
  6536. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6537. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6538. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6539. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6540. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6541. "beforeUpload_shishi(file," +
  6542. "'" +
  6543. _userid +
  6544. "'" +
  6545. ", " +
  6546. "'" +
  6547. _cid +
  6548. "'" +
  6549. ", " +
  6550. "'" +
  6551. _stage +
  6552. "'" +
  6553. ", " +
  6554. "'" +
  6555. _task +
  6556. "'" +
  6557. ", " +
  6558. "'" +
  6559. _tool +
  6560. "'" +
  6561. ", " +
  6562. "'" +
  6563. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6564. "'" +
  6565. ", " +
  6566. "'" +
  6567. aTool +
  6568. "'" +
  6569. ", " +
  6570. "`" +
  6571. text +
  6572. "`" +
  6573. ")\n" +
  6574. " });\n" +
  6575. "}\n" +
  6576. "document.head.appendChild(_js);\n";
  6577. _iframe.contentWindow.document.head.appendChild(_ajs);
  6578. }
  6579. }
  6580. //U.MD.D.I.openClick(str);
  6581. //如果有任务栏信息
  6582. // if (_taskbar) {
  6583. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6584. // }
  6585. }
  6586. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6587. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6588. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6589. _userinfo = US.userInfo, //登录用户信息
  6590. _userid = US.userInfo.userid //登录用户id
  6591. let _iframe;
  6592. let _cid = cid,
  6593. _stage = stage,
  6594. _task = task,
  6595. _tool = tool;
  6596. var _jie = $$("div", {
  6597. "style": {
  6598. "position": "absolute",
  6599. "bottom": "50px",
  6600. "right": "50px",
  6601. "zIndex": "9999",
  6602. "backgroundColor": "#2268bc",
  6603. "color": "#fff",
  6604. "padding": "12px 20px",
  6605. "cursor": "pointer",
  6606. "borderRadius": "4px",
  6607. },
  6608. "innerHTML": "确认并提交"
  6609. })
  6610. let aTool = ''
  6611. let _loading = document.createElement('div')
  6612. _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;"
  6613. // _loading.id = "";
  6614. let _lchild = document.createElement('div')
  6615. let _limg = document.createElement('img')
  6616. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6617. _limg.style = "width: 26px;margin-right: 10px;"
  6618. _lchild.appendChild(_limg)
  6619. let _lspan = document.createElement('span')
  6620. _lspan.innerHTML = "上传中..."
  6621. _lchild.appendChild(_lspan)
  6622. _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%);"
  6623. _loading.appendChild(_lchild)
  6624. var _box = $$('div', {
  6625. "style": {
  6626. "position": "relative",
  6627. "width": "100%",
  6628. "height": "100%",
  6629. },
  6630. })
  6631. _box.appendChild(_loading)
  6632. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6633. switch (str) {
  6634. case "whiteboard":
  6635. aTool = 1;
  6636. _iframe = $$("iframe", {
  6637. "frameborder": "no",
  6638. "border": "0",
  6639. "scrolling ": "no",
  6640. "style": {
  6641. "cssText": "border:0;width:100%;height:100%"
  6642. },
  6643. "src": "https://iwb.cocorobo.cn/"
  6644. })
  6645. _box.appendChild(_iframe);
  6646. _box.appendChild(_jie);
  6647. _formdiv = new U.UF.UI.form(
  6648. "电子白板",
  6649. _box, {
  6650. "id": "whiteboards" + cid + stage + task + tool,
  6651. "style": {
  6652. "width": "90%",
  6653. "height": "90%",
  6654. "overflow": 'hidden'
  6655. },
  6656. "onresize": function () { }
  6657. }, {
  6658. closecallback: function () { }
  6659. }, {
  6660. "style": {
  6661. "height": "36px"
  6662. }
  6663. }).form; //创建窗体
  6664. _taskbar = {
  6665. "id": str + _formdiv.id,
  6666. "style": {
  6667. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6668. },
  6669. "name": "电子白板",
  6670. "forms": _formdiv,
  6671. "click": function () {
  6672. U.MD.D.I.openApplication(str, obj, info);
  6673. }
  6674. }
  6675. break;
  6676. case "mind":
  6677. aTool = 3;
  6678. _iframe = $$("iframe", {
  6679. "frameborder": "no",
  6680. "border": "0",
  6681. "scrolling ": "no",
  6682. "style": {
  6683. "cssText": "border:0;width:100%;height:100%"
  6684. },
  6685. "src": "/kityminder-editor/dist/index.html"
  6686. });
  6687. _box.appendChild(_iframe);
  6688. _box.appendChild(_jie);
  6689. _formdiv = new U.UF.UI.form(
  6690. "思维导图",
  6691. _box, { //"/jsmind/example/demo.html"
  6692. "id": "minds" + cid + stage + task + tool,
  6693. "style": {
  6694. "width": "90%",
  6695. "height": "90%",
  6696. "overflow": 'hidden'
  6697. },
  6698. "onresize": function () { }
  6699. }, {
  6700. closecallback: function () { }
  6701. }, {
  6702. "style": {
  6703. "height": "36px"
  6704. }
  6705. }).form; //创建窗体
  6706. _taskbar = {
  6707. "id": str + _formdiv.id,
  6708. "style": {
  6709. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6710. },
  6711. "name": "思维导图",
  6712. "forms": _formdiv,
  6713. "click": function () {
  6714. U.MD.D.I.openApplication(str, obj, info);
  6715. }
  6716. }
  6717. break;
  6718. case "doc":
  6719. aTool = 6;
  6720. _iframe = $$("iframe", {
  6721. "frameborder": "no",
  6722. "border": "0",
  6723. "scrolling ": "no",
  6724. "style": {
  6725. "cssText": "border:0;width:100%;height:100%"
  6726. },
  6727. "src": "/Office/Word/WordEditArea.htm"
  6728. })
  6729. _box.appendChild(_iframe);
  6730. _box.appendChild(_jie);
  6731. _formdiv = new U.UF.UI.form(
  6732. "协同文档",
  6733. _box, {
  6734. "id": "docs" + cid + stage + task + tool,
  6735. "style": {
  6736. "width": "90%",
  6737. "height": "90%",
  6738. "overflow": 'hidden'
  6739. },
  6740. "onresize": function () { }
  6741. }, {
  6742. closecallback: function () { }
  6743. }, {
  6744. "style": {
  6745. "height": "36px"
  6746. }
  6747. }).form; //创建窗体
  6748. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6749. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6750. })
  6751. _taskbar = {
  6752. "id": str + _formdiv.id,
  6753. "style": {
  6754. "backgroundImage": "url(/img/icon/doc.png)"
  6755. },
  6756. "name": "协同文档",
  6757. "forms": _formdiv,
  6758. "click": function () {
  6759. U.MD.D.I.openApplication(str, obj, info);
  6760. }
  6761. }
  6762. break;
  6763. }
  6764. const script1 = document.createElement("script");
  6765. script1.type = "text/javascript";
  6766. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6767. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6768. const script2 = document.createElement("script");
  6769. script2.type = "text/javascript";
  6770. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6771. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6772. const script3 = document.createElement("script");
  6773. script3.type = "text/javascript";
  6774. script3.charset = "UTF-8";
  6775. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6776. const script4 = document.createElement("script");
  6777. script4.type = "text/javascript";
  6778. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6779. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6780. if (_iframe) {
  6781. if (str == 'doc') {
  6782. _iframe = _formdiv.querySelector('iframe')
  6783. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6784. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6785. _iframe.contentWindow.document.body.appendChild(script1);
  6786. _iframe.contentWindow.document.body.appendChild(script2);
  6787. // _iframe.contentWindow.document.body.appendChild(script3);
  6788. _iframe.contentWindow.document.body.appendChild(script4);
  6789. })
  6790. if (onloadListener) {
  6791. _iframe.contentDocument.location.reload()
  6792. } else {
  6793. _iframe.contentDocument.location.reload()
  6794. }
  6795. } else if (str == 'mind') {
  6796. _iframe = _formdiv.querySelector('iframe')
  6797. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6798. _iframe.contentWindow.document.body.appendChild(script1);
  6799. _iframe.contentWindow.document.body.appendChild(script2);
  6800. _iframe.contentWindow.document.body.appendChild(script4);
  6801. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6802. })
  6803. if (onloadListener) {
  6804. _iframe.contentDocument.location.reload()
  6805. } else {
  6806. _iframe.contentDocument.location.reload()
  6807. }
  6808. } else {
  6809. _iframe.onload = () => {
  6810. _iframe.contentWindow.document.body.appendChild(script1);
  6811. _iframe.contentWindow.document.body.appendChild(script2);
  6812. // _iframe.contentWindow.document.body.appendChild(script3);
  6813. _iframe.contentWindow.document.body.appendChild(script4);
  6814. };
  6815. }
  6816. _jie.onclick = async () => {
  6817. let text = ''
  6818. if (aTool == 6) {
  6819. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6820. } else if (aTool == 3) {
  6821. text = await U.MD.D.I.getEditorContent(_iframe);
  6822. }
  6823. _loading.style.display = 'flex'
  6824. console.log(_loading);
  6825. var _ajs = _iframe.contentWindow.document.createElement("script");
  6826. _ajs.type = "text/javascript";
  6827. _ajs.innerHTML =
  6828. // 'console.log(' + _loading + ');\n' +
  6829. 'var _js = document.createElement("script");\n' +
  6830. '_js.type="text/javascript";\n' +
  6831. '_js.charset="UTF-8";\n' +
  6832. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6833. "_js.onload = function(){\n" +
  6834. ' var a = document.getElementsByTagName("img")\n' +
  6835. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6836. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6837. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6838. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6839. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6840. "beforeUpload_shishi(file," +
  6841. "'" +
  6842. _userid +
  6843. "'" +
  6844. ", " +
  6845. "'" +
  6846. _cid +
  6847. "'" +
  6848. ", " +
  6849. "'" +
  6850. _stage +
  6851. "'" +
  6852. ", " +
  6853. "'" +
  6854. _task +
  6855. "'" +
  6856. ", " +
  6857. "'" +
  6858. _tool +
  6859. "'" +
  6860. ", " +
  6861. "'" +
  6862. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6863. "'" +
  6864. ", " +
  6865. "'" +
  6866. aTool +
  6867. "'" +
  6868. ", " +
  6869. "`" +
  6870. text +
  6871. "`" +
  6872. ")\n" +
  6873. " });\n" +
  6874. "}\n" +
  6875. "document.head.appendChild(_js);\n";
  6876. _iframe.contentWindow.document.head.appendChild(_ajs);
  6877. }
  6878. }
  6879. //U.MD.D.I.openClick(str);
  6880. //如果有任务栏信息
  6881. // if (_taskbar) {
  6882. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6883. // }
  6884. }
  6885. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6886. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6887. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6888. _userinfo = US.userInfo, //登录用户信息
  6889. _userid = US.userInfo.userid //登录用户id
  6890. let _iframe;
  6891. let _cid = cid,
  6892. _stage = stage,
  6893. _task = task,
  6894. _tool = tool;
  6895. var _jie = $$("div", {
  6896. "style": {
  6897. "position": "absolute",
  6898. "bottom": "50px",
  6899. "right": "50px",
  6900. "zIndex": "9999",
  6901. "backgroundColor": "#2268bc",
  6902. "color": "#fff",
  6903. "padding": "12px 20px",
  6904. "cursor": "pointer",
  6905. "borderRadius": "4px",
  6906. },
  6907. "innerHTML": "上传模板"
  6908. })
  6909. let aTool = ''
  6910. let _loading = document.createElement('div')
  6911. _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;"
  6912. // _loading.id = "";
  6913. let _lchild = document.createElement('div')
  6914. let _limg = document.createElement('img')
  6915. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6916. _limg.style = "width: 26px;margin-right: 10px;"
  6917. _lchild.appendChild(_limg)
  6918. let _lspan = document.createElement('span')
  6919. _lspan.innerHTML = "上传中..."
  6920. _lchild.appendChild(_lspan)
  6921. _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%);"
  6922. _loading.appendChild(_lchild)
  6923. var _box = $$('div', {
  6924. "style": {
  6925. "position": "relative",
  6926. "width": "100%",
  6927. "height": "100%",
  6928. },
  6929. })
  6930. _box.appendChild(_loading)
  6931. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6932. switch (str) {
  6933. case "whiteboard":
  6934. aTool = 1;
  6935. _iframe = $$("iframe", {
  6936. "frameborder": "no",
  6937. "border": "0",
  6938. "scrolling ": "no",
  6939. "style": {
  6940. "cssText": "border:0;width:100%;height:100%"
  6941. },
  6942. "src": "https://iwb.cocorobo.cn/"
  6943. })
  6944. _box.appendChild(_iframe);
  6945. _box.appendChild(_jie);
  6946. _formdiv = new U.UF.UI.form(
  6947. "电子白板",
  6948. _box, {
  6949. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6950. "style": {
  6951. "width": "90%",
  6952. "height": "90%",
  6953. "overflow": 'hidden'
  6954. },
  6955. "onresize": function () { }
  6956. }, {
  6957. closecallback: function () { }
  6958. }, {
  6959. "style": {
  6960. "height": "36px"
  6961. }
  6962. }).form; //创建窗体
  6963. _taskbar = {
  6964. "id": str + _formdiv.id,
  6965. "style": {
  6966. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6967. },
  6968. "name": "电子白板",
  6969. "forms": _formdiv,
  6970. "click": function () {
  6971. U.MD.D.I.openApplication(str, obj, info);
  6972. }
  6973. }
  6974. break;
  6975. case "mind":
  6976. aTool = 3;
  6977. _iframe = $$("iframe", {
  6978. "frameborder": "no",
  6979. "border": "0",
  6980. "scrolling ": "no",
  6981. "style": {
  6982. "cssText": "border:0;width:100%;height:100%"
  6983. },
  6984. "src": "/kityminder-editor/dist/index.html"
  6985. });
  6986. _box.appendChild(_iframe);
  6987. _box.appendChild(_jie);
  6988. _formdiv = new U.UF.UI.form(
  6989. "思维导图",
  6990. _box, { //"/jsmind/example/demo.html"
  6991. "id": "minds_Yu" + cid + stage + task + tool,
  6992. "style": {
  6993. "width": "90%",
  6994. "height": "90%",
  6995. "overflow": 'hidden'
  6996. },
  6997. "onresize": function () { }
  6998. }, {
  6999. closecallback: function () { }
  7000. }, {
  7001. "style": {
  7002. "height": "36px"
  7003. }
  7004. }).form; //创建窗体
  7005. _taskbar = {
  7006. "id": str + _formdiv.id,
  7007. "style": {
  7008. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7009. },
  7010. "name": "思维导图",
  7011. "forms": _formdiv,
  7012. "click": function () {
  7013. U.MD.D.I.openApplication(str, obj, info);
  7014. }
  7015. }
  7016. break;
  7017. case "doc":
  7018. aTool = 6;
  7019. _iframe = $$("iframe", {
  7020. "frameborder": "no",
  7021. "border": "0",
  7022. "scrolling ": "no",
  7023. "style": {
  7024. "cssText": "border:0;width:100%;height:100%"
  7025. },
  7026. "src": "/Office/Word/WordEditArea.htm"
  7027. })
  7028. _box.appendChild(_iframe);
  7029. _box.appendChild(_jie);
  7030. _formdiv = new U.UF.UI.form(
  7031. "协同文档",
  7032. _box, {
  7033. "id": "docs_Yu" + cid + stage + task + tool,
  7034. "style": {
  7035. "width": "90%",
  7036. "height": "90%",
  7037. "overflow": 'hidden'
  7038. },
  7039. "onresize": function () { }
  7040. }, {
  7041. closecallback: function () { }
  7042. }, {
  7043. "style": {
  7044. "height": "36px"
  7045. }
  7046. }).form; //创建窗体
  7047. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7048. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7049. })
  7050. _taskbar = {
  7051. "id": str + _formdiv.id,
  7052. "style": {
  7053. "backgroundImage": "url(/img/icon/doc.png)"
  7054. },
  7055. "name": "协同文档",
  7056. "forms": _formdiv,
  7057. "click": function () {
  7058. U.MD.D.I.openApplication(str, obj, info);
  7059. }
  7060. }
  7061. break;
  7062. case "CocoPi":
  7063. aTool = 57;
  7064. _iframe = $$("iframe", {
  7065. "allowpaymentrequest": "allowpaymentrequest",
  7066. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7067. "webkitallowfullscreen": "",
  7068. "mozallowfullscreen": "",
  7069. "frameborder": "no",
  7070. "border": "0",
  7071. "scrolling ": "no",
  7072. "style": {
  7073. "cssText": "border:0;width:100%;height:100%"
  7074. },
  7075. "src": "https://pi.cocorobo.cn/"
  7076. })
  7077. _box.appendChild(_iframe);
  7078. _box.appendChild(_jie);
  7079. _formdiv = new U.UF.UI.form(
  7080. "CocoPi",
  7081. _box, {
  7082. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7083. "style": {
  7084. "width": "90%",
  7085. "height": "90%",
  7086. "overflow": 'hidden'
  7087. },
  7088. "onresize": function () { }
  7089. }, {
  7090. closecallback: function () { }
  7091. }, {
  7092. "style": {
  7093. "height": "36px"
  7094. }
  7095. }).form; //创建窗体
  7096. _taskbar = {
  7097. "id": str + _formdiv.id,
  7098. "style": {
  7099. "backgroundImage": "url(/img/icon/cocopi.png)"
  7100. },
  7101. "name": "CocoPi",
  7102. "forms": _formdiv,
  7103. "click": function () {
  7104. U.MD.D.I.openApplication(str, obj, info);
  7105. }
  7106. }
  7107. break;
  7108. }
  7109. if (_iframe) {
  7110. if (str == 'doc') {
  7111. _iframe = _formdiv.querySelector('iframe')
  7112. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7113. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7114. })
  7115. if (onloadListener) {
  7116. _iframe.contentDocument.location.reload()
  7117. } else {
  7118. _iframe.contentDocument.location.reload()
  7119. }
  7120. } else if (str == 'mind') {
  7121. _iframe = _formdiv.querySelector('iframe')
  7122. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7123. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7124. })
  7125. if (onloadListener) {
  7126. _iframe.contentDocument.location.reload()
  7127. } else {
  7128. _iframe.contentDocument.location.reload()
  7129. }
  7130. } else if (str == 'whiteboard') {
  7131. _iframe = _formdiv.querySelector('iframe')
  7132. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7133. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7134. })
  7135. if (onloadListener) {
  7136. _iframe.contentDocument.location.reload()
  7137. } else {
  7138. _iframe.contentDocument.location.reload()
  7139. }
  7140. } else if (str == 'CocoPi') {
  7141. _iframe = _formdiv.querySelector('iframe')
  7142. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7143. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7144. })
  7145. if (onloadListener) {
  7146. _iframe.contentDocument.location.reload()
  7147. } else {
  7148. _iframe.contentDocument.location.reload()
  7149. }
  7150. } else {
  7151. _iframe.onload = () => { };
  7152. }
  7153. _jie.onclick = async () => {
  7154. let text = ''
  7155. let type = '2'
  7156. if (aTool == 1) {
  7157. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7158. type = '3'
  7159. } else if (aTool == 6) {
  7160. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7161. type = '1'
  7162. } else if (aTool == 3) {
  7163. text = await U.MD.D.I.getEditorContent(_iframe);
  7164. type = '2'
  7165. } else if (aTool == 57) {
  7166. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7167. type = '4'
  7168. }
  7169. _loading.style.display = 'flex'
  7170. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7171. }
  7172. }
  7173. //U.MD.D.I.openClick(str);
  7174. //如果有任务栏信息
  7175. // if (_taskbar) {
  7176. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7177. // }
  7178. }
  7179. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7180. var xmlhttp;
  7181. var Mac, Sn, DeviceId
  7182. if (window.XMLHttpRequest) {
  7183. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7184. xmlhttp = new XMLHttpRequest();
  7185. } else {
  7186. // IE6, IE5 浏览器执行代码
  7187. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7188. }
  7189. xmlhttp.onreadystatechange = function () {
  7190. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7191. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7192. // resolve(res.value[0][0].text);
  7193. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7194. }
  7195. }
  7196. }
  7197. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7198. xmlhttp.send();
  7199. }
  7200. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7201. var xmlhttp;
  7202. var Mac, Sn, DeviceId
  7203. if (window.XMLHttpRequest) {
  7204. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7205. xmlhttp = new XMLHttpRequest();
  7206. } else {
  7207. // IE6, IE5 浏览器执行代码
  7208. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7209. }
  7210. xmlhttp.onreadystatechange = function () {
  7211. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7212. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7213. // resolve(res.value[0][0].text);
  7214. if (type == '2') {
  7215. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7216. } else if (type == '3') {
  7217. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7218. } else if (type == '4') {
  7219. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7220. }
  7221. } else {
  7222. if (type == '2') {
  7223. iframe.contentWindow.editor.minder.importData('json', '')
  7224. } else if (type == '3') {
  7225. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7226. } else if (type == '4') {
  7227. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7228. }
  7229. }
  7230. }
  7231. }
  7232. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7233. xmlhttp.send();
  7234. }
  7235. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7236. var xmlhttp;
  7237. var Mac, Sn, DeviceId
  7238. if (window.XMLHttpRequest) {
  7239. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7240. xmlhttp = new XMLHttpRequest();
  7241. } else {
  7242. // IE6, IE5 浏览器执行代码
  7243. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7244. }
  7245. xmlhttp.onreadystatechange = function () {
  7246. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7247. if (xmlhttp.response) {
  7248. // resolve(res.value[0][0].text);
  7249. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7250. // $(fileInput).val('');
  7251. // });
  7252. span.innerHTML = '上传成功'
  7253. setTimeout(() => {
  7254. loading.style.display = 'none'
  7255. }, 1000);
  7256. }
  7257. }
  7258. }
  7259. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7260. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7261. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7262. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7263. // 设置请求头,表示请求体的编码格式
  7264. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7265. // 设置请求体,使用url-encoded格式的数据
  7266. }
  7267. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7268. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7269. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7270. _userinfo = US.userInfo, //登录用户信息
  7271. _userid = US.userInfo.userid //登录用户id
  7272. let _iframe;
  7273. let _cid = cid,
  7274. _stage = stage,
  7275. _task = task,
  7276. _tool = tool;
  7277. var _jie = $$("div", {
  7278. "style": {
  7279. "position": "absolute",
  7280. "bottom": "50px",
  7281. "right": "50px",
  7282. "zIndex": "9999",
  7283. "backgroundColor": "#2268bc",
  7284. "color": "#fff",
  7285. "padding": "12px 20px",
  7286. "cursor": "pointer",
  7287. "borderRadius": "4px",
  7288. },
  7289. "innerHTML": "提交作业"
  7290. })
  7291. let aTool = ''
  7292. let _loading = document.createElement('div')
  7293. _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;"
  7294. // _loading.id = "";
  7295. let _lchild = document.createElement('div')
  7296. let _limg = document.createElement('img')
  7297. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7298. _limg.style = "width: 26px;margin-right: 10px;"
  7299. _lchild.appendChild(_limg)
  7300. let _lspan = document.createElement('span')
  7301. _lspan.innerHTML = "上传中..."
  7302. _lchild.appendChild(_lspan)
  7303. _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%);"
  7304. _loading.appendChild(_lchild)
  7305. var _box = $$('div', {
  7306. "style": {
  7307. "position": "relative",
  7308. "width": "100%",
  7309. "height": "100%",
  7310. },
  7311. })
  7312. _box.appendChild(_loading)
  7313. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7314. switch (str) {
  7315. case "CocoPi":
  7316. aTool = 57;
  7317. _iframe = $$("iframe", {
  7318. "allowpaymentrequest": "allowpaymentrequest",
  7319. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7320. "webkitallowfullscreen": "",
  7321. "mozallowfullscreen": "",
  7322. "frameborder": "no",
  7323. "border": "0",
  7324. "scrolling ": "no",
  7325. "style": {
  7326. "cssText": "border:0;width:100%;height:100%"
  7327. },
  7328. "src": "https://pi.cocorobo.cn/"
  7329. })
  7330. _box.appendChild(_iframe);
  7331. _box.appendChild(_jie);
  7332. _formdiv = new U.UF.UI.form(
  7333. "CocoPi",
  7334. _box, {
  7335. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7336. "style": {
  7337. "width": "90%",
  7338. "height": "90%",
  7339. "overflow": 'hidden'
  7340. },
  7341. "onresize": function () { }
  7342. }, {
  7343. closecallback: function () { }
  7344. }, {
  7345. "style": {
  7346. "height": "36px"
  7347. }
  7348. }).form; //创建窗体
  7349. _taskbar = {
  7350. "id": str + _formdiv.id,
  7351. "style": {
  7352. "backgroundImage": "url(/img/icon/cocopi.png)"
  7353. },
  7354. "name": "CocoPi",
  7355. "forms": _formdiv,
  7356. "click": function () {
  7357. U.MD.D.I.openApplication(str, obj, info);
  7358. }
  7359. }
  7360. break;
  7361. }
  7362. if (_iframe) {
  7363. if (str == 'CocoPi') {
  7364. _iframe = _formdiv.querySelector('iframe')
  7365. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7366. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7367. })
  7368. if (onloadListener) {
  7369. _iframe.contentDocument.location.reload()
  7370. } else {
  7371. _iframe.contentDocument.location.reload()
  7372. }
  7373. }
  7374. _jie.onclick = async () => {
  7375. let text = ''
  7376. if (aTool == 57) {
  7377. text = _iframe.contentWindow.getLoadXmlStr()
  7378. }
  7379. _loading.style.display = 'flex'
  7380. console.log(_loading);
  7381. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7382. _loading.style.display = 'none'
  7383. let _div = document.createElement('div')
  7384. _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;"
  7385. let _inner = document.createElement('div')
  7386. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7387. _inner.innerHTML = "上传成功"
  7388. _div.appendChild(_inner)
  7389. _iframe.contentWindow.window.document.body.appendChild(_div)
  7390. _div.onclick = () => {
  7391. _iframe.contentWindow.window.document.body.removeChild(_div)
  7392. }
  7393. setTimeout(() => {
  7394. _iframe.contentWindow.window.document.body.removeChild(_div)
  7395. }, 1000);
  7396. }, [], { "type": "POST", "withCredentials": true });
  7397. }
  7398. }
  7399. }
  7400. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7401. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7402. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7403. _userid = student.userid, //登录用户id
  7404. _username = student.student //用户名字
  7405. let _iframe;
  7406. let _cid = cid,
  7407. _stage = stage,
  7408. _task = task,
  7409. _tool = tool;
  7410. var _jie = $$("div", {
  7411. "style": {
  7412. "position": "absolute",
  7413. "bottom": "50px",
  7414. "right": "50px",
  7415. "zIndex": "9999",
  7416. "backgroundColor": "#2268bc",
  7417. "color": "#fff",
  7418. "padding": "12px 20px",
  7419. "cursor": "pointer",
  7420. "borderRadius": "4px",
  7421. },
  7422. "innerHTML": "提交作业"
  7423. })
  7424. let aTool = ''
  7425. let _loading = document.createElement('div')
  7426. _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;"
  7427. // _loading.id = "";
  7428. let _lchild = document.createElement('div')
  7429. let _limg = document.createElement('img')
  7430. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7431. _limg.style = "width: 26px;margin-right: 10px;"
  7432. _lchild.appendChild(_limg)
  7433. let _lspan = document.createElement('span')
  7434. _lspan.innerHTML = "上传中..."
  7435. _lchild.appendChild(_lspan)
  7436. _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%);"
  7437. _loading.appendChild(_lchild)
  7438. var _box = $$('div', {
  7439. "style": {
  7440. "position": "relative",
  7441. "width": "100%",
  7442. "height": "100%",
  7443. },
  7444. })
  7445. _box.appendChild(_loading)
  7446. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7447. switch (str) {
  7448. case "CocoPi":
  7449. aTool = 57;
  7450. _iframe = $$("iframe", {
  7451. "allowpaymentrequest": "allowpaymentrequest",
  7452. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7453. "webkitallowfullscreen": "",
  7454. "mozallowfullscreen": "",
  7455. "frameborder": "no",
  7456. "border": "0",
  7457. "scrolling ": "no",
  7458. "style": {
  7459. "cssText": "border:0;width:100%;height:100%"
  7460. },
  7461. "src": "https://pi.cocorobo.cn/"
  7462. })
  7463. _box.appendChild(_iframe);
  7464. _box.appendChild(_jie);
  7465. _formdiv = new U.UF.UI.form(
  7466. "CocoPi-" + _username,
  7467. _box, {
  7468. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7469. "style": {
  7470. "width": "90%",
  7471. "height": "90%",
  7472. "overflow": 'hidden'
  7473. },
  7474. "onresize": function () { }
  7475. }, {
  7476. closecallback: function () { }
  7477. }, {
  7478. "style": {
  7479. "height": "36px"
  7480. }
  7481. }).form; //创建窗体
  7482. _taskbar = {
  7483. "id": str + _formdiv.id,
  7484. "style": {
  7485. "backgroundImage": "url(/img/icon/cocopi.png)"
  7486. },
  7487. "name": "CocoPi",
  7488. "forms": _formdiv,
  7489. "click": function () {
  7490. U.MD.D.I.openApplication(str, obj, info);
  7491. }
  7492. }
  7493. break;
  7494. }
  7495. if (_iframe) {
  7496. if (str == 'CocoPi') {
  7497. _iframe = _formdiv.querySelector('iframe')
  7498. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7499. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7500. })
  7501. if (onloadListener) {
  7502. _iframe.contentDocument.location.reload()
  7503. } else {
  7504. _iframe.contentDocument.location.reload()
  7505. }
  7506. }
  7507. _jie.onclick = async () => {
  7508. let text = ''
  7509. if (aTool == 57) {
  7510. text = _iframe.contentWindow.getLoadXmlStr()
  7511. }
  7512. _loading.style.display = 'flex'
  7513. console.log(_loading);
  7514. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7515. _loading.style.display = 'none'
  7516. let _div = document.createElement('div')
  7517. _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;"
  7518. let _inner = document.createElement('div')
  7519. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7520. _inner.innerHTML = "上传成功"
  7521. _div.appendChild(_inner)
  7522. _iframe.contentWindow.window.document.body.appendChild(_div)
  7523. _div.onclick = () => {
  7524. _iframe.contentWindow.window.document.body.removeChild(_div)
  7525. }
  7526. setTimeout(() => {
  7527. _iframe.contentWindow.window.document.body.removeChild(_div)
  7528. }, 1000);
  7529. }, [], { "type": "POST", "withCredentials": true });
  7530. }
  7531. }
  7532. }
  7533. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7534. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7535. if (res.value[0].length > 0) {
  7536. if (atool == 57) {
  7537. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7538. }
  7539. } else {
  7540. if (atool == 57) {
  7541. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7542. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7543. }
  7544. }
  7545. }, [], { "type": "POST", "withCredentials": true });
  7546. }