1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217 |
- let app = new Vue({
- el: "#app",
- data () {
- return {
- count: 0, //重点项目两线指标轮到哪个
- list: [], //重点项目两线指标数组
- countType: 0, //重点项目两线指标数组
- mapShow: false, // false为中国地图 true为山西地图
- titleUrl: '',// 标题弹窗显示的内容
- titleName: '', // 弹窗的名字显示
- leftEcharts1: "", // 投资计划分析上边的饼图
- leftEcharts2: "", // 投资计划分析上边的柱状图
- leftEcharts3: "", // 投资计划分析下边的饼图
- leftEcharts4: "", // 投资计划分析下边的柱状图
- leftEcharts5: "",
- leftEcharts6: "",
- leftEcharts7: "",
- leftEcharts8: "",
- leftEcharts9: "",
- leftEcharts10: "",
- leftEcharts11: "",
- leftEcharts12: '',
- leftEcharts13: '',
- leftEcharts14: '',
- leftEcharts15: '',
- leftEcharts17: '', //投资产业分布中间的水球图
- leftEcharts18: '', //弹窗单个柱状图
- tipShow1: false, // 标题弹窗显示
- tipShow2: false, // 单柱状图弹窗显示
- projectListTipShow: false,// 项目列表弹窗显示
- stageTitle: '', // 投资阶段分析圆环图内容
- stageTitle2: '', // 投资阶段分析圆环图内容
- echartR2Fd: true, // 投后进度成本偏差防抖
- leftEcharts16: '', // 中国地图背景地球
- rightEcharts1: '', // 投后进度成本偏差
- shanxiMap: "", // 山西地图
- chinaMap: '', // 中国地图
- industryProportion: 1, // 主辅业占比轮播
- industryLayout: 0, //产业布局分析
- time1: "", // 4秒定时器
- time2: "", // 针对投前产业布局分析的定时器
- projectNum: 0, //项目列表弹窗顶部类目筛选条件
- projectNum2: 0,//项目阶段分析指示器
- mockData: false,// 是否使用修改的数据
- app_token: '', // apptoken
- accountId: '', //数据中心id
- commonCompanyAll: [], // 公司包括编码
- year: '', // 选择的年份
- pollList: [], // 选择年分列表
- boardType: '', // 哪边的项目看板
- config6: listPop,
- projecList: [ //项目阶段分析内容距离
- [
- { name: '特别监管', value: '14', value2: '12.05' },
- { name: '备案', value: '27', value2: '23.86' },
- { name: '项目储备', distance: '250px' }
- ],
- [
- { name: '特别监管', value: '2', value2: '1.25' },
- { name: '备案', value: '1', value2: '1.05' },
- { name: '项目立项', distance: '370px' }
- ],
- [
- { name: '特别监管', value: '10', value2: '32.69' },
- { name: '备案', value: '14', value2: '18.46' },
- { name: '科研论证', distance: '490px' }
- ],
- [
- { name: '特别监管', value: '15', value2: '28.53' },
- { name: '备案', value: '40', value2: '38.86' },
- { name: '投资决策', distance: '610px' }
- ],
- [
- { name: '特别监管', value: '9', value2: '6.49' },
- { name: '备案', value: '39', value2: '8.08' },
- { name: '项目储备', distance: '350px' }
- ],
- [
- { name: '特别监管', value: '12', value2: '12.63' },
- { name: '备案', value: '7', value2: '1.83' },
- { name: '项目立项', distance: '470px' }
- ],
- [
- { name: '特别监管', value: '2', value2: '0.10' },
- { name: '备案', value: '19', value2: '1.01' },
- { name: '科研论证', distance: '590px' }
- ],
- [
- { name: '特别监管', value: '27', value2: '15.52' },
- { name: '备案', value: '73', value2: '17.65' },
- { name: '投资决策', distance: '710px' }
- ],
- ],
- storageRecordConfig: {
- waitTime: "10000",
- hoverPause: true,
- header: ["企业集团", "项目名 ", "投资总额"],
- headerHeight: 80,
- headerBGC: '#69C0FF20',
- oddRowBGC: '#011e4800',
- evenRowBGC: '#69C0FF20',
- // oddRowBGC: '#05507b33',
- rowNum: 6,
- columnWidth: [150, 450, 150],
- align: ["center", "center", "center"],
- data: [
- ['华阳新材', '华钠铜(碳)年产万吨级钠离子电池正负极材料项目', '11.42亿'],
- ['太重集团', '太重退城入园智能高端装备生产线升级改造项目', '18.11亿'],
- ['太重集团', '太重智能高端液压挖掘机项目', '17.82亿'],
- ['太重集团', '太重(大同)高端起重机产业基地二期项目', '1.62亿'],
- ['太重集团', '太重液压挖掘机四轮一带项目', '4.00亿'],
- ['太重集团', '太重中大型工程起重机智能制造项目', '8.30亿'],
- ['太重集团', '太重高端工程机械齿轮箱智能制造项目', '3.55亿'],
- ['云时代', '侯马北铜年处理铜精矿150万吨综合回收项目', '27.70亿'],
- ['交控集团', '山西固废资源化利用交通科技园项目', '2.00亿'],
- ['云时代', '北方铜业铜矿峪矿园子沟尾矿库项目', '16.73亿'],
- ['山西建投', '山西综改示范区潇河产业园区建筑垃圾资源化处理项目', '3.90亿'],
- ['云时代', '山西北铜高性能压延铜带箔和覆铜板项目', '23.96亿'],
- ['大地控股', '大地控股忻州新店年产800万吨精品砂石骨料项目', '8.70亿'],
- ['山西建投', '山西建投晋西北建筑产业园区项目', '6.71亿'],
- ['山西建投', '山西建投长治建筑产业园区一期项目', '4.98亿'],
- ['汾酒集团', '汾青基地2万吨原酒酿造一期项目', '14.80亿'],
- ['文旅集团', '忻州清凉湾温泉康养项目', '9.34亿'],
- ['交控集团', '山西路桥数字化交通产业园(南区)项目', '32.10亿'],
- ['山西建投', '山西农谷智慧冷链物流园项目', '5.49亿'],
- ['华新燃气', '大同液化调峰储备集散中心二期项目', '1.50亿'],
- ['神农科技', '天镇万头奶牛智慧牧场项目', '5.67亿'],
- ['晋能控股', '阳泉郊区西上庄煤矿项目', '52.56亿'],
- ['华阳新材', '和顺泊里矿井及选煤厂项目', '67.00亿'],
- ['华阳新材', '寿阳七元煤矿项目', '50.77亿'],
- ['山西焦煤', '沁源中峪煤矿项目', '87.69亿'],
- ['晋能控股', '晋城兴唐车寨煤矿及选煤厂项目', '27.52亿'],
- ['晋能控股', '阳城龙湾矿井及选煤厂项目', '69.28亿'],
- ['晋能控股', '沁水东大矿井及选煤厂项目', '62.46亿'],
- ['晋能控股', '沁水郑庄矿井及选煤厂项目', '83.06亿'],
- ['山西焦煤', '乡宁谭坪煤矿一期项目', '56.62亿'],
- ['山西焦煤', '灵石灵北煤矿及选煤厂项目', '66.27亿'],
- ['晋能控股', '晋控电力同热三期2x100万千瓦“上大压小”煤电项目', '72.67亿'],
- ['山西焦煤', '山煤集团河曲2x35万千万低热值煤发电项目', '33.30亿'],
- ['华阳新材', '西上庄低热值煤发电项目', '53.85亿'],
- ['华新燃气', '阳城煤层气集输中心(町店配气站二期扩容改造)项目', '2.50亿'],
- ['交控集团', '高速公路充电桩建设项目', '3.10亿'],
- ['交控集团', '三个一号旅游公路和“四好农村路”沿线充电桩建设项目', '7.10亿'],
- ['山西建投', '山西省静态交通大数据平台项目', '1.00亿'],
- ['华远陆港', '集宁经大同至原平铁路项目', '248.21亿'],
- ['华远陆港', '雄安新区至忻州高速铁路山西段项目', '192.06亿'],
- ['华远陆港', '阳涉铁路开通客运服务项目', '6.60亿'],
- ['交控集团', '昔阳(晋冀界)至榆次高速公路项目', '209.86亿'],
- ['交控集团', '青银二广高速公路太原联络线项目', '72.88亿'],
- ['交控集团', '晋阳高速公路改扩建工程', '62.02亿'],
- ['交控集团', '青兰国家高速公路长治至延安联络线(G2211)山西境黎城至霍州段项目', '231.10亿'],
- ['交控集团', '汾阳至石楼高速公路项目', '117.14亿'],
- ['交控集团', '呼北国家高速公路离石至隰县段项目', '104.90亿'],
- ['交控集团', '临汾至沁水高速公路临汾至浮山段项目', '19.70亿'],
- ['交控集团', 'G108线重点路段新建改建工程(含2个子项目)', '130.19亿'],
- ['交控集团', '国道241、省道岚马线汾河水库段改线工程', '41.71'],
- ['交控集团', 'G241阳方口至朔州段和G336朔州至平鲁段公路改扩建工程PPP项目', '16.38亿'],
- ['交控集团', 'G336线应县罗庄至朔城区东榆林改扩建工程', '23.17亿'],
- ['航产集团', '太原武宿(国际)机场三期改扩建项目', '239.28亿'],
- ['航产集团', '太原武宿(国际)机场三期改扩建综合交通中心配套项目', '7.62亿'],
- ['山西建投', '大盂产业新城标准化厂房基础设施一期项目', '11.63亿'],
- ['水控集团', '滹沱河供水工程', '12.80亿'],
- ['水控集团', '全省县域水网及城乡供水一体化首批项目', '240.00亿'],
- ['水控集团', '小浪底引黄(灌区、工业及城镇生活供水)工程', '27.30亿'],
- ['水控集团', '阳泉龙华口调水工程', '20.30亿'],
- ['水控集团', '万家寨引黄北干支线工程', '15.63亿'],
- ['水控集团', '万家寨引黄入晋总干线南干线泵站二期扩机项目', '15.00亿'],
- ['交控集团', '智慧交通山西省实验室项目', '1.20亿'],
- ['交控集团', '山西隧道与地下工程研究中心项目', '1.50亿'],
- ['华舰体育', '山西体育职业学院新校区项目', '12.76亿'],
- ['华舰体育', '屯留沙家庄航空产教融合实训基地项目', '2.08亿'],
- ['太重集团', '太重智能高端装备产业园区基础设施及厂房配套项目', '55.87亿'],
- ['交控集团', '山西综改示范区中小企业产业园一期项目', '13.70亿'],
- ['山西焦煤', '临县三交一号煤矿项目', '80.53亿'],
- ['山西焦煤', '中阳吴家峁矿井及选煤厂项目', '60.21亿'],
- ['华阳新材', '华阳云冈千吨级高性能碳纤维一期示范项目', '6.40亿']
- ],
- },
- storageRecordConfig2: {
- header: ['企业集团', '项目名称', '投资金额'],
- headerBGC: '#69C0FF20',
- oddRowBGC: '#011e4800',
- evenRowBGC: '#69C0FF20',
- headerHeight: '80',
- rowNum: 6,
- // columnWidth: [250],
- align: ['center', 'center', 'center'],
- data: dataList2
- },
- meansList: [
- {
- label: "初步设计",
- value: "106",
- },
- {
- label: "详细设计",
- value: "103",
- },
- {
- label: "施工",
- value: "62",
- },
- {
- label: "完工",
- value: "35",
- },
- {
- label: "验收",
- value: "42",
- },
- {
- label: "结算",
- value: "33",
- },
- ],
- stockRightList: [
- {
- label: "前期准备",
- value: "17",
- },
- {
- label: "变更登记",
- value: "43",
- },
- ],
- costList: [
- {
- num: 160,
- value: 500,
- status: "正偏差",
- },
- {
- num: 28,
- value: 264,
- status: "容差内",
- },
- {
- num: 103,
- value: 182,
- status: "负偏差",
- },
- ],
- investData: {
- investList: [
- {
- name: "大地控股",
- yse: "189.07",
- yqhte: "121.59",
- czrde: "189.07",
- jse: "121.59",
- fke: "189.07",
- url: "./img/logos/logo15.png",
- },
- {
- name: "云时代",
- yse: "385.25",
- yqhte: "224.89",
- czrde: "385.25",
- jse: "224.89",
- fke: "385.25",
- url: "./img/logos/logo16.png",
- },
- {
- name: "华舰体育",
- yse: "82.95",
- yqhte: "71.34",
- czrde: "82.95",
- jse: "71.34",
- fke: "82.95",
- url: "./img/logos/logo17.png",
- },
- {
- name: "神农科技",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo18.png",
- },
- {
- name: "山西焦煤",
- yse: "31.83",
- yqhte: "25.20",
- czrde: "31.83",
- jse: "25.20",
- fke: "31.83",
- url: "./img/logos/logo1.png",
- },
- {
- name: "晋能控股",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo2.png",
- },
- {
- name: "华阳新材",
- yse: "80.01",
- yqhte: "42.46",
- czrde: "80.01",
- jse: "42.46",
- fke: "80.01",
- url: "./img/logos/logo3.png",
- },
- {
- name: "潞安化工",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo4.png",
- },
- {
- name: "华新燃气",
- yse: "97.57",
- yqhte: "112.67",
- czrde: "97.57",
- jse: "112.67",
- fke: "97.57",
- url: "./img/logos/logo5.png",
- },
- {
- name: "太重集团",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo6.png",
- },
- {
- name: "国际能源",
- yse: "46.99",
- yqhte: "50.89",
- czrde: "46.99",
- jse: "50.89",
- fke: "46.99",
- url: "./img/logos/logo7.png",
- },
- {
- name: "华远陆港",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo8.png",
- },
- {
- name: "水控集团",
- yse: "41.09",
- yqhte: "42.67",
- czrde: "41.09",
- jse: "42.67",
- fke: "41.09",
- url: "./img/logos/logo9.png",
- },
- {
- name: "文旅集团",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo10.png",
- },
- {
- name: "交控集团",
- yse: "47.05",
- yqhte: "23.93",
- czrde: "47.05",
- jse: "23.93",
- fke: "47.05",
- url: "./img/logos/logo11.png",
- },
- {
- name: "航产集团",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo12.png",
- },
- {
- name: "山西建投",
- yse: "14.76",
- yqhte: "5.84",
- czrde: "14.76",
- jse: "120.13",
- fke: "5.84",
- url: "./img/logos/logo13.png",
- },
- {
- name: "汾酒集团",
- yse: "26.79",
- yqhte: "9.64",
- czrde: "121.59",
- jse: "120.13",
- fke: "36.4",
- url: "./img/logos/logo14.png",
- },
- ],
- },
- riskData: {
- x: [
- { name: "大地控股", value: [14, 13, 6, 15, 13, 4] },
- { name: "云时代", value: [15, 12, 12, 10, 24, 6] },
- { name: "华舰体育", value: [14, 13, 6, 15, 13, 4] },
- { name: "神农科技", value: [14, 13, 6, 15, 13, 4] },
- { name: "山西焦煤", value: [14, 13, 6, 15, 13, 4] },
- { name: "晋能控股", value: [14, 13, 6, 15, 13, 4] },
- { name: "华阳新材", value: [14, 13, 6, 15, 13, 4] },
- { name: "潞安化工", value: [14, 13, 6, 15, 13, 4] },
- { name: "华新燃气", value: [14, 13, 6, 15, 13, 4] },
- { name: "太重集团", value: [14, 13, 6, 15, 13, 4] },
- { name: "国际能源", value: [14, 13, 6, 15, 13, 4] },
- { name: "华远陆港", value: [14, 13, 6, 15, 13, 4] },
- { name: "水控集团", value: [14, 13, 6, 15, 13, 4] },
- { name: "文旅集团", value: [14, 13, 6, 15, 13, 4] },
- { name: "交控集团", value: [14, 13, 6, 15, 13, 4] },
- { name: "航产集团", value: [14, 13, 6, 15, 13, 4] },
- { name: "山西建投", value: [14, 13, 6, 15, 13, 4] },
- { name: "汾酒集团", value: [14, 13, 6, 15, 13, 4] },
- ],
- y1: [
- 12, 11, 20, 22, 12, 34, 32, 12, 23, 23, 12, 13, 12, 11,
- 20, 22, 12, 34,
- ],
- y2: [
- 12, 13, 11, 25, 14, 36, 22, 18, 26, 13, 16, 17, 16, 11,
- 26, 26, 19, 37,
- ],
- y3: [
- 16, 21, 29, 24, 22, 45, 23, 23, 33, 34, 23, 43, 20, 10,
- 20, 20, 23, 45,
- ],
- },
- inner: 0,
- innerDeg: 0,
- timer: null, // 两秒定时器
- witchs: 0,
- topIndex: 0,
- echartR1Fd1: true,
- echartR2Fd2: true,
- echartC1Fd1: true,
- r3Index: 0,
- riskData1: {
- x: [
- "大地控股",
- "云时代",
- "华舰体育",
- "神农科技",
- "山西焦煤",
- "晋能控股",
- "华阳新材",
- "潞安化工",
- "华新燃气",
- "太重集团",
- "国际能源",
- "华远陆港",
- "水控集团",
- "文旅集团",
- "交控集团",
- "航产集团",
- "山西建投",
- "汾酒集团",
- ],
- y1: [
- 100, 45, 67, 110, 108, 120, 110, 45, 67, 110, 108, 34, 100, 45, 67,
- 110, 108, 34,
- ],
- y2: [
- 120, 50, 67, 130, 56, 233, 100, 78, 98, 100, 120, 78, 120, 90, 56,
- 120, 110, 78,
- ],
- y3: [
- 130, 76, 67, 120, 89, 111, 87, 123, 56, 65, 45, 98, 230, 78, 99, 130,
- 56, 98,
- ],
- y4: [
- 90, 100, 67, 90, 110, 120, 34, 231, 34, 78, 78, 100, 110, 120, 67, 89,
- 78, 110,
- ],
- y5: [
- 110, 110, 67, 110, 120, 95, 78, 45, 120, 110, 98, 233, 100, 45, 67,
- 98, 98, 34,
- ],
- }
- };
- },
- created () { },
- beforeDestroy () {
- clearInterval(this.timer);
- clearInterval(this.time1);
- clearInterval(this.time2);
- },
- mounted () {
- this.countYear()
- this.getUrlParams()
- },
- methods: {
- // 获取地址栏参数
- getUrlParams (id) {
- let url = window.location.href
- // 通过 ? 分割获取后面的参数字符串
- let urlStr = url.split('?')[1]
- if (!urlStr) {
- this.comeIn()
- return
- }
- // 创建空对象存储参数
- let obj = {};
- // 再通过 & 将每一个参数单独分割出来
- let paramsArr = urlStr.split('&')
- for (let i = 0, len = paramsArr.length; i < len; i++) {
- // 再通过 = 将每一个参数分割为 key:value 的形式
- let arr = paramsArr[i].split('=')
- obj[arr[0]] = arr[1];
- }
- if (obj.model) {
- obj.model == 'A' || obj.model == 'a' ? this.mockData = false : this.mockData = true
- }
- obj.env && (this.env = obj.env)
- this.goUrl = (obj.env == 'SIT' || obj.env == 'sit') ? '172.21.3.68:8081' : (obj.env == 'UAT' || obj.env == 'uat') ? '172.21.3.149:8081' : '172.21.3.242:8081'
- this.accountId = obj.accountid
- this.comeIn()
- },
- // 计算展示的年份
- countYear () {
- this.year = new Date().getFullYear()
- for (i = 2022; true; i++) {
- if (i == this.year + 3) {
- this.pollList.push(i)
- return
- } else {
- this.pollList.push(i)
- }
- }
- },
- comeIn () {
- let that = this
- this.time4s();
- this.timeNs();
- this.filterLpData();
- this.lpRotate();
- this.getAppToken()
- setTimeout(() => {
- if (that.mapShow) {
- that.leftEcharts17Fun()
- that.leftEcharts12Fun()
- that.leftEcharts14Fun()
- that.leftEcharts9Fun()
- that.leftEcharts15Fun()
- that.leftEcharts13Fun()
- that.shanxiEchartsFun()
- } else {
- that.chinaEchartsFun()
- that.leftEcharts16Fun() // 中国地图背景地球
- }
- // this.leftEcharts1Fun();
- // this.leftEcharts2Fun();
- // this.leftEcharts3Fun();
- // this.leftEcharts4Fun();
- this.leftEcharts5Fun();
- this.leftEcharts6Fun();
- this.leftEcharts7Fun();
- this.leftEcharts8Fun();
- this.leftEcharts10Fun();
- this.leftEcharts11Fun();
- this.rightEcharts1Fun();
- this.initChartR2();
- this.initChartR4();
- });
- },
- // 获取token
- getAppToken () {
- let value = {}
- // dev环境
- if (this.env == 'sit' || this.env == 'SIT') {
- // SIT环境
- value = {
- "appId": "68dp",
- "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
- "tenantid": "",
- "language": "zh_CN"
- }
- } else if (this.env == 'uat' || this.env == 'UAT') {
- // UAT环境
- value = {
- "appId": "68dp",
- "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
- "tenantid": "",
- "language": "zh_CN"
- }
- } else if (this.env == 'preprd' || this.env == 'PREPRD') {
- // 预生产环境
- value = {
- "appId": "68dp",
- "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
- "tenantid": "",
- "language": "zh_CN"
- }
- } else {
- // 生产环境
- value = {
- "appId": "68dp",
- "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
- "tenantid": "",
- "language": "zh_CN"
- }
- }
- value.accountId = this.accountId
- post('/ierp/api/getAppToken.do', value).then(res => {
- this.app_token = res.data.app_token
- this.getAccessToken()
- })
- },
- // 获取AccessToken
- getAccessToken () {
- let value = {}
- if (this.env == 'sit' || this.env == 'SIT') {
- // SIT环境
- value = {
- "user": "15835113238", // 新
- "apptoken": this.app_token, //应用令牌
- "tenantid": "", //租户id
- "usertype": "Mobile"
- }
- } else if (this.env == 'uat' || this.env == 'UAT') {
- // UAT环境
- value = {
- "user": "15835113238", // 新
- "apptoken": this.app_token, //应用令牌
- "tenantid": "", //租户id
- "usertype": "Mobile"
- }
- } else if (this.env == 'preprd' || this.env == 'PREPRD') {
- // 预生产环境
- value = {
- "user": "15835113238", // 新
- "apptoken": this.app_token, //应用令牌
- "tenantid": "", //租户id
- "usertype": "Mobile"
- }
- } else {
- // 生产环境
- value = {
- "user": "15835113238", // 新
- "apptoken": this.app_token, //应用令牌
- "tenantid": "", //租户id
- "usertype": "Mobile"
- }
- }
- value.accountId = this.accountId
- post('/ierp/api/login.do', value).then(res => {
- this.access_token = res.data.access_token
- this.getOrg()
- })
- },
- // 获取组织架构列表
- getOrg () {
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- }
- get('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getOrgName', value).then(res => {
- this.commonCompanyAll = res.data
- commonCompany = res.data.map(item => item.simplename)
- // 左边
- this.getDate1()
- this.getDate2()
- this.getDate3()
- this.getDate4()
- this.getDate5()
- this.getDate6()
- // // 右边
- this.getDate7()
- this.getDate8()
- // this.getDate9()
- // this.getDate10()
- // // this.getDate11() // 右下A
- // this.getDate12() // 右下B
- // // 中间
- // this.getDate14()
- resolve(1);
- })
- });
- },
- // 获取左边企业额度分析
- getDate1 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- "mdnb_combofield": this.mockData ? 'B' : 'A',
- "mdnb_datefield": this.year + '-01-01',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqqyedfx', value).then(res => {
- if (res.data.rows.length > 0) {
- let dataList = res.data.rows[0].entryentity
- left3 = [[], [], []]
- dataList.forEach(item => {
- // 已用额度
- left3[0].push(that.yuanChange(item.mdnb_amountfield26))
- // 剩余额度
- left3[1].push(that.yuanChange(item.mdnb_amountfield27))
- // 总额度
- left3[2].push(that.yuanChange(item.mdnb_amountfield25))
- })
- // this.initChartL4(dataList)
- }
- resolve(1);
- })
- });
- },
- // 获取左边投资计划分析
- getDate2 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- "mdnb_combofield": this.mockData ? 'B' : 'A',
- "mdnb_datefield": this.year + '-01-01',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqtzjhfx', value).then(res => {
- if (res.data.rows.length > 0) {
- let dataList = res.data.rows[0]
- left4 = []
- left4[0] = dataList.mdnb_amountfield7
- left4[1] = dataList.mdnb_amountfield13
- left4[2] = dataList.mdnb_amountfield23
- left4[3] = dataList.mdnb_amountfield33
- left4[4] = dataList.mdnb_integerfield
- left5[0].y = that.yuanChange(dataList.mdnb_amountfield9)
- left5[0].num = dataList.mdnb_integerfield15
- left5[1].y = that.yuanChange(dataList.mdnb_amountfield43)
- left5[1].num = dataList.mdnb_integerfield14
- left6[0].y = that.yuanChange(dataList.mdnb_amountfield15)
- left6[0].num = dataList.mdnb_integerfield16
- left6[1].y = that.yuanChange(dataList.mdnb_amountfield16)
- left6[1].num = dataList.mdnb_integerfield17
- console.log(left5, '??????????????zhufuye')
- console.log(left6, '??????????????zhufuye')
- that.leftEcharts1Fun()
- that.leftEcharts2Fun()
- that.leftEcharts3Fun()
- that.leftEcharts4Fun()
- }
- resolve(1);
- })
- });
- },
- // 获取左边产业布局分析
- getDate3 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- "mdnb_combofield": this.mockData ? 'B' : 'A',
- "mdnb_datefield": this.year + '-01-01',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqcebjfx', value).then(res => {
- if (res.data.rows.length > 0) {
- let dataList = this.classify(res.data.rows[0].mdnb_entryentity, 'mdnb_textfield1')
- // 传统产业分析
- dataList[0].data.forEach((item, i) => {
- left7[i] = {}
- left7[i].num = item.mdnb_integerfield13
- left7[i].y = that.yuanChange(item.mdnb_amountfield8)
- left7[i].name = item.mdnb_textfield2
- })
- // this.initChartL5()
- // 战略性新兴产业
- dataList[1].data.forEach((item, i) => {
- left8[i] = {}
- left8[i].num = item.mdnb_integerfield13
- left8[i].y = that.yuanChange(item.mdnb_amountfield8)
- left8[i].name = item.mdnb_textfield2
- })
- // this.initChartL6()
- dataList[2].data.forEach((item, i) => {
- left9[i] = {}
- left9[i].num = item.mdnb_integerfield13
- left9[i].y = that.yuanChange(item.mdnb_amountfield8)
- left9[i].name = item.mdnb_textfield2
- })
- // this.initChartL7()
- // 公共基础等产业
- dataList[3].data.forEach((item, i) => {
- left10[i] = {}
- left10[i].num = item.mdnb_integerfield13
- left10[i].y = that.yuanChange(item.mdnb_amountfield8)
- left10[i].name = item.mdnb_textfield2
- })
- // this.initChartL8()
- }
- resolve(1);
- })
- });
- },
- // 获取左边项目阶段分析
- getDate4 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- "mdnb_combofield": this.mockData ? 'B' : 'A',
- "mdnb_datefield": this.year + '-01-01',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqxmjdfx', value).then(res => {
- if (res.data.rows.length > 0) {
- let dataList = res.data.rows[0]
- // 固定资产进度分布
- // 特别监管
- // left13[0][0][2] = dataList.mdnb_integerfield1
- // left13[0][0][3] = this.yuanChange(dataList.mdnb_amountfield241)
- // left13[0][1][2] = dataList.mdnb_integerfield3
- // left13[0][1][3] = this.yuanChange(dataList.mdnb_amountfield5)
- // left13[0][2][2] = dataList.mdnb_integerfield5
- // left13[0][2][3] = this.yuanChange(dataList.mdnb_amountfield21)
- // left13[0][3][2] = dataList.mdnb_integerfield7
- // left13[0][3][3] = this.yuanChange(dataList.mdnb_amountfield29)
- // // 备案
- // left13[1][0][2] = dataList.mdnb_integerfield2
- // left13[1][0][3] = this.yuanChange(dataList.mdnb_amountfield341)
- // left13[1][1][2] = dataList.mdnb_integerfield4
- // left13[1][1][3] = this.yuanChange(dataList.mdnb_amountfield11)
- // left13[1][2][2] = dataList.mdnb_integerfield6
- // left13[1][2][3] = this.yuanChange(dataList.mdnb_amountfield28)
- // left13[1][3][2] = dataList.mdnb_integerfield8
- // left13[1][3][3] = this.yuanChange(dataList.mdnb_amountfield30)
- // // 股权类进度分布
- // // 特别监管
- // left14[0][0][2] = dataList.mdnb_integerfield11
- // left14[0][0][3] = this.yuanChange(dataList.mdnb_amountfield2411)
- // left14[0][1][2] = dataList.mdnb_integerfield31
- // left14[0][1][3] = this.yuanChange(dataList.mdnb_amountfield51)
- // left14[0][2][2] = dataList.mdnb_integerfield51
- // left14[0][2][3] = this.yuanChange(dataList.mdnb_amountfield211)
- // left14[0][3][2] = dataList.mdnb_integerfield71
- // left14[0][3][3] = this.yuanChange(dataList.mdnb_amountfield291)
- // // 备案
- // left14[1][0][2] = dataList.mdnb_integerfield21
- // left14[1][0][3] = this.yuanChange(dataList.mdnb_amountfield3411)
- // left14[1][1][2] = dataList.mdnb_integerfield41
- // left14[1][1][3] = this.yuanChange(dataList.mdnb_amountfield111)
- // left14[1][2][2] = dataList.mdnb_integerfield61
- // left14[1][2][3] = this.yuanChange(dataList.mdnb_amountfield281)
- // left14[1][3][2] = dataList.mdnb_integerfield81
- // left14[1][3][3] = this.yuanChange(dataList.mdnb_amountfield301)
- // this.initChartL10()
- // this.initChartL11()
- }
- resolve(1);
- })
- });
- },
- // 获取左边投资额度分析
- getDate5 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- "mdnb_combofield": this.mockData ? 'B' : 'A',
- "mdnb_datefield": this.year + '-01-01',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqtzedfx', value).then(res => {
- if (res.data.rows.length > 0) {
- let dataList = res.data.rows[0]
- that.fling = true
- // left1[0] = dataList.mdnb_amountfield
- // left1[1] = dataList.mdnb_amountfield1
- // left1[2] = dataList.mdnb_amountfield2
- // left2[0] = dataList.mdnb_decimalfield
- // left2[1] = dataList.mdnb_amountfield3
- // this.initChartL1()
- }
- resolve(1);
- })
- });
- },
- // 获取左边重点项目两线指标
- getDate6 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- "mdnb_combofield": this.mockData ? 'B' : 'A',
- "mdnb_datefield": this.year + '-01-01',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqzdlxzb', value).then(res => {
- if (res.data.rows.length > 0) {
- let dataList2 = this.classify(res.data.rows[0].mdnb_entryentity1, 'mdnb_textfield3')
- // 左边的轮播
- let dataList = []
- dataList2.forEach((item, index) => {
- dataList[index] = []
- dataList[index][0] = item.data[0].mdnb_textfield18
- dataList[index][1] = item.data[0].mdnb_textfield3
- dataList[index][2] = that.numFormat(that.yuanChange(item.data[0].mdnb_amountfield24)) + '亿'
- })
- this.storageRecordConfig.data = dataList
- this.storageRecordConfig = { ...this.storageRecordConfig }
- // 右边的柱状图
- left12 = []
- dataList2.forEach((item, index) => {
- left12[index] = [[], [], []]
- for (let i = 0; i < item.data.length; i++) {
- left12[index][0].push(item.data[i].mdnb_integerfield10)
- left12[index][1].push(item.data[i].mdnb_integerfield12)
- left12[index][2].push(item.data[i].mdnb_integerfield9)
- }
- })
- // that.initChartL9()
- }
- resolve(1);
- })
- });
- },
- // 获取右边顶部条数据
- getDate7 () {
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "request": {
- isInsert: this.mockData ? '1' : '0',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTabpageap', value).then(res => {
- // right1[0].number = res.data.mdnb_one_step
- // right1[2].number = res.data.mdnb_two_step
- // right1[4].number = res.data.mdnb_three_step
- // right1[6].number = res.data.mdnb_four_step
- // right1[8].number = res.data.mdnb_five_step
- // right1[10].number = res.data.mdnb_six_step
- // right1[12].number = res.data.mdnb_seven_step
- // right1[14].number = res.data.mdnb_eight_step
- resolve(1);
- })
- });
- },
- // 获取右边中间左边的(正偏差/容差内/负偏差)
- getDate8 () {
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "request": {
- isInsert: this.mockData ? '1' : '0',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getInvestSunstraction', value).then(res => {
- right3[0].value = res.data.mdnb_projectnum_z
- right3[0].value2 = res.data.mdnb_amountall_z
- right3[1].value = res.data.mdnb_projectnum_r
- right3[1].value2 = res.data.mdnb_amountall_r
- right3[2].value = res.data.mdnb_projectnum_f
- right3[2].value2 = res.data.mdnb_amountall_f
- resolve(1);
- })
- });
- },
- // 获取右边中间右边的(预算额/已签合同额。。。)
- getDate9 () {
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "request": {
- isInsert: this.mockData ? '1' : '0',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getUnitBudgetExecuteDate', value).then(res => {
- res.data.forEach((item, index) => {
- right4[index].value = this.yuanChange(item.mdnb_aheadmoney)
- right4[index].value2 = this.yuanChange(item.mdnb_edmoney)
- right4[index].value3 = this.yuanChange(item.mdnb_smoney)
- right4[index].value4 = this.yuanChange(item.mdnb_jmoney)
- right4[index].value5 = this.yuanChange(item.mdnb_fkmoney)
- })
- // this.initChartR1()
- resolve(1);
- })
- });
- },
- // 进度成本偏差
- getDate10 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "request": {
- isInsert: this.mockData ? '1' : '0',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getInvestSunstractionGas', value).then(res => {
- res.data.forEach((item, index) => {
- right5[0][index][1] = that.numMulti(item.mdnb_amount_zb, 100)
- right5[0][index][2] = that.yuanChange(item.mdnb_amount_z)
- right5[1][index][1] = that.numMulti(item.mdnb_amount_nb, 100)
- right5[1][index][2] = that.yuanChange(item.mdnb_amount_n)
- right5[2][index][1] = that.numMulti(item.mdnb_amount_fb, 100)
- right5[2][index][2] = that.yuanChange(item.mdnb_amount_f)
- })
- // this.initChartR2()
- resolve(1);
- })
- });
- },
- // 项目风险分析A
- getDate11 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "request": {
- isInsert: this.mockData ? '1' : '0',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getUnitNoSolveDangerDate', value).then(res => {
- res.data.forEach((item, index) => {
- right6[index].value = that.numFormat(item.mdnb_height)
- right6[index].value2 = that.numFormat(item.mdnb_midle)
- right6[index].value3 = that.numFormat(item.mdnb_bottom)
- })
- // this.initChartR3()
- resolve(1);
- })
- });
- },
- // 项目风险分析B(雷达图)
- getDate12 () {
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "request": {
- isInsert: this.mockData ? '1' : '0',
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getUnitDangerPoraitDate', value).then(res => {
- res.data.forEach((item, index) => {
- right7[index] = []
- right7[index][0] = item.mdnb_anquan
- right7[index][1] = item.mdnb_fukuan
- right7[index][2] = item.mdnb_hetong
- right7[index][3] = item.mdnb_jiesuan
- right7[index][4] = item.mdnb_jindu
- right7[index][5] = item.mdnb_securty
- })
- this.getDate11()
- resolve(1);
- })
- });
- },
- // 中间大屏数据
- getDate14 () {
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- mock: this.mockData,
- presetYear: this.year - 1
- }
- get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/getKeyData', value).then(res => {
- // 头部指标
- if (!res.data) {
- return
- }
- center4[0] = res.data.transformations.estateAmount
- center4[1] = res.data.transformations.estateNum
- center4[2] = res.data.transformations.figureAmount
- center4[3] = res.data.transformations.figureNum
- // 左投部指标
- center1[0] = res.data.keyIndicators.totalSum
- center1[1] = res.data.keyIndicators.total
- center1[2] = res.data.keyIndicators.property
- center1[3] = res.data.keyIndicators.invest
- // 投资产业分布
- if (res.data.distribution.length != 0) {
- // for (let i = 0; i < center2.length; i++) {
- // center2[i].y = that.yuanChange(res.data.distribution[i].amount)
- // center2[i].value = that.yuanChange(res.data.distribution[i].amount)
- // center2[i].num = res.data.distribution[i].count
- // center2[i].typeno = res.data.distribution[i].typeno
- // }
- center2 = []
- res.data.distribution.forEach((item, i) => {
- center2[i] = {}
- center2[i].name = item.type
- center2[i].y = that.yuanChange(item.amount)
- center2[i].value = that.yuanChange(item.amount)
- center2[i].num = item.count
- center2[i].typeno = item.typeno
- })
- }
- // 投资执行情况
- res.data.implementationStatus.forEach((item, index) => {
- center3[index].value = that.yuanChange(item.plan)
- center3[index].value2 = that.yuanChange(item.reality)
- })
- // 五个一体化
- res.data.five.forEach((item, index) => {
- center6[index] = { name: item.type, value: that.yuanChange(item.amount), typeno: item.typeno }
- })
- // 投资阶段分析
- res.data.investmentStage.forEach((item, index) => {
- center7[index] = { name: item.type, value: Number(item.num), value2: that.yuanChange(item.amount), typeno: item.typeno, sliced: false, selected: false }
- })
- // 重点项目监控
- center8 = []
- this.originalConfig6 = res.data.projectMonitoring
- this.centerOriginalConfig6 = res.data.projectMonitoring
- res.data.projectMonitoring.forEach((item, index) => {
- center8.push({ value: item.amount, name: item.projectname, office: item.orgName })
- })
- // 中国地图
- centerChina = []
- res.data.investmentMap.forEach((item, index) => {
- centerChina.push({ name: item.address, value: that.yuanChange(item.amount), value2: item.value2 })
- })
- // 项目状态
- proState.projectStatus1 = that.numFormat(res.data.projectStatus.projectStatus1)
- proState.projectStatus2 = that.numFormat(res.data.projectStatus.projectStatus2)
- proState.projectStatus3 = that.numFormat(res.data.projectStatus.projectStatus3)
- setTimeout(() => {
- that.initChinaChart()
- })
- resolve(1);
- })
- });
- },
- // 左边穿透一级
- leftPenetrateOne (mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeNum, type, param, typeCTwo, paramCTwo) {
- this.boardType = 'left'
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- mdnb_combofield: this.mockData ? 'B' : 'A',
- mdnb_textfield11,
- mdnb_textfield13,
- mdnb_textfield16,
- mdnb_textfield23,
- mdnb_datefield: this.year + '-01-01'
- },
- pageSize: 1000
- }
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/yjct', value).then(res => {
- res.data.rows[0].mdnb_entryentity12.sort(that.compare('mdnb_integerfield19'))
- if (res.data.rows.length > 0) {
- if (typeNum == 2) {
- common4 = []
- common5 = []
- res.data.rows[0].mdnb_entryentity12.forEach((item, index) => {
- common4.push(item.mdnb_integerfield18)
- common5.push(that.yuanChange(item.mdnb_amountfield12))
- })
- setTimeout(() => {
- this.initChartLTip2('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
- this.initChartLTip3('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
- })
- } else if (typeNum == 1) {
- this.titleName == '项目数量' || this.titleName == '项目总数'
- common3 = []
- res.data.rows[0].mdnb_entryentity12.forEach((item, index) => {
- (that.titleName == '项目数量' || that.titleName == '项目总数') ? common3.push(item.mdnb_integerfield18) : common3.push(that.yuanChange(item.mdnb_amountfield12))
- })
- that.leftEcharts18Fun('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
- }
- }
- resolve(1);
- })
- });
- },
- // 左边穿透二级
- leftPenetrateTwo (mdnb_textfield12, mdnb_textfield19, mdnb_textfield15, mdnb_textfield17, mdnb_textfield20, num) {
- num && (this.projectNum = num)
- this.boardType = 'left'
- let that = this
- return new Promise((resolve, err) => {
- let value = {
- access_token: this.access_token,
- "data": {
- mdnb_combofield: this.mockData ? 'B' : 'A',
- mdnb_datefield: this.year + '-01-01',
- mdnb_textfield12,
- mdnb_textfield19,
- mdnb_textfield15,
- mdnb_textfield17,
- mdnb_textfield20
- },
- pageSize: 1000
- }
- if (mdnb_textfield20) {
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/ejct', value).then(res => {
- that.config6.data = []
- if (res.data.rows.length > 0) {
- that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
- that.config6.data = []
- if (this.projectNum == 211 || this.projectNum == 212) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '已占用额度(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 2141) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 2142) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '是否主业', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = item.mdnb_textfield21
- that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 2143) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目管理类型', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = item.mdnb_textfield22
- that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 215) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '产业类别I级', '产业类别II级', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield9
- that.config6.data[index][4] = item.mdnb_textfield10
- that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 216) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目阶段', '投资总额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = item.mdnb_textfield24
- that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- }
- }
- that.config6 = { ...that.config6 }
- that.projectListTipShow = true
- resolve(1);
- })
- } else {
- post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tzedfxzed', value).then(res => {
- if (res.data.rows.length > 0) {
- that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
- that.config6.data = []
- if (this.projectNum == 211 || this.projectNum == 212) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '已占用额度(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 2141) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 2142) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '是否主业', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = item.mdnb_textfield21
- that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 2143) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目管理类型', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = item.mdnb_textfield22
- that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 215) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '产业类别I级', '产业类别II级', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield9
- that.config6.data[index][4] = item.mdnb_textfield10
- that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- } else if (this.projectNum == 216) {
- that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目阶段', '本年度计划投资额(万元)']
- res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
- that.config6.data[index] = []
- that.config6.data[index][0] = item.mdnb_textfield7
- that.config6.data[index][1] = item.mdnb_textfield6
- that.config6.data[index][2] = item.mdnb_textfield8
- that.config6.data[index][3] = item.mdnb_textfield25
- that.config6.data[index][4] = item.mdnb_textfield26
- that.config6.data[index][5] = item.mdnb_textfield24
- that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
- })
- }
- that.config6 = { ...that.config6 }
- that.projectListTipShow = true
- }
- resolve(1);
- })
- }
- });
- },
- // 解决除法是去精度
- numDiv (num1, num2) {
- var baseNum1 = 0, baseNum2 = 0;
- var baseNum3, baseNum4;
- try {
- baseNum1 = num1.toString().split(".")[1].length;
- } catch (e) {
- baseNum1 = 0;
- }
- try {
- baseNum2 = num2.toString().split(".")[1].length;
- } catch (e) {
- baseNum2 = 0;
- }
- with (Math) {
- baseNum3 = Number(num1.toString().replace(".", ""));
- baseNum4 = Number(num2.toString().replace(".", ""));
- return (baseNum3 / baseNum4) * pow(10, baseNum2 - baseNum1);
- }
- },
- // 解决乘法失去精度
- numMulti (num1, num2) {
- var baseNum = 0;
- try {
- baseNum += num1.toString().split(".")[1].length;
- } catch (e) {
- }
- try {
- baseNum += num2.toString().split(".")[1].length;
- } catch (e) {
- }
- return Number(num1.toString().replace(".", "")) * Number(num2.toString().replace(".", "")) / Math.pow(10, baseNum);
- },
- // 解决减法失去精度
- numSub (num1, num2) {
- var baseNum, baseNum1, baseNum2;
- var precision;// 精度
- try {
- baseNum1 = num1.toString().split(".")[1].length;
- } catch (e) {
- baseNum1 = 0;
- }
- try {
- baseNum2 = num2.toString().split(".")[1].length;
- } catch (e) {
- baseNum2 = 0;
- }
- baseNum = Math.pow(10, Math.max(baseNum1, baseNum2));
- precision = (baseNum1 >= baseNum2) ? baseNum1 : baseNum2;
- return ((num1 * baseNum - num2 * baseNum) / baseNum).toFixed(precision);
- },
- rightEcharts1Fun () {
- let that = this
- let sumA = 42
- // 所有在100范围外的全部变成0,其他值相应增加/减少sumA
- right5.forEach(item => {
- item.forEach(item2 => {
- if (Number(item2[1]) < 0) {
- item2[1] = that.$set(item2, 1, Number(that.numSub(item2[1], sumA)))
- } else if (Number(item2[1]) > 0) {
- item2[1] = that.$set(item2, 1, Number(item2[1]) + sumA)
- }
- if (Number(item2[1]) < (-100 - sumA)) {
- item2[1] = that.$set(item2, 1, 0)
- item2[1] = that.$set(item2, 2, 0)
- } else if (Number(item2[1]) > (100 + sumA)) {
- item2[1] = that.$set(item2, 1, 0)
- item2[1] = that.$set(item2, 2, 0)
- }
- })
- })
- const itemStyle = {
- // opacity: 0.8,
- shadowBlur: 10,
- shadowOffsetX: 0,
- shadowOffsetY: 0,
- shadowColor: 'rgba(0,0,0,0.3)'
- };
- that.rightEcharts1 = echarts.init(this.$refs['rightEcharts1'])
- that.rightEcharts1.on('showTip', (params) => {
- // 如果是7或者15并且满足防抖则切换
- if ((params.dataIndex == 5 || params.dataIndex == 11) && that.echartR2Fd) {
- that.echartR2Fd = false
- setTimeout(() => {
- option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6
- option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6
- that.rightEcharts1.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartR2Fd = true
- }, 2000)
- }, 1900);
- // 如果是17表示到了最后一个,那么重新来一遍
- } else if (params.dataIndex == 17 && that.echartR2Fd) {
- that.echartR2Fd = false
- setTimeout(() => {
- option.dataZoom[0].endValue = 0
- option.dataZoom[0].startValue = 5
- that.rightEcharts1.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartR2Fd = true
- }, 2000)
- }, 1900)
- }
- })
- let option = {
- color: [{
- type: 'radial', // linear 线性渐变 radial径向渐变
- x: 0.5,
- y: 0.5,
- r: 0.5,
- colorStops: [{
- offset: 0, color: '#58F7DF' // 0% 处的颜色
- }, {
- offset: 1, color: '#4ECFBB' // 100% 处的颜色
- }]
- },
- {
- type: 'radial', // linear 线性渐变 radial径向渐变
- x: 0.5,
- y: 0.5,
- r: 0.5,
- colorStops: [{
- offset: 0, color: '#7FD9FF' // 0% 处的颜色
- }, {
- offset: 1, color: '#40A9FF' // 100% 处的颜色
- }]
- }, {
- type: 'radial', // linear 线性渐变 radial径向渐变
- x: 0.5,
- y: 0.5,
- r: 0.5,
- colorStops: [{
- offset: 0, color: '#FF9592' // 0% 处的颜色
- }, {
- offset: 1, color: '#D2706D' // 100% 处的颜色
- }]
- }
- ],
- dataZoom: [
- {
- // start: 9,//默认为@
- // end: 100,//黑认认为1@0
- type: "slider",
- show: false,
- // xAxisIndex: [0]
- handlesize: 0,//滑动条的 左右2个滑动条的大小
- startValue: 5,// 初始显示值
- endValue: 0,// 结束显示值
- height: 10,//组件高度
- left: "5%",
- right: "4%",//右边的距离
- bottom: "25%",//底边的距离
- borderColor: "#939",
- fillerColor: "#269cdb",
- borderRadius: 5,
- backgroundColor: "#33384b",//两边未选中的滑动条区域的额色
- showDataShadow: false,//是否显示数据阴影
- showDetail: false,//即拖拽时候是否显示详细数值信息
- truerealtime: true,//是否实时更新
- filterMode: "filter"
- }, {
- type: 'inside',
- show: true,
- start: 1,
- end: 100,
- zoomOnMouseWheel: false, //滚轮是否触发缩放
- moveOnMouseMove: false, //鼠标滚轮触发滚动
- }
- ],
- legend: {
- selectedMode: false,
- top: 10,
- data: ['正偏差', '容差', '负偏差'],
- textStyle: {
- fontSize: 20,
- color: '#fff',
- fontFamily: 'Microsoft YaHei'
- }
- },
- textStyle: {
- color: '#fff',
- },
- tooltip: {
- show: true,
- trigger: "axis",
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- formatter: data => {
- return `${data[0].value[0]}<br /><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[0].color}"></span> ${data[0].seriesName}:${that.numFormat(data[0].data[2])}亿<br /><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[1].color}"></span> ${data[1].seriesName}:${that.numFormat(data[1].data[2])}亿<br /><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[2].color}"></span> ${data[2].seriesName}:${that.numFormat(data[2].data[2])}亿`
- },
- axisPointer: {
- // // type: 'cross',',
- },
- },
- grid: {
- top: '10%',
- right: '7%',
- left: '7%',
- bottom: '5%',
- },
- yAxis: {
- min: (-101 - sumA),
- max: (101 + sumA),
- maxInterval: 1,
- splitLine: {
- show: false,
- // interval:,
- lineStyle: {
- color: '#68b4dd66',
- type: 'dashed',
- },
- },
- axisLine: {
- show: false
- },
- axisTick: {
- show: false
- },
- axisLabel: {
- show: true,
- // formatter: '{value}',
- formatter (data) {
- if (data == (100 + sumA)) {
- return '100%'
- } else if (data == (-100 - sumA)) {
- return '-100%'
- } else if (data == (-5 - sumA)) {
- return '-5%'
- } else if (data == (5 + sumA)) {
- return '5%'
- }
- },
- textStyle: {
- color: '#fff',
- fontSize: '20',
- fontFamily: 'Microsoft YaHei'
- },
- },
- nameTextStyle: {
- color: '#fff',
- fontSize: 20,
- fontFamily: 'Microsoft YaHei'
- },
- },
- xAxis: {
- data: commonCompany,
- axisLine: {
- show: false, //隐藏X轴轴线
- lineStyle: {
- color: '#005094',
- width: 1,
- },
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: '#68b4dd66',
- type: 'dashed',
- },
- },
- axisTick: {
- show: true, //隐藏X轴刻度
- },
- axisLabel: {
- show: true,
- // rotate: 40,
- padding: [0, 0, 0, 0],
- textStyle: {
- color: '#fff', //X轴文字颜色
- fontSize: 20,
- fontFamily: 'Microsoft YaHei'
- },
- },
- },
- series: [
- {
- name: '正偏差',
- type: 'scatter',
- itemStyle: itemStyle,
- data: right5[0],
- symbolSize: function (data) {
- if ((data[2] > 0 && data[2] < 50) || data[2] == 50) {
- return 40;
- } else if ((data[2] > 50 && data[2] < 100) || data[2] == 100) {
- return 70;
- } else if (data[2] > 100) {
- return 100;
- }
- },
- markLine: {
- symbol: 'none',
- data: [
- {
- name: '100%',
- yAxis: 100 + sumA,
- lineStyle: {
- // color: '#fff',
- },
- label: {
- show: false,
- formatter: '{b}',
- position: 'right',
- color: '#fff',
- fontSize: 20,
- label: {
- show: false
- }
- },
- },
- {
- name: '5%',
- yAxis: 5 + sumA,
- lineStyle: {
- // color: '#fff',
- },
- label: {
- show: false,
- formatter: '{b}',
- position: 'right',
- color: '#fff',
- fontSize: 20,
- },
- },
- {
- name: '-5%',
- yAxis: -5 - sumA,
- lineStyle: {
- // color: '#fff',
- },
- label: {
- show: false,
- formatter: '{b}',
- position: 'right',
- color: '#fff',
- fontSize: 20,
- },
- },
- {
- name: '100%',
- yAxis: -100 - sumA,
- lineStyle: {
- // color: '#fff',
- },
- label: {
- show: false,
- formatter: '{b}',
- position: 'right',
- color: '#fff',
- fontSize: 20,
- },
- },
- ],
- },
- },
- {
- name: '容差',
- type: 'scatter',
- itemStyle: itemStyle,
- data: right5[1],
- symbolSize: function (data) {
- if ((data[2] > 0 && data[2] < 50) || data[2] == 50) {
- return 40;
- } else if ((data[2] > 50 && data[2] < 100) || data[2] == 100) {
- return 70;
- } else if (data[2] > 100) {
- return 100;
- }
- },
- },
- {
- name: '负偏差',
- type: 'scatter',
- itemStyle: itemStyle,
- data: right5[2],
- symbolSize: function (data) {
- if ((data[2] > 0 && data[2] < 50) || data[2] == 50) {
- return 40;
- } else if ((data[2] > 50 && data[2] < 100) || data[2] == 100) {
- return 70;
- } else if (data[2] > 100) {
- return 100;
- }
- },
- }
- ]
- }
- that.rightEcharts1.setOption(option)
- tools.loopShowTooltip(that.rightEcharts1, option, {
- interval: 2000,
- loopSeries: true,
- })
- },
- initChartR2 () {
- let that = this;
- that.right1Chart = echarts.init(this.$refs["echartR2"]);
- that.right1Chart.on("showTip", (params) => {
- that.r3Index = params.dataIndex;
- that.initChartR3();
- // 如果是7或者15并且满足防抖则切换
- if (
- (params.dataIndex == 5 || params.dataIndex == 11) &&
- that.echartR1Fd1
- ) {
- that.echartR1Fd1 = false;
- setTimeout(() => {
- option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6;
- option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6;
- that.right1Chart.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartR1Fd1 = true;
- }, 2000);
- }, 1900);
- // 如果是17表示到了最后一个,那么重新来一遍
- } else if (params.dataIndex == 17 && that.echartR1Fd1) {
- that.echartR1Fd1 = false;
- setTimeout(() => {
- option.dataZoom[0].endValue = 0;
- option.dataZoom[0].startValue = 5;
- that.right1Chart.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartR1Fd1 = true;
- }, 2000);
- }, 1900);
- }
- });
- let option = {
- color: [
- {
- type: "linear",
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#07806E", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#79FFEB", // 100% 处的颜色
- },
- ],
- global: false, // 缺省为 false
- },
- {
- type: "linear",
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#9F7F00", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#FBE463", // 100% 处的颜色
- },
- ],
- global: false, // 缺省为 false
- },
- {
- type: "linear",
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#91231F", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#F98784", // 100% 处的颜色
- },
- ],
- global: false, // 缺省为 false
- }
- ],
- dataZoom: [
- {
- // start: 9,//默认为@
- // end: 100,//黑认认为1@0
- type: "slider",
- show: false,
- // xAxisIndex: [0]
- handlesize: 0, //滑动条的 左右2个滑动条的大小
- startValue: 5, // 初始显示值
- endValue: 0, // 结束显示值
- height: 10, //组件高度
- left: "5%",
- right: "4%", //右边的距离
- bottom: "25%", //底边的距离
- borderColor: "#939",
- fillerColor: "#269cdb",
- borderRadius: 5,
- backgroundColor: "#33384b", //两边未选中的滑动条区域的额色
- showDataShadow: false, //是否显示数据阴影
- showDetail: false, //即拖拽时候是否显示详细数值信息
- truerealtime: true, //是否实时更新
- filterMode: "filter",
- },
- {
- type: "inside",
- show: true,
- start: 1,
- end: 100,
- zoomOnMouseWheel: false, //滚轮是否触发缩放
- moveOnMouseMove: false, //鼠标滚轮触发滚动
- },
- ],
- legend: {
- top: 10,
- right: 10,
- textStyle: {
- fontSize: 20,
- color: "#fff",
- fontFamily: "Microsoft YaHei",
- },
- itemStyle: {
- borderCap: "round",
- },
- },
- tooltip: {
- trigger: "item",
- show: true,
- position: "top",
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- formatter: function (p) {
- return `${p.name}<br>低风险:${that.riskData.y1[p.dataIndex]}个<br>
- 中风险:${that.riskData.y2[p.dataIndex]}个<br>
- 高风险:${that.riskData.y3[p.dataIndex]}个<br>
- `
- },
- },
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- xAxis: [
- {
- type: "category",
- data: that.riskData.x.map((item) => item.name),
- axisLine: {
- show: true,
- lineStyle: {
- color: "rgba(0, 80, 148, .8)",
- },
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- color: "#fff",
- rotate: 20,
- fontSize: 22,
- },
- },
- ],
- yAxis: [
- {
- type: "value",
- axisLabel: {
- color: "#fff",
- fontSize: 22,
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: "rgba(104, 180, 221, .2)",
- type: "dashed",
- },
- },
- },
- ],
- series: [
- {
- name: "低风险",
- type: "bar",
- stack: "Ad",
- barWidth: 14,
- emphasis: {
- focus: "series",
- },
- itemStyle: {
- barBorderRadius: [15, 15, 15, 15],
- },
- data: that.riskData.y1,
- },
- {
- name: "中风险",
- type: "bar",
- barWidth: 14,
- stack: "Ad",
- itemStyle: {
- barBorderRadius: [15, 15, 15, 15],
- },
- emphasis: {
- focus: "series",
- },
- data: that.riskData.y2,
- },
- {
- name: "高风险",
- type: "bar",
- barWidth: 14,
- stack: "Ad",
- itemStyle: {
- barBorderRadius: [15, 15, 15, 15],
- },
- emphasis: {
- focus: "series",
- },
- data: that.riskData.y3,
- },
- ],
- };
- that.right1Chart.setOption(option);
- tools.loopShowTooltip(that.right1Chart, option, {
- interval: 2000,
- loopSeries: true,
- });
- },
- initChartR3 () {
- let that = this;
- that.right3Chart = echarts.init(this.$refs["echartR3"]);
- let option = {
- radar: {
- // shape: 'circle',
- splitNumber: 3,
- splitLine: {
- lineStyle: {
- color: ["#DD5955", "#39e1d0", "#2e3d45"],
- },
- },
- splitArea: {
- areaStyle: {
- color: [
- "rgba(88,247,223,0.2)",
- "rgba(255, 224, 54, 0.2)",
- "rgba(221,89,85,0.3)",
- ],
- },
- },
- indicator: [
- { name: "安全风险", max: 25 },
- { name: "付款风险", max: 25 },
- { name: "合同风险", max: 25 },
- { name: "结算风险", max: 25 },
- { name: "进度风险", max: 25 },
- { name: "质量风险", max: 25 },
- ],
- },
- series: [
- {
- name: "风险",
- type: "radar",
- symbol: "circle",
- label: {
- show: true,
- formatter: function (params) {
- return params.value;
- },
- fontSize: 24,
- color: "#68BDFF",
- },
- data: [
- {
- value: that.riskData.x[that.r3Index].value,
- areaStyle: {
- color: "#112b75",
- },
- lineStyle: {
- width: 4,
- color: "#60C1FF",
- },
- label: {
- fontSize: 22,
- },
- },
- ],
- },
- ],
- };
- that.right3Chart.setOption(option);
- },
- initChartR4 () {
- let that = this;
- that.right4Chart = echarts.init(this.$refs["echartR4"]);
- that.right4Chart.on("showTip", (params) => {
- // 如果是7或者15并且满足防抖则切换
- if (
- (params.dataIndex == 5 || params.dataIndex == 11) &&
- that.echartR2Fd2
- ) {
- that.echartR2Fd2 = false;
- setTimeout(() => {
- option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6;
- option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6;
- that.right4Chart.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartR2Fd2 = true;
- }, 2000);
- }, 1900);
- // 如果是17表示到了最后一个,那么重新来一遍
- } else if (params.dataIndex == 17 && that.echartR2Fd2) {
- that.echartR2Fd2 = false;
- setTimeout(() => {
- option.dataZoom[0].endValue = 0;
- option.dataZoom[0].startValue = 5;
- that.right4Chart.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartR2Fd2 = true;
- }, 2000);
- }, 1900);
- }
- });
- let option = {
- dataZoom: [
- {
- // start: 9,//默认为@
- // end: 100,//黑认认为1@0
- type: "slider",
- show: false,
- // xAxisIndex: [0]
- handlesize: 0, //滑动条的 左右2个滑动条的大小
- startValue: 5, // 初始显示值
- endValue: 0, // 结束显示值
- height: 10, //组件高度
- left: "5%",
- right: "4%", //右边的距离
- bottom: "25%", //底边的距离
- borderColor: "#939",
- fillerColor: "#269cdb",
- borderRadius: 5,
- backgroundColor: "#33384b", //两边未选中的滑动条区域的额色
- showDataShadow: false, //是否显示数据阴影
- showDetail: false, //即拖拽时候是否显示详细数值信息
- truerealtime: true, //是否实时更新
- filterMode: "filter",
- },
- {
- type: "inside",
- show: true,
- start: 1,
- end: 100,
- zoomOnMouseWheel: false, //滚轮是否触发缩放
- moveOnMouseMove: false, //鼠标滚轮触发滚动
- },
- ],
- title: {
- text: "企业后评价执行情况",
- left: "center",
- textStyle: {
- color: "#fff",
- fontSize: 32,
- },
- },
- tooltip: {
- trigger: "item",
- show: true,
- position: "top",
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- confine: true,
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- formatter: function (p) {
- return `${p.name}<br>应首评项目数:${that.riskData1.y1[p.dataIndex]}个<br>
- 已完成首评项目数:${that.riskData1.y2[p.dataIndex]}个<br>
- 应再评项目数:${that.riskData1.y3[p.dataIndex]}个<br>
- 已完成再评项目数:${that.riskData1.y4[p.dataIndex]}个<br>
- 再评达标项目数:${that.riskData1.y5[p.dataIndex]}个
- `
- },
- },
- legend: {
- show: true,
- textStyle: {
- fontSize: 24,
- color: "rgba(255, 255, 255, .6)",
- },
- inactiveColor: "#fff",
- itemHeight: 20,
- top: "15%",
- backgroundColor: "transparent",
- data: [
- {
- name: "应首评项目数",
- icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAWdJREFUOE+N0k8og3EYB/Dvs8P8CSlTxJGD8u+yTYmNm0gJQznIQRxMoV2cXWSKCznIQdk7SkmOEomNg41y4EjURkLZFI/ed3vX+5v82nt4357n9/s8Pe/v9xCST6+fzVHGKAMDAKqT6WsCNi2ElS0Xfak5Ul+tfi77YewBqNcLpH0vTYSOAxc9kFo5wghINus2lJMPOzl8PE6EpX8qC2lmuMmp8CmABn3FVgJ4bIloLggEnwRzRg6F4wSY9fR2J1CUnYieY0DPrgDiUvASA7pF8PGnJXsp4LEC3wx4L4DAY1pLLQq7GVjM5KcJmKC2fc76fNeOtU6GmBDOzYMt04sLmQjt2sUZRyMCjAEYBKNKyxNuAGwUA8vCaBhbcSrMxviwj1JFU7Nk3NC49iqAk+FCObAu3AngfLJCDmpmjgVwNdskB5UjPgHcrvbLQXmXVwD3O1NyYGmeFkD0aF4OCmqHBPAWXhfAL4WqeuKVsFKCAAAAAElFTkSuQmCC",
- },
- {
- name: "已完成首评项目数",
- icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAXFJREFUOE+V0kFLAkEUB/D/G9eW3UN1sFPYNaJAu2R0Coog8mq0fQH1kEVBhz5Ah6CoLhrdE/LqKQo6VZ7SKCKChKRTBRmhbq47oabsZC22h1nem/k93jCP8P0F+E2HQ1dD4NAAGqqn+TUI8YpciCVo8LOaoeoSKOR6GTOSxOFtFLD+OSFtmpI/obqfqFqZ6Wrqr8NNyJHJK4aPtNLDAue0+1vlnzkiHqG5YvYcwGhj08MUhJyuWhgrvyBjFq3uogp0AB2NbFR2o5sctfCNVxDWc1ag/xPQR0tLXqYg6HTBBMd++RXplpZK2Qg4dtq5NAiLNM3v5a6ilALBY4s4rvKKMdLWw4EjU4E0U3s462gwXQ3DMLeJsfpgmCYgsSVTLkSF0bC24r9NcWucHPA1izZnyXpg8vRIAMfjU/ZgLH4ogDNt1h4Mb8YEcLkSsgf9y+sCuNtaswd92qoAHuMb9qBnIiiA55M9e9DpnRfAe/pAAF9gqJXUYWdYUwAAAABJRU5ErkJggg==",
- },
- {
- name: "应再评项目数",
- icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAV5JREFUOE+V0j8oxGEYwPHvo/wMjgyUslAWcTFhMRiEsHLKYDzFKZRBSskgR7mUG29QjpX86QaDwdlwLotiUYpB/gyHPDru9HsPP+c3vL+e530/T8/b+wipb31KrYJ8vAi9QE0qfYqy+vBEsHtKnpM5SS4bC1qW+8amQl26gP0vcPSSQ2fXiFxJsnKhi8PfDtvgsVo0yJZfhwQCP1XOzCn4ZNuvB0BjerO4HNxtn1FsB24vDRZNggRgpdPNXsjL/4wST7AXNEDiv+DxW0slFVDTCvoG8QjcXGS2NKc+hMVsLo0yLFsBzZNnDoHaP9CJWtRn9XDA8WsOHR8PZx+NQhcDqvQhVH3klTMRVu4fWTZGw97Ktl/VHrePyVfRr1myHwhP3xnAM1nkDJbGzw0wOFvpDCa8+waYCTY5g/6esAFCax5n0NI6b4DI7qgzcDeOGSAW9TuD0up+A1zHQwZ4B2JrgI9r4uMDAAAAAElFTkSuQmCC",
- },
- {
- name: "已完成再评项目数",
- icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAWBJREFUOE9jZICC/1e12Rh4uDIY/jNGMjAw6ECFrzAw/l/O8OXbDEbtq79AYowg4v9jS2mGv3+3MDAwGMAMQKMvMDAz+zDKHn/KCDaZm/skHsUwvRcZfr8zZ/z/0CyX4T/DJBwmowozMuQx/n9gdpyBgcECLsNpycAgXAPhvm1hYPgOkoaDEyANPxkYGNjgQjJbGRiYRSDcv28YGJ54I2v4SUDDWwaGJ17IGr5gcZIV1El/GRjetjMwfD+G5qSHpnkM/xknEufp//mM/2+rsDOwCoGCVZ+ApksMv9+ZERtxFxmYmb3BEYeaNHgyGf7/j2FgYNCEil9nYGRcwvDly3SUpIHslP8PzP4j8xkVTsENhaclZAWvLligaBAzOIFfw9ld1igajN2O4tewar49ioawxIP4NbQ0OqNoqKnfi19DXIoHioZFc3bg12Dt6YOi4ej2Lfg1yBn7o2h4dHYjigYAb0t88hVwEBYAAAAASUVORK5CYII=",
- },
- {
- name: "再评达标项目数",
- icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAWBJREFUOE+V0k8og2EcwPHvkzVZLLm6KItEzWlclIPbdhGKcsCJwzZFdtgOK+8OimIXTjgoSrisXByUgz8nE4mmXFwlZmuaPXr3r/eZ9sZ7eN9+v/f5/J6n3/MTFJ9wWFpTFqYFjAFdxfSthF1blo1wWHzpOaG/gppszkIM6C4VqPheW8ATCYkXoVdOW7g0WVyy8ZSdHhFYlF4E0SqV1bTEJwKaPAd6S3/aWmHEU4j2Y/D4pJgLHWQAaykd9ENDfSH6SEJkTQGZ/4LkryO1O2DYDbkcHB7DQ6LiSAua9AlQN67SAQl+4Y3KWtt7vq1Os04JuPm04/rrxcUt4M5fnHE00jXMIBgHOor5eyQ7dd+sK6NhPEpAk9IYL4VEuWh5lowLfKE3BUS1RnMwOZtQwNaqwxwMTp0p4Gizzxz0D+0p4PRg1Bw4B1YUED+ZMwctrnkFPF8tm4OmzgkFvN5tK+AHKZh4TU8krdoAAAAASUVORK5CYII=",
- },
- ],
- },
- grid: {
- top: "30%",
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- xAxis: {
- data: that.riskData1.x,
- type: "category",
- splitLine: {
- show: false,
- },
- alignTicks: true,
- axisLine: {
- show: true,
- lineStyle: {
- color: "rgba(0, 80, 148, .8)",
- },
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- color: "#fff",
- fontSize: 22,
- rotate: 20,
- },
- },
- yAxis: {
- type: "value",
- splitLine: {
- show: true,
- lineStyle: {
- color: "rgba(104, 180, 221, .2)",
- type: "dashed",
- },
- },
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- color: "#fff",
- fontSize: 22,
- },
- },
- series: [
- {
- type: "bar",
- name: "应首评项目数",
- barWidth: 4,
- barGap: "600%",
- data: that.riskData1.y1,
- label: {
- show: true,
- position: "top",
- formatter: " ",
- width: 6,
- height: 6,
- borderRadius: 50,
- borderWidth: 6,
- borderColor: "#40A9FF",
- backgroundColor: "#fff",
- },
- itemStyle: {
- color: {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#40A9FF", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#092351", // 100% 处的颜色
- },
- ],
- },
- },
- },
- {
- type: "bar",
- name: "已完成首评项目数",
- barGap: "600%",
- barWidth: 4,
- data: that.riskData1.y2,
- label: {
- show: true,
- position: "top",
- formatter: " ",
- width: 6,
- height: 6,
- borderRadius: 50,
- borderWidth: 6,
- borderColor: "#58F7DF",
- backgroundColor: "#fff",
- },
- itemStyle: {
- color: {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#58F7DF", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#092351", // 100% 处的颜色
- },
- ],
- },
- },
- },
- {
- type: "bar",
- name: "应再评项目数",
- barGap: "600%",
- barWidth: 4,
- data: that.riskData1.y3,
- label: {
- show: true,
- position: "top",
- formatter: " ",
- width: 6,
- height: 6,
- borderRadius: 50,
- borderWidth: 6,
- borderColor: "#B78CFF",
- backgroundColor: "#fff",
- },
- itemStyle: {
- color: {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#B78CFF", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#092351", // 100% 处的颜色
- },
- ],
- },
- },
- },
- {
- type: "bar",
- name: "已完成再评项目数",
- barGap: "600%",
- barWidth: 4,
- data: that.riskData1.y4,
- label: {
- show: true,
- position: "top",
- formatter: " ",
- width: 6,
- height: 6,
- borderRadius: 50,
- borderWidth: 6,
- borderColor: "#FFE036",
- backgroundColor: "#fff",
- },
- itemStyle: {
- color: {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#FFE036", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#092351", // 100% 处的颜色
- },
- ],
- },
- },
- },
- {
- type: "bar",
- name: "再评达标项目数",
- barGap: "600%",
- barWidth: 4,
- data: that.riskData1.y5,
- label: {
- show: true,
- position: "top",
- formatter: " ",
- width: 6,
- height: 6,
- borderRadius: 50,
- borderWidth: 6,
- borderColor: "#7784FF",
- backgroundColor: "#fff",
- },
- itemStyle: {
- color: {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#7784FF", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#092351", // 100% 处的颜色
- },
- ],
- },
- },
- },
- ],
- };
- that.right4Chart.setOption(option);
- tools.loopShowTooltip(that.right4Chart, option, {
- interval: 2000,
- loopSeries: true,
- });
- },
- clickItem (index) {
- const angle = 360 / this.investData.investList.length;
- this.witchs = index;
- this.inner = index;
- this.innerDeg = this.witchs * angle;
- this.lpRotate();
- },
- // 排序方法
- compare (property) {
- return function (a, b) {
- var value1 = a[property];
- var value2 = b[property];
- return value1 - value2; //降序只需要 return value2- value1
- }
- },
- lpRotate () {
- const angle = 360 / this.investData.investList.length;
- clearInterval(this.timer);
- this.timer = setInterval(() => {
- this.inner++;
- this.topIndex++;
- this.topIndex = this.topIndex % 8;
- this.witchs = this.inner % this.investData.investList.length;
- this.innerDeg = this.inner * angle;
- // 项目阶段分析弹窗
- if (this.projectNum2 < 7) {
- this.projectNum2 = this.projectNum2 + 1
- } else {
- this.projectNum2 = 0
- }
- }, 2000);
- },
- // 转盘计算角度
- filterLpData () {
- const angle = 360 / this.investData.investList.length;
- for (let i in this.investData.investList) {
- this.investData.investList[i].deg = i * angle;
- this.$set(this.investData.investList, i, {
- ...this.investData.investList[i],
- deg: i * angle,
- });
- }
- },
- // 4秒定时器
- time4s () {
- let that = this;
- // 4秒定时器
- this.time1 = setInterval(() => {
- that.industryProportion == 1
- ? (that.industryProportion = 2)
- : (that.industryProportion = 1);
- that.leftEcharts1.dispose();
- that.leftEcharts2.dispose();
- that.leftEcharts3.dispose();
- that.leftEcharts4.dispose();
- that.leftEcharts1Fun();
- that.leftEcharts2Fun();
- that.leftEcharts3Fun();
- that.leftEcharts4Fun();
- }, 4000);
- },
- // 针对投前产业布局分析的定时器
- timeNs () {
- let that = this;
- this.time2 = setInterval(() => {
- if (that.industryLayout < 3) {
- that.industryLayout = that.industryLayout + 1;
- } else {
- that.industryLayout = 0;
- }
- this.time2 && clearInterval(this.time2);
- this.timeNs();
- that.leftEcharts5.dispose();
- that.leftEcharts5Fun();
- }, left1[that.industryLayout].length * 2000);
- },
- // 主辅业占比点击方法
- industryProportionChange (e) {
- let that = this;
- this.industryProportion = e;
- this.time1 && clearInterval(this.time1);
- that.leftEcharts1.dispose();
- that.leftEcharts2.dispose();
- that.leftEcharts3.dispose();
- that.leftEcharts4.dispose();
- that.leftEcharts1Fun();
- that.leftEcharts2Fun();
- that.leftEcharts3Fun();
- that.leftEcharts4Fun();
- this.time4s();
- },
- // 产业布局分析点击方法
- industryLayoutChange (e) {
- this.industryLayout = e;
- this.time2 && clearInterval(this.time2);
- this.leftEcharts5.dispose();
- this.timeNs();
- this.leftEcharts5Fun();
- },
- yuanChange (value) {
- return Number((value / 100000000).toFixed(2));
- },
- // 逢三折断
- numFormat (value) {
- if (!value) return "0";
- // var intPart = Number(value).toFixed(0) // 获取整数部分
- var intPart = parseInt(value); // 获取整数部分
- var intPartFormat = intPart
- .toString()
- .replace(/(\d)(?=(?:\d{3})+$)/g, "$1,"); // 将整数部分逢三一断
- var floatPart = ".00"; // 预定义小数部分
- var value2Array = value.toString().split(".");
- // =2表示数据有小数位
- if (value2Array.length === 2) {
- floatPart = value2Array[1].toString(); // 拿到小数部分
- if (floatPart.length === 1) {
- // 补0
- return intPartFormat + "." + floatPart + "0";
- } else {
- floatPart = floatPart.slice(0, 2);
- return intPartFormat + "." + floatPart;
- }
- } else {
- return intPartFormat;
- }
- },
- // 计算百分比
- sumPercent (a, b) {
- return (a / (a + b) * 100).toFixed(2) + '%'
- },
- leftEcharts1Fun () {
- let that = this;
- this.leftEcharts1 = echarts.init(this.$refs["leftEcharts1"]);
- option = {
- title: {
- text: that.industryProportion == 1 ? that.sumPercent(left5[1].y, left5[0].y) : that.sumPercent(left6[0].y, left6[1].y),
- x: "center",
- y: "center",
- textStyle: {
- fontWeight: "normal",
- color: "#68BDFF",
- fontSize: "20",
- },
- },
- color: ["#68BDFF", "#254F7F"],
- series: [
- {
- name: "Line 1",
- type: "pie",
- clockWise: true,
- radius: ["80%", "100%"],
- itemStyle: {
- normal: {
- label: {
- show: false,
- },
- labelLine: {
- show: false,
- },
- },
- },
- hoverAnimation: false,
- data: [
- {
- value: that.industryProportion == 1 ? left5[1].y : left6[0].y,
- name: "01",
- itemStyle: {
- normal: {
- label: {
- show: false,
- },
- labelLine: {
- show: false,
- },
- },
- },
- },
- {
- name: "02",
- value: that.industryProportion == 1 ? left5[0].y : left6[1].y,
- },
- ],
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- that.leftEcharts1.setOption(option);
- },
- leftEcharts2Fun () {
- let that = this;
- this.leftEcharts2 = echarts.init(this.$refs["leftEcharts2"]);
- let nameList = ["a"];
- let valueList = that.industryProportion == 1 ? [left5[1].y] : [left6[0].y];
- let total = that.industryProportion == 1 ? left5[1].y + left5[0].y : left6[0].y + left6[1].y
- var category = nameList.map((item, index) => {
- return {
- value: valueList[index],
- itemStyle: {
- color: new echarts.graphic.LinearGradient(
- 1,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: "#40A9FF50",
- },
- {
- offset: 1,
- color: "#40A9FF",
- },
- ],
- false
- ),
- },
- };
- });
- var totalList = [];
- var totalBorderList = [];
- nameList.map((item, index) => {
- totalList.push({
- value: total,
- itemStyle: {
- color: "rgba(51, 147, 236, 0.29)",
- },
- });
- totalBorderList.push({
- value: total,
- itemStyle: {
- borderColor: "rgba(51, 147, 236, 0.29)",
- color: "transparent",
- },
- });
- });
- var datas = [];
- category.forEach((value) => {
- datas.push(value.value);
- });
- option = {
- // backgroundColor: 'rgb(231,238,249)',
- xAxis: {
- max: total,
- splitLine: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisLabel: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- },
- grid: {
- left: "0%",
- top: "15%", // 设置条形图的边距
- right: "19%",
- bottom: "5%",
- },
- yAxis: [
- {
- type: "category",
- inverse: false,
- data: nameList,
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- show: false,
- },
- },
- ],
- series: [
- {
- // 内
- type: "bar",
- barWidth: 16,
- barGap: "20%",
- silent: true,
- data: category,
- z: 1,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(
- 1,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: "rgba(81, 193, 156, 1)",
- },
- {
- offset: 1,
- color: "rgba(234, 177, 100, 1)",
- },
- ],
- false
- ),
- },
- },
- animationEasing: "elasticOut",
- },
- {
- // 分隔
- type: "pictorialBar",
- itemStyle: {
- normal: {
- color: "#143362",
- },
- },
- symbolRepeat: "fixed",
- symbolMargin: 8,
- symbol: "rect",
- symbolClip: false,
- symbolSize: [4, 20],
- symbolPosition: "start",
- symbolOffset: [0, -2],
- symbolBoundingData: total,
- data: [total, total, total, total],
- z: 2,
- animationEasing: "elasticOut",
- },
- {
- // label
- type: "pictorialBar",
- symbolBoundingData: total,
- itemStyle: {
- normal: {
- color: "none",
- },
- },
- label: {
- normal: {
- formatter: (params) => {
- var text;
- text = `${params.value}亿`;
- return text;
- },
- textStyle: {
- // 图列内容样式
- fontSize: "20",
- fontWeight: 800,
- },
- position: "right",
- offset: [0, -3],
- distance: 10, // 向右偏移位置
- show: true,
- color: "#68BDFF",
- },
- },
- data: datas,
- z: 0,
- },
- {
- name: "外框",
- type: "bar",
- barGap: "-130%", // 设置外框粗细
- data: totalBorderList,
- barWidth: 26,
- itemStyle: {
- normal: {
- // barBorderRadius: [5, 5, 5, 5],
- borderWidth: 1, // 边框宽度
- borderColor: "rgb(51, 147, 236)", // 边框色
- color: "rgb(231,238,249)",
- },
- },
- z: 0,
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- that.leftEcharts2.setOption(option);
- },
- leftEcharts3Fun () {
- let that = this;
- this.leftEcharts3 = echarts.init(this.$refs["leftEcharts3"]);
- option = {
- title: {
- text: that.industryProportion == 1 ? that.sumPercent(left5[0].y, left5[1].y) : that.sumPercent(left6[1].y, left6[0].y),
- x: "center",
- y: "center",
- textStyle: {
- fontWeight: "normal",
- color: "#68BDFF",
- fontSize: "20",
- },
- },
- color: ["#5BDCC8", "#254F7F"],
- series: [
- {
- name: "Line 1",
- type: "pie",
- clockWise: true,
- radius: ["80%", "100%"],
- itemStyle: {
- normal: {
- label: {
- show: false,
- },
- labelLine: {
- show: false,
- },
- },
- },
- hoverAnimation: false,
- data: [
- {
- value: that.industryProportion == 1 ? left5[0].y : left6[1].y,
- name: "01",
- itemStyle: {
- normal: {
- label: {
- show: false,
- },
- labelLine: {
- show: false,
- },
- },
- },
- },
- {
- name: "02",
- value: that.industryProportion == 1 ? left5[1].y : left6[0].y,
- },
- ],
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- that.leftEcharts3.setOption(option);
- },
- leftEcharts4Fun () {
- let that = this;
- this.leftEcharts4 = echarts.init(this.$refs["leftEcharts4"]);
- let nameList = ["a"];
- let valueList = that.industryProportion == 1 ? [left5[0].y] : [left6[1].y];
- let total = that.industryProportion == 1 ? (left5[1].y + left5[0].y) : (left6[0].y + left6[1].y)
- var category = nameList.map((item, index) => {
- return {
- value: valueList[index],
- itemStyle: {
- color: new echarts.graphic.LinearGradient(
- 1,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: "#5BDCC850",
- },
- {
- offset: 1,
- color: "#5BDCC8",
- },
- ],
- false
- ),
- },
- };
- });
- var totalList = [];
- var totalBorderList = [];
- nameList.map((item, index) => {
- totalList.push({
- value: total,
- itemStyle: {
- color: "rgba(51, 147, 236, 0.29)",
- },
- });
- totalBorderList.push({
- value: total,
- itemStyle: {
- borderColor: "rgba(51, 147, 236, 0.29)",
- color: "transparent",
- },
- });
- });
- var datas = [];
- category.forEach((value) => {
- datas.push(value.value);
- });
- option = {
- // backgroundColor: 'rgb(231,238,249)',
- xAxis: {
- max: total,
- splitLine: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisLabel: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- },
- grid: {
- left: "0%",
- top: "15%", // 设置条形图的边距
- right: "19%",
- bottom: "5%",
- },
- yAxis: [
- {
- type: "category",
- inverse: false,
- data: nameList,
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- show: false,
- },
- },
- ],
- series: [
- {
- // 内
- type: "bar",
- barWidth: 16,
- barGap: "20%",
- silent: true,
- // label: {
- // normal: {
- // formatter: (item) => {
- // return `${item['name']}:${item['value']} `;
- // },
- // textStyle: {
- // color: 'rgba(105, 120, 136, 1)',
- // fontSize: 14,
- // },
- // position: [0, '-25px'],
- // show: true,
- // },
- // },
- data: category,
- z: 1,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(
- 1,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: "rgba(81, 193, 156, 1)",
- },
- {
- offset: 1,
- color: "rgba(234, 177, 100, 1)",
- },
- ],
- false
- ),
- },
- },
- animationEasing: "elasticOut",
- },
- {
- // 分隔
- type: "pictorialBar",
- itemStyle: {
- normal: {
- color: "#143362",
- },
- },
- symbolRepeat: "fixed",
- symbolMargin: 8,
- symbol: "rect",
- symbolClip: false,
- symbolSize: [4, 20],
- symbolPosition: "start",
- symbolOffset: [0, -2],
- symbolBoundingData: total,
- data: [total, total, total, total],
- z: 2,
- animationEasing: "elasticOut",
- },
- {
- // label
- type: "pictorialBar",
- symbolBoundingData: total,
- itemStyle: {
- normal: {
- color: "none",
- },
- },
- label: {
- normal: {
- formatter: (params) => {
- var text;
- text = `${params.value}亿`;
- return text;
- },
- textStyle: {
- // 图列内容样式
- fontSize: "20",
- fontWeight: 800,
- },
- position: "right",
- offset: [0, -3],
- distance: 10, // 向右偏移位置
- show: true,
- color: "#68BDFF",
- },
- },
- data: datas,
- z: 0,
- },
- {
- name: "外框",
- type: "bar",
- barGap: "-130%", // 设置外框粗细
- data: totalBorderList,
- barWidth: 26,
- itemStyle: {
- normal: {
- // barBorderRadius: [5, 5, 5, 5],
- borderWidth: 1, // 边框宽度
- borderColor: "rgb(51, 147, 236)", // 边框色
- color: "rgb(231,238,249)",
- },
- },
- z: 0,
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- that.leftEcharts4.setOption(option);
- },
- leftEcharts5Fun () {
- let that = this;
- this.leftEcharts5 = echarts.init(this.$refs["leftEcharts5"]);
- let dataList = [];
- left1[that.industryLayout].forEach((item, index) => {
- dataList[index] = {
- value: item.y,
- name: item.name,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(1, 0, 0, 1, [
- {
- offset: 0,
- color: commonColor2[index], //顶部颜色
- },
- {
- offset: 1,
- color: commonColor[index], // 底部颜色
- },
- ]),
- borderColor: commonColor[index],
- borderWidth: 3,
- },
- },
- };
- });
- let option = {
- tooltip: {
- trigger: "item",
- formatter: function (e) {
- return `<span style="display:inline-block;margin-right:15px;border-radius:10px;width:20px;height:20px;background-color:${e.borderColor
- };"></span>${e.name} ${e.percent}%<br>${e.value}亿 ${left1[that.industryLayout][e.seriesIndex].num
- }个`;
- },
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- },
- legend: {
- top: "center",
- orient: "vertical",
- left: "65%",
- textStyle: {
- color: "#fff",
- fontSize: 20,
- padding: [0, 20],
- },
- },
- graphic: {
- elements: [
- {
- type: "image", //需要填充图片,配置image,如果不需要图片可以配置其他的, text, circle, sector, ring, polygon, polyline, rect, line, bezierCurve, arc, group,
- style: {
- image: "./img/whiteCircle.png", //这里添加图片地址
- width: 80,
- height: 80,
- },
- left: "37.7%", //
- top: "middle", //配置图片居中
- },
- ],
- },
- series: [
- {
- name: "",
- type: "pie",
- radius: ["20%", "90%"],
- center: ["41%", "50%"],
- labelLine: {
- normal: {
- lineStyle: {
- width: 1,
- },
- },
- },
- label: {
- normal: {
- show: false,
- textStyle: {
- fontSize: 28,
- color: "#fff",
- },
- },
- },
- roseType: "area",
- data: dataList,
- },
- {
- tooltip: {
- show: false,
- },
- type: "pie",
- radius: ["90%", "92%"],
- center: ["41%", "50%"],
- hoverAnimation: false,
- name: "",
- data: [
- {
- name: "",
- value: 0,
- itemStyle: {
- normal: {
- color: "#345189",
- },
- },
- },
- ],
- },
- ],
- };
- //轮播
- tools.loopShowTooltip(that.leftEcharts5, option, {
- interval: 2000,
- loopSeries: true,
- });
- //注册
- that.leftEcharts5.setOption(option);
- },
- leftEcharts6Fun () {
- let that = this;
- this.leftEcharts6 = echarts.init(this.$refs["leftEcharts6"]);
- var dataArr = 44;
- var colorSet = {
- color: "#22B95E",
- };
- var color1 = {
- type: "linear",
- x: 0,
- y: 0,
- x2: 1,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "rgba(255,255,255,0.1)",
- },
- {
- offset: 1,
- color: "rgba(255,255,255,0.3)",
- },
- ],
- global: false,
- };
- var color2 = {
- type: "linear",
- x: 0,
- y: 0,
- x2: 1,
- y2: 1,
- colorStops: [
- {
- offset: 0,
- color: "#30DBBA",
- },
- {
- offset: 1,
- color: "#2DE696",
- },
- ],
- global: false,
- };
- option = {
- tooltip: {
- formatter: "{a} <br/>{b} : {c}%",
- },
- series: [
- {
- name: "内部进度条",
- type: "gauge",
- // center: ['20%', '50%'],
- radius: "50%",
- splitNumber: 10,
- axisLine: {
- lineStyle: {
- color: [
- [dataArr / 100, "rgba(0,0,0,0)"],
- [1, "rgba(0,0,0,0)"],
- ],
- width: 1,
- },
- },
- axisLabel: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- splitLine: {
- show: false,
- },
- itemStyle: {
- color: "#ffffff",
- },
- detail: {
- formatter: function (value) {
- if (value !== 0) {
- var num = Math.round(value);
- return parseInt(num).toFixed(0) + "%";
- } else {
- return 0;
- }
- },
- offsetCenter: [0, 117],
- textStyle: {
- padding: [0, 0, 0, 0],
- fontSize: 60,
- color: "#58F7DF",
- },
- },
- title: {
- //标题
- show: true,
- offsetCenter: [0, 220], // x, y,单位px
- textStyle: {
- color: "#40A9FF",
- fontSize: 34, //表盘上的标题文字大小
- fontWeight: 400,
- fontFamily: "MicrosoftYaHei",
- },
- },
- data: [
- {
- name: "总额度:1,834.51亿",
- value: dataArr,
- itemStyle: {
- fontSize: "50", //y轴上方单位的大小
- color: "#FFF666",
- fontFamily: "MicrosoftYaHei",
- },
- },
- ],
- pointer: {
- show: true,
- length: "100%",
- radius: "20%",
- width: 3, //指针粗细
- },
- animationDuration: 4000,
- },
- {
- name: "内部阴影",
- type: "gauge",
- radius: "75%",
- splitNumber: 10,
- axisLine: {
- lineStyle: {
- color: [
- [
- dataArr / 100,
- new echarts.graphic.LinearGradient(0, 1, 0, 0, [
- {
- offset: 0,
- color: "#081947",
- },
- {
- offset: 0.5,
- color: "#5DF5A9",
- },
- {
- offset: 1,
- color: "#F6F16A",
- },
- ]),
- ],
- [1, "#0E4889"],
- ],
- width: 70,
- },
- },
- axisLabel: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- splitLine: {
- show: false,
- },
- itemStyle: {
- show: false,
- },
- },
- {
- name: "外部刻度",
- type: "gauge",
- // center: ['20%', '50%'],
- radius: "90%",
- min: 0, //最小刻度
- max: 100, //最大刻度
- splitNumber: 5, //刻度数量
- startAngle: 225,
- endAngle: -45,
- axisLine: {
- show: true,
- lineStyle: {
- width: 1,
- color: [[1, "rgba(0,0,0,0)"]],
- },
- }, //仪表盘轴线
- axisLabel: {
- show: false,
- color: "#ffffff",
- fontSize: 28,
- fontFamily: "SourceHanSansSC-Regular",
- fontWeight: "bold",
- // position: "top",
- distance: -45,
- formatter: function (v) {
- switch (v + "") {
- case "0":
- return "0";
- case "10":
- return "10";
- case "20":
- return "20";
- case "30":
- return "30";
- case "40":
- return "40";
- case "50":
- return "50";
- case "60":
- return "60";
- case "70":
- return "70";
- case "80":
- return "80";
- case "90":
- return "90";
- case "100":
- return "100";
- }
- },
- }, //刻度标签。
- axisTick: {
- show: true,
- splitNumber: 10,
- lineStyle: {
- color: "#3798D7", //用颜色渐变函数不起作用
- width: 1,
- },
- length: -6,
- }, //刻度样式
- splitLine: {
- show: true,
- length: -12,
- lineStyle: {
- color: "#3798D7", //用颜色渐变函数不起作用
- },
- }, //分隔线样式
- detail: {
- show: false,
- },
- },
- {
- //指针上的圆
- type: "pie",
- tooltip: {
- show: false,
- },
- hoverAnimation: false,
- legendHoverLink: false,
- radius: ["0%", "4%"],
- center: ["50%", "50%"],
- label: {
- normal: {
- show: false,
- },
- },
- labelLine: {
- normal: {
- show: false,
- },
- },
- data: [
- {
- value: 120,
- itemStyle: {
- normal: {
- color: "#ffffff",
- },
- },
- },
- ],
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- that.leftEcharts6.setOption(option);
- },
- leftEcharts7Fun () {
- let that = this;
- this.leftEcharts7 = echarts.init(this.$refs["leftEcharts7"]);
- let option = {
- title: {
- text: "固定资产进度分布",
- textStyle: {
- color: "#fff",
- fontSize: 28,
- fontWeight: 500,
- fontFamily: "Microsoft YaHei",
- },
- top: "20",
- left: "220",
- },
- textStyle: {
- color: "#fff",
- },
- tooltip: {
- show: false,
- trigger: "axis",
- formatter: function (params) {
- var tip =
- params[0].axisValue +
- "<br/>" +
- params[0].marker +
- params[0].data[1] +
- ":" +
- params[0].data[2] +
- "个," +
- params[0].data[3] +
- "亿元" +
- "<br/>" +
- params[1].marker +
- params[1].data[1] +
- ":" +
- params[1].data[2] +
- "个," +
- params[1].data[3] +
- "亿元";
- return tip;
- },
- textStyle: {
- color: "#ffffff", // 文字的颜色
- fontSize: "20", // 文字字体大小
- fontFamily: "Microsoft YaHei",
- },
- axisPointer: {
- // lineStyle: {
- // type: 'dashed',
- // width: 2,
- // color: 'rgba(255,255,255,0.6)'
- // },
- animation: false,
- },
- },
- grid: {
- top: "0%",
- right: "5%",
- left: "15%",
- bottom: "-10%",
- },
- yAxis: {
- data: ["备案", "特别监管"],
- splitLine: {
- show: false,
- lineStyle: {
- color: "#68b4dd66",
- type: "dashed",
- },
- },
- axisLine: {
- show: false,
- },
- axisLabel: {
- show: true,
- formatter: "{value}",
- textStyle: {
- color: function (data) {
- if (data == "特别监管") {
- return "#40A9FF";
- } else if (data == "备案") {
- return "#5BDCC8";
- }
- },
- fontSize: 20,
- padding: [0, -10, 0, 0],
- fontFamily: "Microsoft YaHei",
- },
- },
- nameTextStyle: {
- color: "#ebf8ac",
- fontSize: 16,
- fontFamily: "Microsoft YaHei",
- },
- },
- xAxis: {
- data: ["项目储备", "项目立项", "可研论证", "投资决策"],
- axisLine: {
- show: true, //隐藏X轴轴线
- lineStyle: {
- color: "red",
- width: 1,
- },
- },
- axisTick: {
- show: false, //隐藏X轴刻度
- },
- axisLabel: {
- show: true,
- textStyle: {
- color: "#fff", //X轴文字颜色
- fontSize: 20,
- padding: [-80, 0, 0, 0],
- fontFamily: "Microsoft YaHei",
- },
- },
- },
- series: [
- {
- name: "特别监管",
- type: "scatter",
- symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
- symbolSize: function (data) {
- return Math.sqrt(data[2]) * 5;
- },
- // label: {
- // emphasis: {
- // show: true,
- // formatter: function (param) {
- // return param.data[2];
- // },
- // position: 'top'
- // }
- // },
- itemStyle: {
- normal: {
- color: "#69c0ff",
- },
- },
- // data: left13[0]
- },
- {
- name: "备案",
- type: "scatter",
- symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
- symbolSize: function (data) {
- return Math.sqrt(data[2]) * 5;
- },
- // label: {
- // emphasis: {
- // show: true,
- // formatter: function (param) {
- // return param.data[2];
- // },
- // position: 'top'
- // }
- // },
- itemStyle: {
- normal: {
- color: "#957DFF",
- },
- },
- // data: left13[1]
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- that.leftEcharts7.setOption(option);
- },
- leftEcharts8Fun () {
- let that = this;
- this.leftEcharts8 = echarts.init(this.$refs["leftEcharts8"]);
- let option = {
- title: {
- text: "固定资产进度分布",
- textStyle: {
- color: "#fff",
- fontSize: 28,
- fontWeight: 500,
- fontFamily: "Microsoft YaHei",
- },
- top: "20",
- left: "220",
- },
- textStyle: {
- color: "#fff",
- },
- tooltip: {
- show: false,
- trigger: "axis",
- formatter: function (params) {
- var tip =
- params[0].axisValue +
- "<br/>" +
- params[0].marker +
- params[0].data[1] +
- ":" +
- params[0].data[2] +
- "个," +
- params[0].data[3] +
- "亿元" +
- "<br/>" +
- params[1].marker +
- params[1].data[1] +
- ":" +
- params[1].data[2] +
- "个," +
- params[1].data[3] +
- "亿元";
- return tip;
- },
- textStyle: {
- color: "#ffffff", // 文字的颜色
- fontSize: "20", // 文字字体大小
- fontFamily: "Microsoft YaHei",
- },
- axisPointer: {
- // lineStyle: {
- // type: 'dashed',
- // width: 2,
- // color: 'rgba(255,255,255,0.6)'
- // },
- animation: false,
- },
- },
- grid: {
- top: "0%",
- right: "5%",
- left: "15%",
- bottom: "-10%",
- },
- yAxis: {
- data: ["备案", "特别监管"],
- splitLine: {
- show: false,
- lineStyle: {
- color: "#68b4dd66",
- type: "dashed",
- },
- },
- axisLine: {
- show: false,
- },
- axisLabel: {
- show: false,
- formatter: "{value}",
- textStyle: {
- color: "#fff",
- fontSize: 20,
- padding: [0, -10, 0, 0],
- fontFamily: "Microsoft YaHei",
- },
- },
- nameTextStyle: {
- color: "#ebf8ac",
- fontSize: 16,
- fontFamily: "Microsoft YaHei",
- },
- },
- xAxis: {
- data: ["项目储备", "项目立项", "可研论证", "投资决策"],
- axisLine: {
- show: true, //隐藏X轴轴线
- lineStyle: {
- color: "red",
- width: 1,
- },
- },
- axisTick: {
- show: false, //隐藏X轴刻度
- },
- axisLabel: {
- show: true,
- textStyle: {
- color: "#fff", //X轴文字颜色
- fontSize: 20,
- padding: [-80, 0, 0, 0],
- fontFamily: "Microsoft YaHei",
- },
- },
- },
- series: [
- {
- name: "特别监管",
- type: "scatter",
- symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
- symbolSize: function (data) {
- return Math.sqrt(data[2]) * 5;
- },
- // label: {
- // emphasis: {
- // show: true,
- // formatter: function (param) {
- // return param.data[2];
- // },
- // position: 'top'
- // }
- // },
- itemStyle: {
- normal: {
- color: "#69c0ff",
- },
- },
- // data: left13[0]
- },
- {
- name: "备案",
- type: "scatter",
- symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
- symbolSize: function (data) {
- return Math.sqrt(data[2]) * 5;
- },
- // label: {
- // emphasis: {
- // show: true,
- // formatter: function (param) {
- // return param.data[2];
- // },
- // position: 'top'
- // }
- // },
- itemStyle: {
- normal: {
- color: "#957DFF",
- },
- },
- // data: left13[1]
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- that.leftEcharts8.setOption(option);
- },
- shanxiEchartsFun () {
- let that = this;
- this.geoCoordMap = [];
- /*获取地图数据*/
- this.shanxiMap = echarts.init(this.$refs["shanxi"]);
- // echarts.registerMap('china', china)
- echarts.registerMap("china", shanxi);
- // var mapFeatures = echarts.getMap('china').geoJson.features
- // mapFeatures.forEach(v => {
- // // 地区名称
- // var name = v.properties.name
- // // 地区经纬度
- // this.geoCoordMap[name] = v.properties.cp
- // data.push({ name: v.properties.name, value: v.properties.cp[0], value2: v.properties.cp[1] })
- // })
- var data = [
- { name: "大同市", value: 65, value2: 28 },
- { name: "朔州市", value: 331, value2: 13 },
- { name: "忻州市", value: 735, value2: 25 },
- { name: "吕梁市", value: 104, value2: 45 },
- { name: "太原市", value: 2567, value2: 113 },
- { name: "阳泉市", value: 252, value2: 28 },
- { name: "晋中市", value: 187, value2: 52 },
- { name: "临汾市", value: 155, value2: 30 },
- { name: "长治市", value: 100, value2: 23 },
- { name: "运城市", value: 416, value2: 23 },
- { name: "晋城市", value: 443, value2: 31 },
- ];
- var geoCoordMap = {
- 太原市: [112.53, 37.87],
- 大同市: [113.3, 40.12],
- 阳泉市: [113.57, 37.85],
- 长治市: [113.08, 36.18],
- 晋城市: [112.83, 35.52],
- 朔州市: [112.43, 39.33],
- 晋中市: [112.94, 37.4],
- 运城市: [110.97, 35.03],
- 忻州市: [112.53, 38.72],
- 临汾市: [111.5, 36.08],
- 吕梁市: [111.13, 37.52],
- };
- var convertData = function (data) {
- var res = [];
- for (var i = 0; i < data.length; i++) {
- var geoCoord = geoCoordMap[data[i].name];
- if (geoCoord) {
- res.push({
- name: data[i].name,
- value: geoCoord.concat(data[i].value, data[i].value2),
- });
- }
- }
- return res;
- };
- var convertedData = [
- convertData(data),
- convertData(
- data
- .sort(function (a, b) {
- return b.value - a.value;
- })
- .slice(0, 6)
- ),
- ];
- data.sort(function (a, b) {
- return a.value - b.value;
- });
- option = {
- backgroundColor: "#404a5900",
- animation: true,
- animationDuration: 1000,
- animationEasing: "cubicInOut",
- animationDurationUpdate: 1000,
- animationEasingUpdate: "cubicInOut",
- geo: {
- map: "china",
- center: [112.53, 37.67],
- zoom: 4.5,
- label: {
- emphasis: {
- show: false,
- },
- },
- roam: false,
- itemStyle: {
- normal: {
- borderColor: "#7fb3ff",
- borderWidth: 3,
- areaColor: {
- type: "radial",
- x: 0.5,
- y: 0.5,
- r: 0.8,
- colorStops: [
- {
- offset: 0,
- color: "#468ff8", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#0a2c6d", // 100% 处的颜色
- },
- ],
- globalCoord: false, // 缺省为 false
- },
- // shadowColor: 'rgba(128, 217, 248, 1)',
- shadowColor: "#468ff8",
- shadowOffsetX: -2,
- shadowOffsetY: 2,
- shadowBlur: 20,
- },
- emphasis: {
- areaColor: {
- colorStops: [
- {
- offset: 0,
- color: "#3844aa", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#7284fc", // 100% 处的颜色
- },
- ],
- },
- borderColor: "#b3baff",
- borderWidth: 5,
- },
- },
- tooltip: {
- trigger: "item",
- className: "custom-tooltip-box",
- confine: true, // 不超出当前表
- formatter: (params, ticket, callback) => {
- // 清空所有轮播
- for (var k in geoCoordMap) {
- that.shanxiMap.dispatchAction({
- // type: 'geoUnSelect',
- type: "downplay",
- name: k,
- geoIndex: 0,
- });
- that.shanxiMap.dispatchAction({
- // type: 'geoUnSelect',
- type: "downplay",
- name: k,
- seriesName: params.seriesName,
- });
- that.shanxiMap.dispatchAction({
- // type: 'geoUnSelect',
- type: "downplay",
- name: k,
- seriesName: "series\u00001",
- });
- }
- that.shanxiMap.dispatchAction({
- // type: 'geoSelect',
- type: "highlight",
- name: params.name,
- geoIndex: 0,
- });
- that.shanxiMap.dispatchAction({
- // type: 'geoSelect',
- type: "highlight",
- name: params.name,
- seriesName: params.seriesName,
- });
- that.shanxiMap.dispatchAction({
- // type: 'geoSelect',
- type: "highlight",
- name: params.name,
- seriesName: "series\u00001",
- });
- let a = window.location.href.split('/')
- a.pop()
- if (params.value) {
- return `<div class="bgTooltip" style="background: url('${a.join('/')}/img/shanxi/${params.dataIndex}.png') no-repeat center center;background-size: 100% 100%;font-size:36px">
- <div class="flex items-center">
- <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
- </div>
- <div class="blueIcon flex items-center">项目数量:<span class="fb" style="color:#68BDFF;">${params.value[3]}<span style="font-size:20px" class="fn">个</span></span></div>
- <div class="blueIcon flex items-center">投资总额:<span class="fb" style="color:#68BDFF">${params.value[2]}<span style="font-size:20px" class="fn">亿</span></span></div>
- </div>`;
- }
- },
- },
- regions: [
- {
- name: "太原市",
- value: 2000,
- itemStyle: {
- emphasis: {
- borderColor: "#ffe036",
- borderWidth: 5,
- areaColor: {
- type: "radial",
- x: 0.5,
- y: 0.5,
- r: 0.8,
- colorStops: [
- {
- offset: 0,
- color: "#ffe036", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#7c732a", // 100% 处的颜色
- },
- ],
- globalCoord: false, // 缺省为 false
- },
- },
- },
- },
- {
- name: "南海诸岛",
- itemStyle: {
- // 隐藏地图
- normal: {
- opacity: 0, // 为 0 时不绘制该图形
- },
- },
- label: {
- show: false, // 隐藏文字
- },
- },
- ],
- },
- tooltip: {
- trigger: "item",
- className: "custom-tooltip-box",
- confine: true, // 不超出当前表
- formatter: (e) => {
- console.log('走了这里了', e)
- }
- },
- xAxis: {
- type: "value",
- scale: true,
- position: "top",
- boundaryGap: false,
- splitLine: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- margin: 2,
- textStyle: {
- color: "#aaa",
- },
- },
- },
- yAxis: {
- type: "category",
- nameGap: 16,
- axisLine: {
- show: false,
- lineStyle: {
- color: "#ddd",
- },
- },
- axisTick: {
- show: false,
- lineStyle: {
- color: "#ddd",
- },
- },
- axisLabel: {
- interval: 0,
- textStyle: {
- color: "#ddd",
- },
- },
- data: categoryData,
- },
- series: [
- {
- type: "effectScatter",
- colorBy: "data",
- coordinateSystem: "geo",
- data: convertedData[0],
- symbolSize: function (val) {
- return Math.max(val[2] / 500, 8);
- },
- showEffectOn: "emphasis",
- rippleEffect: {
- brushType: "stroke",
- color: "#58F7DF",
- },
- hoverAnimation: true,
- label: {
- normal: {
- formatter: "{b}",
- position: "right",
- show: true,
- fontSize: "30",
- color: "#fff",
- },
- },
- itemStyle: {
- normal: {
- color: "#ffc809",
- shadowBlur: 50,
- shadowColor: "#ffc809",
- },
- emphasis: {
- color: "#58F7DF",
- shadowBlur: 50,
- shadowColor: "#58F7DF",
- },
- },
- zlevel: 99,
- },
- {
- type: "effectScatter",
- colorBy: "data",
- coordinateSystem: "geo",
- data: [
- {
- name: "太原市",
- value: [112.53, 37.87, 25167, 113],
- },
- ],
- symbolSize: function (val) {
- return Math.max(val[2] / 500, 8);
- },
- showEffectOn: "emphasis",
- rippleEffect: {
- brushType: "stroke",
- color: "#DF62F2",
- },
- hoverAnimation: true,
- label: {
- normal: {
- formatter: "{b}",
- position: "right",
- show: false,
- fontSize: "30",
- color: "#fff",
- },
- },
- itemStyle: {
- normal: {
- color: "#ffc809",
- shadowBlur: 50,
- shadowColor: "#ffc809",
- },
- emphasis: {
- color: "#DF62F2",
- shadowBlur: 50,
- shadowColor: "#DF62F2",
- },
- },
- zlevel: 999,
- },
- ],
- };
- var categoryData = [];
- var barData = [];
- var sum = 0;
- for (var i = 0; i < data.length; i++) {
- categoryData.push(data[i].name);
- barData.push(data[i].value);
- sum += data[i].value;
- }
- // this.shanxiMap.on('click', function (params) {
- // if (params.name == '山西') {
- // that.shanxiMap.dispose()
- // that.centerShow = true
- // setTimeout(() => {
- // })
- // }
- // })
- tools.loopShowTooltip(this.shanxiMap, option, {
- interval: 2000,
- loopSeries: false,
- seriesIndex: 0,
- });
- this.shanxiMap.setOption(option);
- },
- chinaEchartsFun () {
- let that = this;
- this.geoCoordMap = [];
- /*获取地图数据*/
- this.chinaMap = echarts.init(this.$refs["china"]);
- echarts.registerMap("china", china);
- // var mapFeatures = echarts.getMap('china').geoJson.features
- // mapFeatures.forEach(v => {
- // // 地区名称
- // var name = v.properties.name
- // // 地区经纬度
- // this.geoCoordMap[name] = v.properties.cp
- // data.push({ name: v.properties.name, value: v.properties.cp[0], value2: v.properties.cp[1] })
- // })
- var data = [
- { "name": "新疆", value: 2978, value2: 32 },
- { "name": "西藏", value: 2186, value2: 21 },
- { "name": "内蒙古", value: 1135, value2: 35 },
- { "name": "青海", value: 2978, value2: 53 },
- { "name": "四川", value: 2568, value2: 23 },
- { "name": "黑龙江", value: 2978, value2: 43 },
- { "name": "甘肃", value: 6959, value2: 76 },
- { "name": "云南", value: 5632, value2: 12 },
- { "name": "广西", value: 6707, value2: 76 },
- { "name": "湖南", value: 2978, value2: 23 },
- { "name": "陕西", value: 1894, value2: 87 },
- { "name": "广东", value: 1576, value2: 23 },
- { "name": "吉林", value: 8259, value2: 76 },
- { "name": "河北", value: 5741, value2: 46 },
- { "name": "湖北", value: 3030, value2: 42 },
- { "name": "贵州", value: 4542, value2: 12 },
- { "name": "山东", value: 1970, value2: 87 },
- { "name": "江西", value: 3157, value2: 12 },
- { "name": "河南", value: 6690, value2: 56 },
- { "name": "辽宁", value: 8678, value2: 12 },
- { "name": "山西", value: 9533, value2: 86 },
- { "name": "安徽", value: 2970, value2: 33 },
- { "name": "福建", value: 1259, value2: 25 },
- { "name": "浙江", value: 3016, value2: 15 },
- { "name": "江苏", value: 3202, value2: 25 },
- { "name": "重庆", value: 4540, value2: 25 },
- { "name": "宁夏", value: 1980, value2: 43 },
- { "name": "海南", value: 8626, value2: 31 },
- { "name": "台湾", value: 4361, value2: 35 },
- { "name": "北京", value: 2000, value2: 65 },
- { "name": "天津", value: 4080, value2: 80 },
- { "name": "上海", value: 1980, value2: 24 },
- { "name": "香港", value: 6991, value2: 65 },
- { "name": "澳门", value: 1873, value2: 24 },
- ];
- var geoCoordMap = {
- "新疆": [86.9023, 41.148],
- "西藏": [87.8695, 31.6846],
- "内蒙古": [110.5977, 41.3408],
- "青海": [95.2402, 35.4199],
- "四川": [102.9199, 30.1904],
- "黑龙江": [128.1445, 46.7156],
- "甘肃": [102.7129, 38.166],
- "云南": [101.0652, 24.6807],
- "广西": [108.7813, 23.6426],
- "湖南": [111.5332, 27.3779],
- "陕西": [108.5996, 33.7396],
- "广东": [113.8668, 22.8076],
- "吉林": [126.1746, 43.5938],
- "河北": [115.4004, 38.1688],
- "湖北": [112.2363, 30.8572],
- "贵州": [106.6113, 26.6385],
- "山东": [118.2402, 36.2307],
- "江西": [115.7156, 27.99],
- "河南": [113.0668, 33.8818],
- "辽宁": [123.0438, 41.0889],
- "山西": [112.44, 37.73],
- "安徽": [117.2461, 31.0361],
- "福建": [118.3008, 25.9277],
- "浙江": [120.498, 29.0918],
- "江苏": [119.8586, 32.915],
- "重庆": [107.7539, 29.8904],
- "宁夏": [105.9961, 37.1096],
- "海南": [109.9512, 19.2041],
- "台湾": [120.8254, 23.5986],
- "北京": [116.4551, 40.2539],
- "天津": [117.4219, 39.4189],
- "上海": [121.4648, 31.2891],
- "香港": [114.6178, 22.3242],
- "澳门": [113.5547, 21.6484],
- '南海诸岛': [128.8254, 21.5986]
- };
- var convertData = function (data) {
- var res = [];
- for (var i = 0; i < data.length; i++) {
- var geoCoord = geoCoordMap[data[i].name];
- if (geoCoord) {
- res.push({
- name: data[i].name,
- value: geoCoord.concat(data[i].value, data[i].value2),
- });
- }
- }
- return res;
- };
- var convertedData = [
- convertData(data),
- convertData(
- data
- .sort(function (a, b) {
- return b.value - a.value;
- })
- .slice(0, 6)
- ),
- ];
- data.sort(function (a, b) {
- return a.value - b.value;
- });
- option = {
- animation: true,
- animationDuration: 1000,
- animationEasing: "cubicInOut",
- animationDurationUpdate: 1000,
- animationEasingUpdate: "cubicInOut",
- geo: {
- map: "china",
- zoom: 0.9,
- label: {
- emphasis: {
- show: false,
- },
- },
- roam: false,
- itemStyle: {
- normal: {
- borderColor: "#7fb3ff",
- borderWidth: 3,
- areaColor: {
- type: "radial",
- x: 0.5,
- y: 0.5,
- r: 0.8,
- colorStops: [
- {
- offset: 0,
- color: "#468ff8", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#0a2c6d", // 100% 处的颜色
- },
- ],
- globalCoord: false, // 缺省为 false
- },
- // shadowColor: 'rgba(128, 217, 248, 1)',
- shadowColor: "#468ff8",
- shadowOffsetX: -2,
- shadowOffsetY: 2,
- shadowBlur: 20,
- },
- emphasis: {
- areaColor: {
- colorStops: [
- {
- offset: 0,
- color: "#3844aa", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#7284fc", // 100% 处的颜色
- },
- ],
- },
- borderColor: "#b3baff",
- borderWidth: 5,
- },
- },
- tooltip: {
- trigger: "item",
- className: "custom-tooltip-box",
- confine: true, // 不超出当前表
- formatter: (params, ticket, callback) => {
- // console.log(params, '走了这里了')
- // 清空所有轮播
- for (var k in geoCoordMap) {
- that.chinaMap.dispatchAction({
- // type: 'geoUnSelect',
- type: "downplay",
- name: k,
- geoIndex: 0,
- });
- that.chinaMap.dispatchAction({
- // type: 'geoUnSelect',
- type: "downplay",
- name: k,
- seriesName: params.seriesName,
- });
- that.chinaMap.dispatchAction({
- // type: 'geoUnSelect',
- type: "downplay",
- name: k,
- seriesName: "series\u00001",
- });
- }
- that.chinaMap.dispatchAction({
- // type: 'geoSelect',
- type: "highlight",
- name: params.name,
- geoIndex: 0,
- });
- that.chinaMap.dispatchAction({
- // type: 'geoSelect',
- type: "highlight",
- name: params.name,
- seriesName: params.seriesName,
- });
- that.chinaMap.dispatchAction({
- // type: 'geoSelect',
- type: "highlight",
- name: params.name,
- seriesName: "series\u00001",
- });
- if (params.value) {
- return `<div class="bgTooltip" style="background: rgba(50,50,50,0.7);font-size:36px">
- <div class="flex items-center">
- <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
- </div>
- <div class="blueIcon flex items-center">项目数量:<span class="fb" style="color:#68BDFF;">${params.value[3]}<span style="font-size:20px" class="fn">个</span></span></div>
- <div class="blueIcon flex items-center">投资总额:<span class="fb" style="color:#68BDFF">${params.value[2]}<span style="font-size:20px" class="fn">亿</span></span></div>
- </div>`;
- }
- },
- },
- regions: [
- {
- name: "山西",
- value: 2000,
- itemStyle: {
- emphasis: {
- borderColor: "#ffe036",
- borderWidth: 5,
- areaColor: {
- type: "radial",
- x: 0.5,
- y: 0.5,
- r: 0.8,
- colorStops: [
- {
- offset: 0,
- color: "#ffe036", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "#7c732a", // 100% 处的颜色
- },
- ],
- globalCoord: false, // 缺省为 false
- },
- },
- },
- },
- // {
- // name: "南海诸岛",
- // itemStyle: {
- // // 隐藏地图
- // normal: {
- // opacity: 0, // 为 0 时不绘制该图形
- // },
- // },
- // label: {
- // show: false, // 隐藏文字
- // },
- // },
- ],
- },
- tooltip: {
- trigger: "item",
- className: "custom-tooltip-box",
- confine: true, // 不超出当前表
- },
- xAxis: {
- type: "value",
- scale: true,
- position: "top",
- boundaryGap: false,
- splitLine: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- margin: 2,
- textStyle: {
- color: "#aaa",
- },
- },
- },
- yAxis: {
- type: "category",
- nameGap: 16,
- axisLine: {
- show: false,
- lineStyle: {
- color: "#ddd",
- },
- },
- axisTick: {
- show: false,
- lineStyle: {
- color: "#ddd",
- },
- },
- axisLabel: {
- interval: 0,
- textStyle: {
- color: "#ddd",
- },
- },
- data: categoryData,
- },
- series: [
- {
- type: "effectScatter",
- colorBy: "data",
- coordinateSystem: "geo",
- data: convertedData[0],
- symbolSize: function (val) {
- return Math.max(val[2] / 100, 8);
- },
- showEffectOn: "emphasis",
- rippleEffect: {
- brushType: "stroke",
- color: "#58F7DF",
- },
- hoverAnimation: true,
- label: {
- normal: {
- formatter: "{b}",
- position: "right",
- show: true,
- fontSize: "30",
- color: "#fff",
- },
- },
- itemStyle: {
- normal: {
- color: "#ffc809",
- shadowBlur: 50,
- shadowColor: "#ffc809",
- },
- emphasis: {
- color: "#58F7DF",
- shadowBlur: 50,
- shadowColor: "#58F7DF",
- },
- },
- zlevel: 99,
- },
- {
- type: "effectScatter",
- colorBy: "data",
- coordinateSystem: "geo",
- data: [
- {
- name: "山西",
- value: [112.43, 37.73, 5303, 80],
- },
- ],
- symbolSize: function (val) {
- return Math.max(val[2] / 500, 8);
- },
- showEffectOn: "emphasis",
- rippleEffect: {
- brushType: "stroke",
- color: "#DF62F2",
- },
- hoverAnimation: true,
- label: {
- normal: {
- formatter: "{b}",
- position: "right",
- show: false,
- fontSize: "30",
- color: "#fff",
- },
- },
- itemStyle: {
- normal: {
- color: "#ffc809",
- shadowBlur: 50,
- shadowColor: "#ffc809",
- },
- emphasis: {
- color: "#DF62F2",
- shadowBlur: 50,
- shadowColor: "#DF62F2",
- },
- },
- zlevel: 999,
- },
- ],
- };
- var categoryData = [];
- var barData = [];
- var sum = 0;
- for (var i = 0; i < data.length; i++) {
- categoryData.push(data[i].name);
- barData.push(data[i].value);
- sum += data[i].value;
- }
- this.chinaMap.on('click', function (params) {
- if (params.name == '山西') {
- that.chinaMap.dispose()
- that.leftEcharts16.dispose()
- that.mapShow = true
- setTimeout(() => {
- that.leftEcharts12Fun()
- that.leftEcharts17Fun()
- that.leftEcharts14Fun()
- that.leftEcharts9Fun()
- that.leftEcharts15Fun()
- that.leftEcharts13Fun()
- that.shanxiEchartsFun()
- })
- }
- })
- tools.loopShowTooltip(this.chinaMap, option, {
- interval: 2000,
- loopSeries: false,
- seriesIndex: 0,
- });
- this.chinaMap.setOption(option);
- },
- leftEcharts9Fun () {
- let that = this;
- this.leftEcharts9 = echarts.init(this.$refs["leftEcharts9"]);
- return
- // var ROOT_PATH = 'https://echarts.apache.org/examples';
- let option = {
- backgroundColor: "#00000000",
- globe: {
- globeRadius: 55,
- baseTexture: "./img/3D/world1.jpg",
- heightTexture: "./img/3D/world1.jpg",
- displacementScale: 0.04,
- shading: "realistic",
- // environment: './img/3D/world2.jpg',
- realisticMaterial: {
- roughness: 0.9,
- },
- postEffect: {
- enable: true,
- },
- light: {
- main: {
- intensity: 3,
- shadow: true,
- },
- },
- },
- };
- that.leftEcharts9.setOption(option);
- },
- leftEcharts10Fun () {
- let that = this;
- this.leftEcharts10 = echarts.init(this.$refs["leftEcharts10"]);
- option = {
- grid: {
- top: 45,
- right: 0,
- left: 80,
- bottom: 80,
- },
- tooltip: {
- show: true,
- trigger: "axis",
- formatter: (data) => {
- return `${data[0].name
- }<br /><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[0].color
- }"></span> ${data[0].seriesName}:${that.numFormat(
- data[0].value
- )}亿<br/><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[1].color.colorStops[0].color
- }"></span> ${data[1].seriesName}:${that.numFormat(
- data[1].value
- )}亿`;
- },
- axisPointer: {
- // 坐标轴指示器,坐标轴触发有效
- type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
- },
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- },
- xAxis: {
- data: commonCompany,
- axisTick: {
- show: false,
- },
- // x轴的字体颜色
- axisLabel: {
- rotate: 40,
- textStyle: {
- color: "white",
- fontSize: "20",
- fontFamily: "Microsoft YaHei",
- },
- },
- //y轴线的颜色以及宽度
- axisLine: {
- show: true,
- lineStyle: {
- color: "#1E5389",
- width: 1,
- type: "solid",
- },
- },
- },
- yAxis: {
- name: "亿",
- axisTick: {
- lineStyle: {
- color: "#18416F",
- },
- },
- // y轴的字体颜色
- axisLabel: {
- textStyle: {
- color: "white",
- fontSize: "20",
- fontFamily: "Microsoft YaHei",
- },
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: "#68b4dd66",
- width: 1,
- type: "dashed",
- },
- },
- //y轴线的颜色以及宽度
- axisLine: {
- show: true,
- lineStyle: {
- color: "#1E5389",
- width: 1,
- type: "solid",
- },
- },
- nameTextStyle: {
- color: "#fff",
- fontSize: 20,
- fontFamily: "Microsoft YaHei",
- },
- },
- series: [
- {
- name: "已用额度",
- type: "pictorialBar",
- symbol: "fixed",
- symbolSize: [20, 5],
- symbolMargin: 2,
- symbolRepeat: "repeat",
- data: [
- 407.46, 603.02, 52.27, 67.02, 20.85, 0.00, 4.00, 8.02, 20.98, 0.00, 80.01, 11.62, 50.09, 52.17, 0.00, 0.00, 0.00, 0.00
- ],
- showBackground: false,
- barWidth: "15",
- itemStyle: {
- color: "#40A9FF",
- },
- zlevel: 1,
- },
- {
- name: "总额度",
- type: "pictorialBar",
- symbol: "fixed",
- symbolSize: [30, 5],
- symbolMargin: 2,
- symbolRepeat: "repeat",
- data: [
- 457.46, 613.02, 152.27, 267.02, 30.85, 0.00, 24.00, 18.02, 24.98, 0.00, 87.01, 18.62, 59.09, 82.17, 0.00, 0.00, 0.00, 0.00
- ],
- barGap: "-130%",
- barWidth: "25",
- itemStyle: {
- color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
- {
- offset: 0,
- color: "#b9b7c030",
- },
- {
- offset: 1,
- color: "#b9b7c030",
- },
- ]),
- },
- },
- ],
- };
- //轮播
- tools.loopShowTooltip(that.leftEcharts10, option, {
- interval: 2000,
- loopSeries: true,
- });
- //注册
- that.leftEcharts10.setOption(option);
- },
- // 重点项目两线指标轮播方法
- scrollChange (index) {
- if (index == 18) {
- this.count = -1;
- } else {
- this.count = index;
- }
- if (this.count > 12 && this.count != 18) {
- this.countType = 1;
- } else {
- this.countType = 0;
- }
- for (var i = 0; i < this.list.length; i++) {
- if (i == 2) {
- this.list[i].classList.add("light");
- } else {
- this.list[i].classList.remove("light");
- }
- }
- this.leftEcharts11 ? this.leftEcharts11.dispose() : "";
- this.leftEcharts11Fun();
- },
- leftEcharts11Fun () {
- let that = this;
- this.leftEcharts11 = echarts.init(this.$refs["leftEcharts11"]);
- option = {
- tooltip: {
- trigger: "axis",
- formatter:
- "指标:" +
- "{c0}" +
- "<br/>" +
- "发展线:" +
- "{c1}" +
- "<br/>" +
- "生存线:" +
- "{c2}", //+ '<br/>'+ '{a1}:{c1}' + '%',
- axisPointer: {
- type: "shadow",
- },
- backgroundColor: "rgba(50,50,50,0.7)",
- borderColor: "rgba(50,50,50,0.7)",
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- }
- },
- grid: {
- top: "10%",
- right: "5%",
- left: "15%",
- bottom: "20%",
- },
- xAxis: {
- data: [
- "总投资收益率",
- "销售利润率",
- "成本费用利润率",
- "总资产周转率",
- "财务内部收益率",
- ],
- // data: left15[this.countType],
- axisLine: {
- show: true, //隐藏X轴轴线
- lineStyle: {
- color: "#005094",
- width: 1,
- },
- },
- axisTick: {
- show: true, //隐藏X轴刻度
- },
- axisLabel: {
- show: true,
- rotate: 30,
- textStyle: {
- color: "#fff", //X轴文字颜色
- fontSize: 20,
- fontFamily: "Microsoft YaHei",
- },
- },
- },
- yAxis: [
- {
- type: "value",
- splitLine: {
- show: true,
- lineStyle: {
- color: "#68b4dd66",
- type: "dashed",
- },
- },
- axisLine: {
- show: false,
- },
- axisLabel: {
- show: true,
- formatter: "{value}%",
- textStyle: {
- color: "#fff",
- fontSize: 20,
- fontFamily: "Microsoft YaHei",
- },
- },
- nameTextStyle: {
- color: "#ebf8ac",
- fontSize: 16,
- fontFamily: "Microsoft YaHei",
- },
- },
- ],
- series: [
- {
- name: "实际值",
- type: "bar",
- barWidth: 20,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "#69c0ff",
- },
- {
- offset: 1,
- color: "#082550",
- },
- ]),
- },
- },
- data: dataList[this.count + 1][1],
- // data: this.storageRecordConfig.data.length == 0 ? [] : this.storageRecordConfig.data.length == 1 ? left12[this.count][2] : left12[this.count + 1][2]
- },
- {
- name: "",
- type: "line",
- barWidth: 15,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "#69c0ff",
- },
- {
- offset: 1,
- color: "green",
- },
- ]),
- },
- },
- data: dataList[this.count + 1][1],
- // data: this.storageRecordConfig.data.length == 0 ? [] : this.storageRecordConfig.data.length == 1 ? left12[this.count][1] : left12[this.count + 1][1]
- },
- {
- name: "",
- type: "line",
- barWidth: 15,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "#69c0ff",
- },
- {
- offset: 1,
- color: "yellow",
- },
- ]),
- },
- },
- data: dataList[this.count + 1][0],
- // data: this.storageRecordConfig.data.length == 0 ? [] : this.storageRecordConfig.data.length == 1 ? left12[this.count][0] : left12[this.count + 1][0]
- },
- ],
- };
- //轮播
- tools.loopShowTooltip(that.leftEcharts11, option, {
- interval: 2000,
- loopSeries: true,
- });
- //注册
- that.leftEcharts11.setOption(option);
- },
- leftEcharts12Fun () {
- let that = this;
- this.leftEcharts12 = echarts.init(this.$refs["leftEcharts12"]);
- var totalData = [{
- name: '传统产业',
- value: 12,
- radio: 0.13
- }, {
- name: '公共基础产业',
- value: 52,
- radio: 0.01
- }, {
- name: '战略性新兴产业',
- value: 15,
- radio: 3.9
- }, {
- name: '特色优势产业',
- value: 56,
- radio: 10.5
- }];
- var data = [];
- for (var i = 0; i < totalData.length; i++) {
- data.push({
- value: totalData[i].value,
- name: totalData[i].name,
- itemStyle: {
- normal: {
- borderWidth: 8,
- shadowBlur: 0,
- borderColor: commonColor[i],
- shadowColor: commonColor[i]
- }
- }
- },
- {
- value: 5,
- name: '',
- tooltip: { show: false },
- itemStyle: {
- normal: {
- label: {
- show: false
- },
- labelLine: {
- show: false
- },
- color: 'rgba(0, 0, 0, 0)',
- borderColor: 'rgba(0, 0, 0, 0)',
- borderWidth: 0
- }
- }
- }
- );
- }
- var seriesOption = [
- {
- name: '',
- type: 'pie',
- clockWise: false,
- radius: [170, 160],
- center: [260, 250],
- hoverAnimation: false,
- itemStyle: {
- normal: {
- label: {
- show: false,
- }
- }
- },
- data: data
- },
- ];
- option = {
- color: commonColor,
- title: {
- show: false,
- text: '风险类型123',
- top: '48%',
- textAlign: "center",
- left: "49%",
- textStyle: {
- color: '#fff',
- fontSize: 18,
- fontWeight: '400'
- }
- },
- tooltip: {
- show: true,
- formatter: function (params) {
- that.leftEcharts17.dispose()
- that.leftEcharts17Fun()
- left2[0] = that.numDiv(params.percent + 3.2, 100)
- if (params.seriesIndex === 2) {
- return null; // 隐藏部分2的tooltip
- } else {
- return `${params.name}:<br/>金额:<b>${totalData[params.seriesIndex].radio}</b>亿<br/>数量:<b>${params.value}</b>个`
- }
- },
- confine: true,
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- }
- },
- legend: {
- icon: "circle",
- orient: 'vertical',
- data: ['传统产业', '公共基础产业', '战略性新兴产业', '特色优势产业'],
- right: 0,
- bottom: 0,
- align: 'left',
- textStyle: {
- color: '#FFF', // 文字的颜色
- fontSize: '20', // 文字字体大小
- fontFamily: 'Microsoft YaHei'
- },
- itemGap: 20
- },
- toolbox: {
- show: false
- },
- graphic: [{
- type: 'image',
- id: 'background',
- left: 130,
- top: "center",
- zlevel: 0,
- silent: true,
- style: {
- width: 260, // 设置图片宽度
- height: 260, // 设置图片高度
- image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtcAAALTCAYAAADdHy5LAABErklEQVR42uzd+X9V1aH47/tHfBU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363aQhfutSuspjvEkrrfbwt+5jP3drOoczmMmo4o2Qd+VuaeK3K8/p1dGU7dfkHztn1hV4rdeb1mk5+7S27+y0wwuCcBEK4BoAPq5pUu7/C1CppTqZhnj9nVWnf+/ceXvXPPw6o7rzcgofyeXGNe/R/2RMSU8gu2FzX3HgDCNQCgxeILT7WrcO0Xu7VF/9tZc00Ltn+lxI1nFJP/np2chKTsUuDMMvumYEDIc+ozPE/d6NIBgHANAHCVqf2OzKmzR3DHFhy3bQATi85o9pazto7ZlKeYUo+sfT/a2vClR/5s1XBtDlExZSiOqkv2cB5Ttx6VU2+7fPjHlWhQxHp5jMmX2UjIYSsAQLgGgLbfDcUrTT0GZaj3sFy7ybF/8Eo9Er5OPlEbNSxmi91wOGpWhT0ExdSQM2YAQLgGAAAACNcAAAAACNcAAAAA4RoAAAAgXAMAAACEawYBAAAAIFwDAAAAbchf3No1D1dehSIAAAAASUVORK5CYII="
- }
- }],
- series: seriesOption
- }
- function _pie3 () {
- let dataArr = [];
- for (var i = 0; i < 100; i++) {
- if (i % 2 === 0) {
- dataArr.push({
- name: (i + 1).toString(),
- value: 25,
- tooltip: { show: false },
- itemStyle: {
- normal: {
- color: "#5A5DE0",
- borderWidth: 1,
- borderColor: "#5A5DE0"
- }
- }
- })
- } else {
- dataArr.push({
- name: (i + 1).toString(),
- value: 20,
- tooltip: { show: false },
- itemStyle: {
- normal: {
- color: "rgba(0,0,0,0)",
- borderWidth: 0,
- borderColor: "rgba(0,0,0,0)"
- }
- }
- })
- }
- }
- console.log(dataArr);
- return dataArr
- }
- //轮播
- tools.loopShowTooltip(that.leftEcharts12, option, {
- interval: 1000,
- loopSeries: true,
- });
- //注册
- that.leftEcharts12.setOption(option);
- },
- leftEcharts17Fun () {
- let that = this;
- this.leftEcharts17 = echarts.init(this.$refs["leftEcharts17"]);
- var seriesOption = [
- {
- type: "liquidFill",
- radius: "40%",
- tooltip: {
- show: false
- },
- data: [left2[0]],
- center: [270, 260],
- backgroundStyle: {
- color: {
- type: "radial",
- x: 0.5,
- y: 0.5,
- r: 0.5,
- // 水球体颜色
- colorStops: [
- {
- offset: 0,
- color: "#010a11",
- },
- {
- offset: 0.75,
- // color: "#203852",
- color: "#1a2f45",
- },
- {
- offset: 1,
- // color: "#354e6d",
- color: "#2b405a",
- // color: "#314967",
- },
- ],
- globalCoord: false,
- },
- },
- outline: {
- borderDistance: 0,
- itemStyle: {
- borderWidth: 0,
- borderColor: {
- type: "linear",
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [
- ],
- globalCoord: false,
- },
- },
- },
- color: [
- {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0,
- color: '#237386',
- },
- {
- offset: 1,
- color: '#0078C8',
- },],
- },
- {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0,
- color: '#2F97A9',
- },
- {
- offset: 1,
- color: '#0078C8',
- },],
- },
- {
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0,
- color: '#48E0ED',
- },
- {
- offset: 1,
- color: '#0078C8',
- },],
- }
- ],
- label: {
- normal: {
- textStyle: {
- fontSize: '50',
- color: "#58E6F7", // x轴文字颜色
- },
- },
- },
- },
- ];
- option = {
- color: commonColor,
- title: {
- show: false,
- text: '',
- top: '48%',
- textAlign: "center",
- left: "49%",
- textStyle: {
- color: '#fff',
- fontSize: 18,
- fontWeight: '400'
- }
- },
- series: seriesOption
- }
- //注册
- that.leftEcharts17.setOption(option);
- },
- leftEcharts13Fun () {
- let that = this;
- this.leftEcharts13 = echarts.init(this.$refs["leftEcharts13"]);
- var totalData = [{
- name: '新建',
- value: 12,
- radio: 0.13
- }, {
- name: '续建',
- value: 52,
- radio: 0.01
- }];
- var data = [];
- for (var i = 0; i < totalData.length; i++) {
- data.push({
- value: totalData[i].value,
- name: totalData[i].name,
- itemStyle: {
- normal: {
- borderWidth: 8,
- shadowBlur: 0,
- borderColor: commonColor[i],
- shadowColor: commonColor[i]
- }
- }
- },
- {
- value: 5,
- name: '',
- tooltip: { show: false },
- itemStyle: {
- normal: {
- label: {
- show: false
- },
- labelLine: {
- show: false
- },
- color: 'rgba(0, 0, 0, 0)',
- borderColor: 'rgba(0, 0, 0, 0)',
- borderWidth: 0
- }
- }
- }
- );
- }
- var seriesOption = [
- {
- name: '',
- type: 'pie',
- clockWise: false,
- radius: [170, 160],
- center: [350, 250],
- hoverAnimation: false,
- itemStyle: {
- normal: {
- label: {
- show: false,
- }
- }
- },
- data: data
- },
- {
- type: 'pie',
- radius: [120, 120],
- center: [350, 250],
- zlevel: 3,
- silent: true,
- label: {
- normal: {
- show: false
- },
- },
- labelLine: {
- normal: {
- show: false
- }
- },
- data: _pie3()
- }
- ];
- option = {
- color: commonColor,
- title: {
- show: false,
- text: '35%',
- top: '40%',
- textAlign: "center",
- left: "50%",
- textStyle: {
- fontWeight: '600',
- fontFamily: 'Microsoft YaHei',
- fontSize: '50',
- color: "#58E6F7", // x轴文字颜色
- }
- },
- tooltip: {
- show: true,
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- confine: true,
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- formatter: (params) => {
- that.stageTitle = params.name
- that.stageTitle2 = params.percent + '%'
- return `${params.name}:<br/>金额:<b>${totalData[params.seriesIndex].radio}</b>亿<br/>数量:<b>${params.value}</b>个`
- }
- },
- legend: {
- icon: "circle",
- orient: 'vertical',
- data: ['新建', '续建'],
- right: 0,
- bottom: 0,
- align: 'left',
- textStyle: {
- color: '#FFF', // 文字的颜色
- fontSize: '20', // 文字字体大小
- },
- itemGap: 20
- },
- toolbox: {
- show: false
- },
- series: seriesOption
- }
- function _pie3 () {
- let dataArr = [];
- for (var i = 0; i < 1; i++) {
- if (i % 2 === 0) {
- dataArr.push({
- name: (i + 1).toString(),
- value: 25,
- tooltip: { show: false },
- itemStyle: {
- normal: {
- color: "#5A5DE0",
- borderWidth: 1,
- borderColor: "#5A5DE0"
- }
- }
- })
- } else {
- dataArr.push({
- name: (i + 1).toString(),
- value: 20,
- tooltip: { show: false },
- itemStyle: {
- normal: {
- color: "rgba(0,0,0,0)",
- borderWidth: 0,
- borderColor: "rgba(0,0,0,0)"
- }
- }
- })
- }
- }
- return dataArr
- }
- //轮播
- tools.loopShowTooltip(that.leftEcharts13, option, {
- interval: 1000,
- loopSeries: true,
- });
- //注册
- that.leftEcharts13.setOption(option);
- },
- leftEcharts14Fun () {
- let that = this;
- this.leftEcharts14 = echarts.init(this.$refs["leftEcharts14"]);
- that.leftEcharts14.on("showTip", (params) => {
- // 如果是7或者15并且满足防抖则切换
- if (
- (params.dataIndex == 5 || params.dataIndex == 11) &&
- that.echartC1Fd1
- ) {
- that.echartC1Fd1 = false;
- setTimeout(() => {
- option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6;
- option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6;
- that.leftEcharts14.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartC1Fd1 = true;
- }, 2000);
- }, 1900);
- // 如果是17表示到了最后一个,那么重新来一遍
- } else if (params.dataIndex == 17 && that.echartC1Fd1) {
- that.echartC1Fd1 = false;
- setTimeout(() => {
- option.dataZoom[0].endValue = 0;
- option.dataZoom[0].startValue = 5;
- that.leftEcharts14.setOption(option);
- // 防止勿刷新做的防抖
- setTimeout(() => {
- that.echartC1Fd1 = true;
- }, 2000);
- }, 1900);
- }
- });
- let option = {
- dataZoom: [
- {
- // start: 9,//默认为@
- // end: 100,//黑认认为1@0
- type: "slider",
- show: false,
- yAxisIndex: 0,
- handlesize: 0, //滑动条的 左右2个滑动条的大小
- startValue: 5, // 初始显示值
- endValue: 0, // 结束显示值
- height: 10, //组件高度
- left: "5%",
- right: "4%", //右边的距离
- bottom: "25%", //底边的距离
- borderColor: "#939",
- fillerColor: "#269cdb",
- borderRadius: 5,
- backgroundColor: "#33384b", //两边未选中的滑动条区域的额色
- showDataShadow: false, //是否显示数据阴影
- showDetail: false, //即拖拽时候是否显示详细数值信息
- truerealtime: true, //是否实时更新
- filterMode: "filter",
- },
- {
- type: "inside",
- show: true,
- start: 1,
- end: 100,
- zoomOnMouseWheel: false, //滚轮是否触发缩放
- moveOnMouseMove: false, //鼠标滚轮触发滚动
- },
- ],
- tooltip: {
- show: true,
- trigger: "axis",
- // formatter: (data) => {
- // return `${data[0].name
- // }<br /><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[0].color
- // }"></span> ${data[0].seriesName}:${that.numFormat(
- // data[0].value
- // )}亿<br/><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[1].color.colorStops[0].color
- // }"></span> ${data[1].seriesName}:${that.numFormat(
- // data[1].value
- // )}亿`;
- // },
- axisPointer: {
- // 坐标轴指示器,坐标轴触发有效
- type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
- },
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- },
- legend: {
- top: "top",
- textStyle: {
- color: "#fff",
- fontSize: 20,
- padding: [0, 20],
- },
- },
- grid: {
- left: '3%',
- right: '7%',
- bottom: '3%',
- containLabel: true
- },
- xAxis: {
- name: '亿',
- nameTextStyle: {
- color: '#fff',
- fontSize: 20,
- fontFamily: 'Microsoft YaHei'
- },
- type: 'value',
- axisLabel: {
- textStyle: {
- color: "white",
- fontSize: '20',
- fontFamily: 'Microsoft YaHei'
- },
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: "#68b4dd66",
- width: 1,
- type: "dashed",
- },
- },
- },
- yAxis: {
- type: 'category',
- axisTick: {
- lineStyle: {
- color: "#18416F",
- },
- },
- // y轴的字体颜色
- axisLabel: {
- textStyle: {
- color: "white",
- fontSize: '20',
- fontFamily: 'Microsoft YaHei'
- },
- },
- splitLine: {
- show: false,
- lineStyle: {
- color: "#68b4dd66",
- width: 1,
- type: "dashed",
- },
- },
- //y轴线的颜色以及宽度
- axisLine: {
- show: true,
- lineStyle: {
- color: "#1E5389",
- width: 1,
- type: "solid",
- },
- },
- nameTextStyle: {
- color: '#fff',
- fontSize: 20,
- fontFamily: 'Microsoft YaHei'
- },
- data: that.riskData1.x
- },
- series: [
- {
- name: '实际投资',
- type: 'bar',
- data: that.riskData1.y1,
- barGap: '-145%',
- barWidth: "15",
- zlevel: 10,
- itemStyle: {
- barBorderRadius: [0, 20, 20, 0],
- color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: '#0F357C',
- },
- {
- offset: 1,
- color: '#B78CFF',
- },
- ]),
- },
- },
- {
- name: '计划投资',
- type: 'bar',
- data: that.riskData1.y2,
- barWidth: "30",
- itemStyle: {
- barBorderRadius: [0, 50, 50, 0],
- borderColor: '#B78CFF',
- color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: '#0F357C80',
- },
- {
- offset: 1,
- color: '#10417F80',
- },
- ]),
- },
- }
- ]
- };
- //轮播
- tools.loopShowTooltip(that.leftEcharts14, option, {
- interval: 2000,
- loopSeries: true,
- });
- //注册
- that.leftEcharts14.setOption(option);
- },
- leftEcharts15Fun () {
- let that = this;
- this.leftEcharts15 = echarts.init(this.$refs["leftEcharts15"]);
- var xdata = ['煤炭和煤电', '煤电和新能源', '煤炭和化工', '煤炭和数字', '煤炭和降碳'];
- var data = statusList;
- option = {
- tooltip: {
- show: true,
- trigger: "axis",
- formatter: data => {
- return `${data[0].name}<br />投资金额:${data[0].value}亿<br />项目数量:${statusList[data[0].dataIndex].num}个`
- },
- axisPointer: {
- // 坐标轴指示器,坐标轴触发有效
- type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
- },
- backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
- borderColor: "rgba(50,50,50,0.7)",
- textStyle: {
- color: "#fff",
- fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
- fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
- fontSize: "28", // 文字字体大小
- },
- },
- grid: {
- left: "4%",
- right: "4%",
- bottom: "3%",
- top: "15%",
- containLabel: true
- },
- xAxis: {
- data: xdata,
- triggerEvent: true,
- axisTick: {
- show: false
- },
- axisLine: {
- show: false
- },
- axisLabel: {
- show: true,
- rotate: 0,
- interval: 0,
- textStyle: {
- padding: [14, 0, 0, 0],
- fontSize: 20,
- color: "rgba(255,255,255,1)"
- }
- }
- },
- yAxis: {
- name: "单位:个数",
- triggerEvent: true,
- nameTextStyle: {
- color: "#fff",
- fontSize: 16,
- padding: [0, 0, 10, -20]
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: 'rgba(255,255,255,.1)'
- }
- },
- axisTick: {
- show: false
- },
- axisLine: {
- show: true,
- lineStyle: {
- color: 'rgba(255,255,255,.1)'
- }
- },
- axisLabel: {
- show: true,
- textStyle: {
- color: "#fff",
- fontSize: 20
- }
- }
- },
- series: [
- {
- name: "数量",
- type: "pictorialBar",
- barCategoryGap: "60%",
- // symbol: 'path://M0,10 L10,10 L5,0 L0,10 z',
- symbol: "path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z",
- itemStyle: {
- normal: {
- //渐变色
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: "#01EAED"
- },
- {
- offset: 0.5,
- color: "#02C4DD"
- },
- {
- offset: 1,
- color: "#029ED9"
- }
- ])
- }
- },
- label: {
- normal: {
- show: false,
- position: "top",
- textStyle: {
- color: "#fff",
- fontSize: 20
- }
- }
- },
- data: data,
- }
- ]
- }
- //轮播
- tools.loopShowTooltip(that.leftEcharts15, option, {
- interval: 2000,
- loopSeries: true,
- });
- //注册
- that.leftEcharts15.setOption(option);
- },
- leftEcharts16Fun () {
- let that = this;
- this.leftEcharts16 = echarts.init(this.$refs["leftEcharts16"]);
- return
- // var ROOT_PATH = 'https://echarts.apache.org/examples';
- let option = {
- backgroundColor: "#00000000",
- globe: {
- globeRadius: 85,
- baseTexture: "./img/3D/world1.jpg",
- heightTexture: "./img/3D/world1.jpg",
- displacementScale: 0.04,
- shading: "realistic",
- // environment: './img/3D/world2.jpg',
- realisticMaterial: {
- roughness: 0.9,
- },
- postEffect: {
- enable: true,
- },
- light: {
- main: {
- intensity: 1,
- shadow: true,
- },
- },
- },
- };
- that.leftEcharts16.setOption(option);
- },
- // 回到中国地图
- backChina () {
- let that = this
- if (!this.mapShow) {
- return
- }
- this.mapShow = false
- that.leftEcharts12.dispose()
- that.leftEcharts14.dispose()
- that.leftEcharts9.dispose()
- that.leftEcharts15.dispose()
- that.leftEcharts13.dispose()
- that.shanxiMap.dispose()
- setTimeout(() => {
- that.chinaEchartsFun()
- that.leftEcharts16Fun()
- });
- },
- tipShow1Fun (e, name) {
- this.closeTap()
- this.titleUrl = e
- this.titleName = name
- this.$nextTick(() => {
- this.tipShow1 = true
- })
- },
- // 关闭所有弹窗的方法
- closeTap () {
- this.tipShow1 = false
- this.tipShow2 = false
- this.projectListTipShow = false
- },
- //点击弹窗左半部分
- popLeftClick () {
- if (this.titleUrl == '2.png') {
- this.titleUrl = '3.png'
- } else if (this.titleUrl == '7.png') {
- this.titleUrl = '8.png'
- } else if (this.titleUrl == '3.png') {
- this.titleUrl = '2.png'
- } else if (this.titleUrl == '8.png') {
- this.titleUrl = '7.png'
- } else if (this.titleUrl == '5.png') {
- this.titleUrl = '2.png'
- } else if (this.titleUrl == '10.png') {
- this.titleUrl = '7.png'
- }
- },
- //点击弹窗右半部分
- poprightClick () {
- if (this.titleUrl == '2.png') {
- this.titleUrl = '5.png'
- } else if (this.titleUrl == '7.png') {
- this.titleUrl = '10.png'
- } else if (this.titleUrl == '5.png') {
- this.titleUrl = '2.png'
- } else if (this.titleUrl == '10.png') {
- this.titleUrl = '7.png'
- } else if (this.titleUrl == '3.png') {
- this.titleUrl = '2.png'
- } else if (this.titleUrl == '8.png') {
- this.titleUrl = '7.png'
- }
- },
- // 单个柱状图的弹窗
- showChartLTipSingle (e, location, type, param, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType, num) {
- this.projectNum = num
- this.closeTap()
- this.titleName = e
- this.tipShow2 = true
- if (location == 'center') {
- this.centerPenetrateOne(type, param, 1, typeCTwo, paramCTwo, portType)
- }
- if (location == 'left') {
- this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, 1, type, param)
- }
- },
- // 根据key分组
- classify (arr, k) {
- let map = {};
- let myArr = [];
- for (let i = 0; i < arr.length; i++) {
- if (!map[arr[i][k]]) {
- let a = {}
- a[k] = arr[i][k]
- a.data = [arr[i]]
- myArr.push(a)
- map[arr[i][k]] = arr[i]
- } else {
- for (let j = 0; j < myArr.length; j++) {
- if (arr[i][k] === myArr[j][k]) {
- myArr[j].data.push(arr[i]);
- break
- }
- }
- }
- }
- return myArr
- },
- // 单个柱状图的弹窗
- leftEcharts18Fun (location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType) {
- let that = this
- this.leftEcharts18 = echarts.init(document.getElementById("leftEcharts18"));
- if (!(this.titleName == '项目数量' || this.titleName == '项目总数')) {
- common3 = common3.map((item) => Number(item) + 1)
- }
- let option = {
- grid: {
- top: 100,
- right: 0,
- left: 60,
- bottom: 70,
- },
- tooltip: {
- show: true,
- trigger: "axis",
- axisPointer: {
- // 坐标轴指示器,坐标轴触发有效
- type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
- },
- formatter: data => {
- if (this.titleName == '项目数量' || this.titleName == '项目总数') {
- return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(data[0].value)}个`
- } else {
- return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(that.numSub(data[0].value, 1))}亿`
- }
- },
- textStyle: {
- color: '#FFF', // 文字的颜色
- fontSize: '20', // 文字字体大小
- fontFamily: 'Microsoft YaHei'
- },
- },
- xAxis: {
- data: commonCompany,
- axisTick: {
- show: false,
- },
- // x轴的字体颜色
- axisLabel: {
- rotate: 40,
- textStyle: {
- color: "white",
- fontSize: '20',
- fontFamily: 'Microsoft YaHei'
- },
- },
- //y轴线的颜色以及宽度
- axisLine: {
- show: true,
- lineStyle: {
- color: "#1E5389",
- width: 1,
- type: "solid",
- },
- },
- },
- yAxis: {
- minInterval: 1,
- // onZero:true,
- name: (this.titleName == '项目数量' || this.titleName == '项目总数') ? '个' : '亿',
- nameTextStyle: {//y轴上方单位的颜色
- color: '#fff',
- fontSize: '20',
- fontFamily: 'Microsoft YaHei'
- },
- axisTick: {
- lineStyle: {
- color: "#18416F",
- },
- },
- // y轴的字体颜色
- axisLabel: {
- textStyle: {
- color: "white",
- fontSize: '20'
- },
- formatter: function (value) {
- if (that.titleName == '项目数量' || that.titleName == '项目总数') {
- return value
- } else {
- return value === 1 ? 0 : value
- }
- }
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: '#68b4dd66',
- type: 'dashed',
- },
- },
- //y轴线的颜色以及宽度
- axisLine: {
- show: true,
- lineStyle: {
- color: "#1E5389",
- width: 1,
- type: "solid",
- },
- },
- },
- series: [
- {
- name: (this.titleName == '项目数量' || this.titleName == '项目总数') ? '总数量' : "总额度",
- type: "bar",
- data: common3,
- showBackground: false,
- backgroundStyle: {
- color: "#18416F",
- },
- barWidth: "30%",
- itemStyle: {
- color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
- {
- offset: 0,
- color: '#082550',
- },
- {
- offset: 1,
- color: '#957DFF',
- },
- ]),
- },
- },
- ],
- legend: {
- data: (this.titleName == '项目数量' || this.titleName == '项目总数') ? ["总数量"] : ["总额度"],
- textStyle: {
- // 图列内容样式
- color: "#fff", // 字体颜色
- fontSize: "20",
- fontFamily: 'Microsoft YaHei'
- },
- right: 'center',
- y: 40,
- // 小图标的宽高
- },
- };
- if (!(this.titleName == '项目数量' || this.titleName == '项目总数')) {
- option.yAxis.min = 1
- option.yAxis.type = 'log'
- option.yAxis.logBase = 5
- }
- tools.loopShowTooltip(this.myChartTip1, option, {
- interval: 2000,
- loopSeries: true,
- })
- that.leftEcharts18.on('click', function (param) {
- if (location == 'right') {
- that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
- } else if (location == 'left') {
- that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
- } else if (location == 'center') {
- that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType)
- }
- })
- that.leftEcharts18.setOption(option);
- },
- // 去项目看板
- goLookBoard (e, f) {
- if (f) {
- this.boardType = f
- }
- this.boardUrl = `http://${this.goUrl}/ierp/accessTokenLogin.do?access_token=${this.access_token}&redirect=http://${this.goUrl}/ierp/index.html?formId=mdnb_threetoproject&prj=${this.findProjectCode(e.row[0], e.row[1], this.boardType, e)}`
- this.boardTipShow = true
- console.log(this.boardUrl, '跳转去的项目看板地址')
- },
- },
- });
|