index.js 259 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969
  1. let app = new Vue({
  2. el: "#app",
  3. data () {
  4. return {
  5. count: 0, //重点项目两线指标轮到哪个
  6. list: [], //重点项目两线指标数组
  7. countType: 0, //重点项目两线指标数组
  8. mapShow: false, // false为中国地图 true为山西地图
  9. titleUrl: '',// 标题弹窗显示的内容
  10. titleName: '', // 弹窗的名字显示
  11. left12Bottom: [], // 重点项目两线指标x轴
  12. leftEcharts1: "",
  13. leftEcharts2: "",
  14. leftEcharts3: "",
  15. leftEcharts4: "",
  16. leftEcharts5: "",
  17. leftEcharts6: "",
  18. leftEcharts7: "",
  19. leftEcharts8: "",
  20. leftEcharts9: "",
  21. leftEcharts10: "",
  22. leftEcharts11: "",
  23. leftEcharts12: '',
  24. leftEcharts13: '',
  25. leftEcharts14: '',
  26. leftEcharts15: '',
  27. changeLine: true, //双柱状图弹窗上边是折线还是柱状
  28. rightAdd: {},// 左边新增筛选参数
  29. lineCommonCompany: [], //双柱状图弹窗上面的折线图x轴
  30. leftEcharts18: '', //单个柱状图弹窗
  31. tipShow1: false, // 标题弹窗显示
  32. tipShow2: false, // 单柱状图弹窗
  33. tipShow3: false, // 单柱状图弹窗
  34. projectListTipShow: false,// 项目列表弹窗显示
  35. boardTipShow: false, // 项目看板弹窗专用
  36. stageTitle: '', // 管理类型分析圆环图内容
  37. stageTitle2: '', // 管理类型分析圆环图内容
  38. stageTitle3: '', // 投资产业分析圆环图内容
  39. stageTitle4: '', // 投资产业分析圆环图内容
  40. echartR2Fd: true, // 投后进度成本偏差防抖
  41. leftEcharts16: '', // 中国地图背景地球
  42. rightEcharts1: '', // 投后进度成本偏差
  43. shanxiMap: "", // 山西地图
  44. chinaMap: '', // 中国地图
  45. industryProportion: 1, // 主辅业占比轮播
  46. industryLayout: 0, //产业布局分析
  47. time1: "", // 4秒定时器
  48. time2: "", // 针对投前产业布局分析的定时器
  49. projectNum: 0, // 项目列表弹窗顶部类目筛选条件
  50. projectNum2: 0,//项目阶段分析指示器
  51. projectNum2Stop: true, //项目阶段分析停止循环
  52. commonUrl: '',//获取当前服务器地址
  53. radarNum: '', // 雷达图样式
  54. projecList: [ //项目阶段分析内容距离 特别监管15~35 备案类50~70
  55. [
  56. { name: '特别监管', value: '0', value2: '0', top: 0 },
  57. { name: '备案', value: '0', value2: '0', top: 0 },
  58. { name: '项目储备', distance: '250px' }
  59. ],
  60. [
  61. { name: '特别监管', value: '0', value2: '0', top: 0 },
  62. { name: '备案', value: '0', value2: '0', top: 0 },
  63. { name: '项目立项', distance: '370px' }
  64. ],
  65. [
  66. { name: '特别监管', value: '0', value2: '0', top: 0 },
  67. { name: '备案', value: '0', value2: '0', top: 0 },
  68. { name: '可研论证', distance: '490px' }
  69. ],
  70. [
  71. { name: '特别监管', value: '0', value2: '0', top: 0 },
  72. { name: '备案', value: '0', value2: '0', top: 0 },
  73. { name: '投资决策', distance: '610px' }
  74. ],
  75. [
  76. { name: '特别监管', value: '0', value2: '0', top: 0 },
  77. { name: '备案', value: '0', value2: '0', top: 0 },
  78. { name: '项目储备', distance: '350px' }
  79. ],
  80. [
  81. { name: '特别监管', value: '0', value2: '0', top: 0 },
  82. { name: '备案', value: '0', value2: '0', top: 0 },
  83. { name: '项目立项', distance: '470px' }
  84. ],
  85. [
  86. { name: '特别监管', value: '0', value2: '0', top: 0 },
  87. { name: '备案', value: '0', value2: '0', top: 0 },
  88. { name: '可研论证', distance: '590px' }
  89. ],
  90. [
  91. { name: '特别监管', value: '0', value2: '0', top: 0 },
  92. { name: '备案', value: '0', value2: '0', top: 0 },
  93. { name: '投资决策', distance: '710px' }
  94. ],
  95. ],
  96. year: '', // 选择的年份
  97. boardUrl: '', // 跳转路径
  98. pollList: [], // 年份有哪些呢
  99. pullShow: false, // 选择年份弹窗
  100. config6: listPop,
  101. originalConfig6: [], // 原始的项目列表数组
  102. centerOriginalConfig6: '', // 中间原始的项目列表数组
  103. rightOriginalConfig6: '',// 右边原始的项目列表数组
  104. boardType: '', // 哪边的项目看板
  105. storageRecordConfig: {
  106. waitTime: "10000",
  107. hoverPause: true,
  108. header: ["企业集团", "项目名称", "投资金额"],
  109. headerHeight: 80,
  110. headerBGC: '#69C0FF20',
  111. oddRowBGC: '#011e4800',
  112. evenRowBGC: '#011e4800',
  113. // oddRowBGC: '#05507b33',
  114. rowNum: 6,
  115. columnWidth: [150, 450, 150],
  116. align: ["center", "center", "center"],
  117. data: [
  118. ['华阳新材', '华钠铜(碳)年产万吨级钠离子电池正负极材料项目', '11.42亿'],
  119. ['太重集团', '太重退城入园智能高端装备生产线升级改造项目', '18.11亿'],
  120. ['太重集团', '太重智能高端液压挖掘机项目', '17.82亿'],
  121. ['太重集团', '太重(大同)高端起重机产业基地二期项目', '1.62亿'],
  122. ['太重集团', '太重液压挖掘机四轮一带项目', '4.00亿'],
  123. ['太重集团', '太重中大型工程起重机智能制造项目', '8.30亿'],
  124. ['太重集团', '太重高端工程机械齿轮箱智能制造项目', '3.55亿'],
  125. ['云时代', '侯马北铜年处理铜精矿150万吨综合回收项目', '27.70亿'],
  126. ['交控集团', '山西固废资源化利用交通科技园项目', '2.00亿'],
  127. ['云时代', '北方铜业铜矿峪矿园子沟尾矿库项目', '16.73亿'],
  128. ['山西建投', '山西综改示范区潇河产业园区建筑垃圾资源化处理项目', '3.90亿'],
  129. ['云时代', '山西北铜高性能压延铜带箔和覆铜板项目', '23.96亿'],
  130. ['大地控股', '大地控股忻州新店年产800万吨精品砂石骨料项目', '8.70亿'],
  131. ['山西建投', '山西建投晋西北建筑产业园区项目', '6.71亿'],
  132. ['山西建投', '山西建投长治建筑产业园区一期项目', '4.98亿'],
  133. ['汾酒集团', '汾青基地2万吨原酒酿造一期项目', '14.80亿'],
  134. ['文旅集团', '忻州清凉湾温泉康养项目', '9.34亿'],
  135. ['交控集团', '山西路桥数字化交通产业园(南区)项目', '32.10亿'],
  136. ['山西建投', '山西农谷智慧冷链物流园项目', '5.49亿'],
  137. ['华新燃气', '大同液化调峰储备集散中心二期项目', '1.50亿'],
  138. ['神农科技', '天镇万头奶牛智慧牧场项目', '5.67亿'],
  139. ['晋能控股', '阳泉郊区西上庄煤矿项目', '52.56亿'],
  140. ['华阳新材', '和顺泊里矿井及选煤厂项目', '67.00亿'],
  141. ['华阳新材', '寿阳七元煤矿项目', '50.77亿'],
  142. ['山西焦煤', '沁源中峪煤矿项目', '87.69亿'],
  143. ['晋能控股', '晋城兴唐车寨煤矿及选煤厂项目', '27.52亿'],
  144. ['晋能控股', '阳城龙湾矿井及选煤厂项目', '69.28亿'],
  145. ['晋能控股', '沁水东大矿井及选煤厂项目', '62.46亿'],
  146. ['晋能控股', '沁水郑庄矿井及选煤厂项目', '83.06亿'],
  147. ['山西焦煤', '乡宁谭坪煤矿一期项目', '56.62亿'],
  148. ['山西焦煤', '灵石灵北煤矿及选煤厂项目', '66.27亿'],
  149. ['晋能控股', '晋控电力同热三期2x100万千瓦“上大压小”煤电项目', '72.67亿'],
  150. ['山西焦煤', '山煤集团河曲2x35万千万低热值煤发电项目', '33.30亿'],
  151. ['华阳新材', '西上庄低热值煤发电项目', '53.85亿'],
  152. ['华新燃气', '阳城煤层气集输中心(町店配气站二期扩容改造)项目', '2.50亿'],
  153. ['交控集团', '高速公路充电桩建设项目', '3.10亿'],
  154. ['交控集团', '三个一号旅游公路和“四好农村路”沿线充电桩建设项目', '7.10亿'],
  155. ['山西建投', '山西省静态交通大数据平台项目', '1.00亿'],
  156. ['华远陆港', '集宁经大同至原平铁路项目', '248.21亿'],
  157. ['华远陆港', '雄安新区至忻州高速铁路山西段项目', '192.06亿'],
  158. ['华远陆港', '阳涉铁路开通客运服务项目', '6.60亿'],
  159. ['交控集团', '昔阳(晋冀界)至榆次高速公路项目', '209.86亿'],
  160. ['交控集团', '青银二广高速公路太原联络线项目', '72.88亿'],
  161. ['交控集团', '晋阳高速公路改扩建工程', '62.02亿'],
  162. ['交控集团', '青兰国家高速公路长治至延安联络线(G2211)山西境黎城至霍州段项目', '231.10亿'],
  163. ['交控集团', '汾阳至石楼高速公路项目', '117.14亿'],
  164. ['交控集团', '呼北国家高速公路离石至隰县段项目', '104.90亿'],
  165. ['交控集团', '临汾至沁水高速公路临汾至浮山段项目', '19.70亿'],
  166. ['交控集团', 'G108线重点路段新建改建工程(含2个子项目)', '130.19亿'],
  167. ['交控集团', '国道241、省道岚马线汾河水库段改线工程', '41.71'],
  168. ['交控集团', 'G241阳方口至朔州段和G336朔州至平鲁段公路改扩建工程PPP项目', '16.38亿'],
  169. ['交控集团', 'G336线应县罗庄至朔城区东榆林改扩建工程', '23.17亿'],
  170. ['航产集团', '太原武宿(国际)机场三期改扩建项目', '239.28亿'],
  171. ['航产集团', '太原武宿(国际)机场三期改扩建综合交通中心配套项目', '7.62亿'],
  172. ['山西建投', '大盂产业新城标准化厂房基础设施一期项目', '11.63亿'],
  173. ['水控集团', '滹沱河供水工程', '12.80亿'],
  174. ['水控集团', '全省县域水网及城乡供水一体化首批项目', '240.00亿'],
  175. ['水控集团', '小浪底引黄(灌区、工业及城镇生活供水)工程', '27.30亿'],
  176. ['水控集团', '阳泉龙华口调水工程', '20.30亿'],
  177. ['水控集团', '万家寨引黄北干支线工程', '15.63亿'],
  178. ['水控集团', '万家寨引黄入晋总干线南干线泵站二期扩机项目', '15.00亿'],
  179. ['交控集团', '智慧交通山西省实验室项目', '1.20亿'],
  180. ['交控集团', '山西隧道与地下工程研究中心项目', '1.50亿'],
  181. ['华舰体育', '山西体育职业学院新校区项目', '12.76亿'],
  182. ['华舰体育', '屯留沙家庄航空产教融合实训基地项目', '2.08亿'],
  183. ['太重集团', '太重智能高端装备产业园区基础设施及厂房配套项目', '55.87亿'],
  184. ['交控集团', '山西综改示范区中小企业产业园一期项目', '13.70亿'],
  185. ['山西焦煤', '临县三交一号煤矿项目', '80.53亿'],
  186. ['山西焦煤', '中阳吴家峁矿井及选煤厂项目', '60.21亿'],
  187. ['华阳新材', '华阳云冈千吨级高性能碳纤维一期示范项目', '6.40亿']
  188. ],
  189. },
  190. storageRecordConfig2: {
  191. header: ['企业集团', '项目名称', '项目阶段', '投资金额'],
  192. headerBGC: '#69C0FF20',
  193. oddRowBGC: '#011e4800',
  194. evenRowBGC: '#69C0FF20',
  195. headerHeight: '80',
  196. rowNum: 6,
  197. columnWidth: ['100', '350', '100', '100'],
  198. align: ['center', 'center', 'center'],
  199. data: []
  200. },
  201. meansList: [
  202. {
  203. label: "初步设计",
  204. value: "0",
  205. projectStepCode: '01'
  206. },
  207. {
  208. label: "详细设计",
  209. value: "0",
  210. projectStepCode: '02'
  211. },
  212. {
  213. label: "开工",
  214. value: "0",
  215. projectStepCode: '03'
  216. },
  217. {
  218. label: "竣工",
  219. value: "0",
  220. projectStepCode: '04'
  221. },
  222. {
  223. label: "验收",
  224. value: "0",
  225. projectStepCode: '05'
  226. },
  227. {
  228. label: "结算",
  229. value: "0",
  230. projectStepCode: '06'
  231. },
  232. ],
  233. stockRightList: [
  234. {
  235. label: "前期准备",
  236. value: "0",
  237. projectStepCode: '07'
  238. },
  239. {
  240. label: "变更登记",
  241. value: "0",
  242. projectStepCode: '08'
  243. },
  244. ],
  245. costList: [
  246. {
  247. num: 160,
  248. value: 500,
  249. status: "正偏差",
  250. type: 1,
  251. projectStepCode: '09'
  252. },
  253. {
  254. num: 28,
  255. value: 264,
  256. status: "容差内",
  257. type: 2,
  258. projectStepCode: '10'
  259. },
  260. {
  261. num: 103,
  262. value: 182,
  263. status: "负偏差",
  264. type: 3,
  265. projectStepCode: '11'
  266. },
  267. ],
  268. investData: {
  269. investList: [
  270. {
  271. name: "",
  272. yse: "",
  273. yqhte: "",
  274. czrde: "",
  275. jse: "",
  276. fke: "",
  277. url: "./img/logos/logo1.png",
  278. },
  279. {
  280. name: "",
  281. yse: "",
  282. yqhte: "",
  283. czrde: "",
  284. jse: "",
  285. fke: "",
  286. url: "./img/logos/logo2.png",
  287. },
  288. {
  289. name: "",
  290. yse: "",
  291. yqhte: "",
  292. czrde: "",
  293. jse: "",
  294. fke: "",
  295. url: "./img/logos/logo3.png",
  296. },
  297. {
  298. name: "",
  299. yse: "",
  300. yqhte: "",
  301. czrde: "",
  302. jse: "",
  303. fke: "",
  304. url: "./img/logos/logo4.png",
  305. },
  306. {
  307. name: "",
  308. yse: "",
  309. yqhte: "",
  310. czrde: "",
  311. jse: "",
  312. fke: "",
  313. url: "./img/logos/logo5.png",
  314. },
  315. {
  316. name: "",
  317. yse: "",
  318. yqhte: "",
  319. czrde: "",
  320. jse: "",
  321. fke: "",
  322. url: "./img/logos/logo6.png",
  323. },
  324. {
  325. name: "",
  326. yse: "",
  327. yqhte: "",
  328. czrde: "",
  329. jse: "",
  330. fke: "",
  331. url: "./img/logos/logo7.png",
  332. },
  333. {
  334. name: "",
  335. yse: "",
  336. yqhte: "",
  337. czrde: "",
  338. jse: "",
  339. fke: "",
  340. url: "./img/logos/logo8.png",
  341. },
  342. {
  343. name: "",
  344. yse: "",
  345. yqhte: "",
  346. czrde: "",
  347. jse: "",
  348. fke: "",
  349. url: "./img/logos/logo9.png",
  350. },
  351. {
  352. name: "太重集团",
  353. yse: "26.79",
  354. yqhte: "9.64",
  355. czrde: "121.59",
  356. jse: "120.13",
  357. fke: "36.4",
  358. url: "./img/logos/logo10.png",
  359. },
  360. {
  361. name: "国际能源",
  362. yse: "46.99",
  363. yqhte: "50.89",
  364. czrde: "46.99",
  365. jse: "50.89",
  366. fke: "46.99",
  367. url: "./img/logos/logo11.png",
  368. },
  369. {
  370. name: "华远陆港",
  371. yse: "26.79",
  372. yqhte: "9.64",
  373. czrde: "121.59",
  374. jse: "120.13",
  375. fke: "36.4",
  376. url: "./img/logos/logo12.png",
  377. },
  378. {
  379. name: "水控集团",
  380. yse: "41.09",
  381. yqhte: "42.67",
  382. czrde: "41.09",
  383. jse: "42.67",
  384. fke: "41.09",
  385. url: "./img/logos/logo13.png",
  386. },
  387. {
  388. name: "文旅集团",
  389. yse: "26.79",
  390. yqhte: "9.64",
  391. czrde: "121.59",
  392. jse: "120.13",
  393. fke: "36.4",
  394. url: "./img/logos/logo14.png",
  395. },
  396. {
  397. name: "交控集团",
  398. yse: "47.05",
  399. yqhte: "23.93",
  400. czrde: "47.05",
  401. jse: "23.93",
  402. fke: "47.05",
  403. url: "./img/logos/logo15.png",
  404. },
  405. {
  406. name: "航产集团",
  407. yse: "26.79",
  408. yqhte: "9.64",
  409. czrde: "121.59",
  410. jse: "120.13",
  411. fke: "36.4",
  412. url: "./img/logos/logo16.png",
  413. },
  414. {
  415. name: "山西建投",
  416. yse: "14.76",
  417. yqhte: "5.84",
  418. czrde: "14.76",
  419. jse: "120.13",
  420. fke: "5.84",
  421. url: "./img/logos/logo17.png",
  422. },
  423. {
  424. name: "汾酒集团",
  425. yse: "26.79",
  426. yqhte: "9.64",
  427. czrde: "121.59",
  428. jse: "120.13",
  429. fke: "36.4",
  430. url: "./img/logos/logo18.png",
  431. },
  432. ],
  433. },
  434. riskData: {
  435. x: [
  436. { name: "大地控股", value: [14, 13, 6, 15, 13, 4] },
  437. { name: "云时代", value: [15, 12, 12, 10, 24, 6] },
  438. { name: "华舰体育", value: [14, 13, 6, 15, 13, 4] },
  439. { name: "神农科技", value: [14, 13, 6, 17, 13, 4] },
  440. { name: "山西焦煤", value: [14, 13, 6, 15, 13, 4] },
  441. { name: "晋能控股", value: [14, 13, 6, 17, 13, 4] },
  442. { name: "华阳新材", value: [14, 13, 6, 15, 13, 4] },
  443. { name: "潞安化工", value: [14, 13, 6, 15, 13, 4] },
  444. { name: "华新燃气", value: [14, 13, 6, 17, 13, 4] },
  445. { name: "太重集团", value: [14, 13, 6, 15, 13, 4] },
  446. { name: "国际能源", value: [14, 13, 6, 15, 13, 4] },
  447. { name: "华远陆港", value: [14, 13, 6, 15, 17, 4] },
  448. { name: "水控集团", value: [14, 13, 6, 15, 13, 4] },
  449. { name: "文旅集团", value: [14, 13, 6, 15, 13, 4] },
  450. { name: "交控集团", value: [14, 13, 6, 15, 17, 4] },
  451. { name: "航产集团", value: [14, 13, 6, 15, 13, 4] },
  452. { name: "山西建投", value: [14, 13, 6, 15, 13, 24] },
  453. { name: "汾酒集团", value: [14, 13, 6, 15, 13, 4] },
  454. ],
  455. y1: [
  456. 12, 11, 20, 22, 12, 34, 32, 12, 23, 23, 12, 13, 12, 11,
  457. 20, 22, 12, 34,
  458. ],
  459. y2: [
  460. 12, 13, 11, 25, 14, 36, 22, 18, 26, 13, 16, 17, 16, 11,
  461. 26, 26, 19, 37,
  462. ],
  463. y3: [
  464. 16, 21, 29, 24, 22, 45, 23, 23, 33, 34, 23, 43, 20, 10,
  465. 20, 20, 23, 45,
  466. ],
  467. },
  468. inner: 0,
  469. innerDeg: 0,
  470. timer: null, // 两秒定时器
  471. witchs: 0,
  472. topIndex: 0,
  473. echartR1Fd1: true,
  474. echartR2Fd2: true,
  475. echartC1Fd1: true,
  476. r3Index: 0,
  477. riskData1: {
  478. x: ["山西焦煤", "晋能控股", "华阳新材", "潞安化工", "华新燃气", "太重集团", "国际能源", "华远陆港", "水控集团", "文旅集团", "交控集团", '航产集团', '山西建投', '汾酒集团', '大地控股', '云时代', '华舰体育', '神农科技'],
  479. y1: [
  480. 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53
  481. ],
  482. y2: [
  483. 110, 41, 35, 81, 56, 10, 9, 8, 7, 6, 5, 4, 6, 7, 8,
  484. 9, 4, 3,
  485. ],
  486. y3: [
  487. 130, 76, 67, 120, 89, 111, 87, 123, 66, 65, 65, 98, 230, 78, 99, 130,
  488. 68, 98,
  489. ],
  490. y4: [
  491. 90, 50, 50, 50, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 51, 52,
  492. 53, 54,
  493. ],
  494. y5: [
  495. 33, 32, 31, 31, 32, 33, 34, 34, 35, 36, 37, 38, 39, 33, 34,
  496. 35, 36, 37,
  497. ],
  498. }
  499. };
  500. },
  501. created () {
  502. },
  503. beforeDestroy () {
  504. clearInterval(this.timer);
  505. clearInterval(this.time1);
  506. clearInterval(this.time2);
  507. },
  508. mounted () {
  509. this.getUrlParams()
  510. this.countYear()
  511. },
  512. methods: {
  513. // 计算项目阶段分析对应区间
  514. countSection () {
  515. let topList = []
  516. let bottomList = []
  517. this.projecList.forEach(item => {
  518. topList.push(item[0].value2)
  519. bottomList.push(item[1].value2)
  520. })
  521. let minTop = Math.min(...topList)
  522. let maxTop = Math.max(...topList)
  523. let minTop2 = Math.min(...bottomList)
  524. let maxTop2 = Math.max(...bottomList)
  525. let res = ''
  526. let res2 = ''
  527. this.projecList.forEach(item => {
  528. res = (Number(item[0].value2) - minTop) / (maxTop - minTop) * 20 + 15
  529. res2 = (Number(item[1].value2) - minTop2) / (maxTop2 - minTop2) * 20 + 50
  530. this.$set(item[0], 'top', Math.round(50 - res))
  531. this.$set(item[1], 'top', Math.round(120 - res2))
  532. })
  533. },
  534. // 获取地址栏参数
  535. getUrlParams (id) {
  536. let url = window.location.href
  537. this.commonUrl = window.location.href.split('/')
  538. this.commonUrl.pop()
  539. this.commonUrl = this.commonUrl.join('/')
  540. // 通过 ? 分割获取后面的参数字符串
  541. let urlStr = url.split('?')[1]
  542. if (!urlStr) {
  543. this.comeIn()
  544. return
  545. }
  546. // 创建空对象存储参数
  547. let obj = {};
  548. // 再通过 & 将每一个参数单独分割出来
  549. let paramsArr = urlStr.split('&')
  550. for (let i = 0, len = paramsArr.length; i < len; i++) {
  551. // 再通过 = 将每一个参数分割为 key:value 的形式
  552. let arr = paramsArr[i].split('=')
  553. obj[arr[0]] = arr[1];
  554. }
  555. if (obj.model) {
  556. obj.model == 'A' || obj.model == 'a' ? this.mockData = false : this.mockData = true
  557. }
  558. obj.env && (this.env = obj.env)
  559. 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'
  560. this.accountId = obj.accountid
  561. this.comeIn()
  562. },
  563. // 计算展示的年份
  564. countYear () {
  565. this.year = new Date().getFullYear()
  566. for (i = 2022; true; i++) {
  567. if (i == this.year + 3) {
  568. this.pollList.push(i)
  569. return
  570. } else {
  571. this.pollList.push(i)
  572. }
  573. }
  574. },
  575. comeIn () {
  576. let that = this
  577. this.time4s();
  578. this.timeNs();
  579. this.filterLpData();
  580. this.lpRotate();
  581. this.getAppToken()
  582. setTimeout(() => {
  583. if (that.mapShow) {
  584. // that.leftEcharts12Fun()
  585. // that.leftEcharts14Fun()
  586. that.leftEcharts9Fun()
  587. // that.leftEcharts15Fun()
  588. that.leftEcharts13Fun()
  589. that.shanxiEchartsFun()
  590. } else {
  591. // that.chinaEchartsFun()
  592. // that.leftEcharts16Fun() // 中国地图背景地球
  593. }
  594. this.changeTopColor()
  595. // this.leftEcharts1Fun();
  596. // this.leftEcharts2Fun();
  597. // this.leftEcharts3Fun();
  598. // this.leftEcharts4Fun();
  599. // this.leftEcharts5Fun();
  600. // this.leftEcharts6Fun();
  601. // this.leftEcharts7Fun();
  602. // this.leftEcharts8Fun();
  603. // this.leftEcharts10Fun();
  604. // this.leftEcharts11Fun();
  605. this.rightEcharts1Fun();
  606. this.initChartR2();
  607. this.initChartR4();
  608. });
  609. },
  610. // 获取token
  611. getAppToken () {
  612. let value = {}
  613. // dev环境
  614. if (this.env == 'sit' || this.env == 'SIT') {
  615. // SIT环境
  616. value = {
  617. "appId": "68dp",
  618. "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
  619. "tenantid": "",
  620. "language": "zh_CN"
  621. }
  622. } else if (this.env == 'uat' || this.env == 'UAT') {
  623. // UAT环境
  624. value = {
  625. "appId": "68dp",
  626. "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
  627. "tenantid": "",
  628. "language": "zh_CN"
  629. }
  630. } else if (this.env == 'preprd' || this.env == 'PREPRD') {
  631. // 预生产环境
  632. value = {
  633. "appId": "68dp",
  634. "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
  635. "tenantid": "",
  636. "language": "zh_CN"
  637. }
  638. } else {
  639. // 生产环境
  640. value = {
  641. "appId": "68dp",
  642. "appSecret": "9ErhY^O{n?@Pc#eb7HYX",
  643. "tenantid": "",
  644. "language": "zh_CN"
  645. }
  646. }
  647. value.accountId = this.accountId
  648. post('/ierp/api/getAppToken.do', value).then(res => {
  649. this.app_token = res.data.app_token
  650. this.getAccessToken()
  651. })
  652. },
  653. // 获取AccessToken
  654. getAccessToken () {
  655. let value = {}
  656. if (this.env == 'sit' || this.env == 'SIT') {
  657. // SIT环境
  658. value = {
  659. "user": "15835113238", // 新
  660. "apptoken": this.app_token, //应用令牌
  661. "tenantid": "", //租户id
  662. "usertype": "Mobile"
  663. }
  664. } else if (this.env == 'uat' || this.env == 'UAT') {
  665. // UAT环境
  666. value = {
  667. "user": "15835113238", // 新
  668. "apptoken": this.app_token, //应用令牌
  669. "tenantid": "", //租户id
  670. "usertype": "Mobile"
  671. }
  672. } else if (this.env == 'preprd' || this.env == 'PREPRD') {
  673. // 预生产环境
  674. value = {
  675. "user": "15835113238", // 新
  676. "apptoken": this.app_token, //应用令牌
  677. "tenantid": "", //租户id
  678. "usertype": "Mobile"
  679. }
  680. } else {
  681. // 生产环境
  682. value = {
  683. "user": "15835113238", // 新
  684. "apptoken": this.app_token, //应用令牌
  685. "tenantid": "", //租户id
  686. "usertype": "Mobile"
  687. }
  688. }
  689. value.accountId = this.accountId
  690. post('/ierp/api/login.do', value).then(res => {
  691. this.access_token = res.data.access_token
  692. this.getOrg()
  693. })
  694. },
  695. getOrg () {
  696. return new Promise((resolve, err) => {
  697. let value = {
  698. access_token: this.access_token,
  699. }
  700. get('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getOrgName', value).then(res => {
  701. this.commonCompanyAll = res.data
  702. commonCompany = res.data.map(item => item.simplename)
  703. // 左边
  704. this.getDate1()
  705. this.getDate2()
  706. this.getDate3()
  707. this.getDate4()
  708. this.getDate5()
  709. this.getDate6()
  710. // // // 右边
  711. this.getDate7()
  712. this.getDate8()
  713. this.getDate9()
  714. // this.getDate10()
  715. // // this.getDate11() // 右下A
  716. // this.getDate12() // 右下B
  717. // // 中间
  718. this.getDate14()
  719. resolve(1);
  720. })
  721. });
  722. },
  723. // 获取左边企业额度分析
  724. getDate1 () {
  725. let that = this
  726. return new Promise((resolve, err) => {
  727. let value = {
  728. access_token: this.access_token,
  729. "data": {
  730. "mdnb_combofield": this.mockData ? 'B' : 'A',
  731. "mdnb_datefield": this.year + '-01-01',
  732. },
  733. pageSize: 1000
  734. }
  735. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqqyedfx', value).then(res => {
  736. if (res.data.rows.length > 0) {
  737. let dataList = res.data.rows[0].entryentity
  738. left3 = [[], [], []]
  739. dataList.forEach(item => {
  740. // 已用额度
  741. left3[0].push(that.yuanChange(item.mdnb_amountfield26))
  742. // 剩余额度
  743. left3[1].push(that.yuanChange(item.mdnb_amountfield27))
  744. // 总额度
  745. left3[2].push(that.yuanChange(item.mdnb_amountfield25))
  746. })
  747. this.leftEcharts10Fun();
  748. }
  749. resolve(1);
  750. })
  751. });
  752. },
  753. // 获取左边投资计划分析
  754. getDate2 () {
  755. let that = this
  756. return new Promise((resolve, err) => {
  757. let value = {
  758. access_token: this.access_token,
  759. "data": {
  760. "mdnb_combofield": this.mockData ? 'B' : 'A',
  761. "mdnb_datefield": this.year + '-01-01',
  762. },
  763. pageSize: 1000
  764. }
  765. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqtzjhfx', value).then(res => {
  766. if (res.data.rows.length > 0) {
  767. let dataList = res.data.rows[0]
  768. left4 = []
  769. left4[0] = dataList.mdnb_amountfield7
  770. left4[1] = dataList.mdnb_amountfield13
  771. left4[2] = dataList.mdnb_amountfield23
  772. left4[3] = dataList.mdnb_amountfield33
  773. left4[4] = dataList.mdnb_integerfield
  774. left5[0].y = that.yuanChange(dataList.mdnb_amountfield9)
  775. left5[0].num = dataList.mdnb_integerfield15
  776. left5[1].y = that.yuanChange(dataList.mdnb_amountfield43)
  777. left5[1].num = dataList.mdnb_integerfield14
  778. left6[0].y = that.yuanChange(dataList.mdnb_amountfield15)
  779. left6[0].num = dataList.mdnb_integerfield16
  780. left6[1].y = that.yuanChange(dataList.mdnb_amountfield16)
  781. left6[1].num = dataList.mdnb_integerfield17
  782. that.leftEcharts1Fun()
  783. that.leftEcharts2Fun()
  784. that.leftEcharts3Fun()
  785. that.leftEcharts4Fun()
  786. }
  787. resolve(1);
  788. })
  789. });
  790. },
  791. // 获取左边产业布局分析
  792. getDate3 () {
  793. let that = this
  794. return new Promise((resolve, err) => {
  795. let value = {
  796. access_token: this.access_token,
  797. "data": {
  798. "mdnb_combofield": this.mockData ? 'B' : 'A',
  799. "mdnb_datefield": this.year + '-01-01',
  800. },
  801. pageSize: 1000
  802. }
  803. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqcebjfx', value).then(res => {
  804. if (res.data.rows.length > 0) {
  805. let dataList = this.classify(res.data.rows[0].mdnb_entryentity, 'mdnb_textfield1')
  806. // 传统产业分析
  807. dataList[0].data.forEach((item, i) => {
  808. left1[0][i] = {}
  809. left1[0][i].num = item.mdnb_integerfield13
  810. left1[0][i].y = that.yuanChange(item.mdnb_amountfield8)
  811. left1[0][i].name = item.mdnb_textfield2
  812. })
  813. // 战略性新兴产业
  814. dataList[1].data.forEach((item, i) => {
  815. left1[1][i] = {}
  816. left1[1][i].num = item.mdnb_integerfield13
  817. left1[1][i].y = that.yuanChange(item.mdnb_amountfield8)
  818. left1[1][i].name = item.mdnb_textfield2
  819. })
  820. // 特色优势产业
  821. dataList[2].data.forEach((item, i) => {
  822. left1[2][i] = {}
  823. left1[2][i].num = item.mdnb_integerfield13
  824. left1[2][i].y = that.yuanChange(item.mdnb_amountfield8)
  825. left1[2][i].name = item.mdnb_textfield2
  826. })
  827. // 公共基础等产业
  828. dataList[3].data.forEach((item, i) => {
  829. left1[3][i] = {}
  830. left1[3][i].num = item.mdnb_integerfield13
  831. left1[3][i].y = that.yuanChange(item.mdnb_amountfield8)
  832. left1[3][i].name = item.mdnb_textfield2
  833. })
  834. that.leftEcharts5Fun()
  835. }
  836. resolve(1);
  837. })
  838. });
  839. },
  840. // 获取左边项目阶段分析
  841. getDate4 () {
  842. let that = this
  843. return new Promise((resolve, err) => {
  844. let value = {
  845. access_token: this.access_token,
  846. "data": {
  847. "mdnb_combofield": this.mockData ? 'B' : 'A',
  848. "mdnb_datefield": this.year + '-01-01',
  849. },
  850. pageSize: 1000
  851. }
  852. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqxmjdfx', value).then(res => {
  853. if (res.data.rows.length > 0) {
  854. let dataList = res.data.rows[0]
  855. // 固定资产进度分布
  856. // 特别监管
  857. that.projecList[0][0].value = dataList.mdnb_integerfield1
  858. that.projecList[0][0].value2 = this.yuanChange(dataList.mdnb_amountfield241)
  859. that.projecList[1][0].value = dataList.mdnb_integerfield3
  860. that.projecList[1][0].value2 = this.yuanChange(dataList.mdnb_amountfield5)
  861. that.projecList[2][0].value = dataList.mdnb_integerfield5
  862. that.projecList[2][0].value2 = this.yuanChange(dataList.mdnb_amountfield21)
  863. that.projecList[3][0].value = dataList.mdnb_integerfield7
  864. that.projecList[3][0].value2 = this.yuanChange(dataList.mdnb_amountfield29)
  865. // 备案
  866. that.projecList[0][1].value = dataList.mdnb_integerfield2
  867. that.projecList[0][1].value2 = this.yuanChange(dataList.mdnb_amountfield341)
  868. that.projecList[1][1].value = dataList.mdnb_integerfield4
  869. that.projecList[1][1].value2 = this.yuanChange(dataList.mdnb_amountfield11)
  870. that.projecList[2][1].value = dataList.mdnb_integerfield6
  871. that.projecList[2][1].value2 = this.yuanChange(dataList.mdnb_amountfield28)
  872. that.projecList[3][1].value = dataList.mdnb_integerfield8
  873. that.projecList[3][1].value2 = this.yuanChange(dataList.mdnb_amountfield30)
  874. // 股权类进度分布
  875. // 特别监管
  876. that.projecList[4][0].value = dataList.mdnb_integerfield11
  877. that.projecList[4][0].value2 = this.yuanChange(dataList.mdnb_amountfield2411)
  878. that.projecList[5][0].value = dataList.mdnb_integerfield31
  879. that.projecList[5][0].value2 = this.yuanChange(dataList.mdnb_amountfield51)
  880. that.projecList[6][0].value = dataList.mdnb_integerfield51
  881. that.projecList[6][0].value2 = this.yuanChange(dataList.mdnb_amountfield211)
  882. that.projecList[7][0].value = dataList.mdnb_integerfield71
  883. that.projecList[7][0].value2 = this.yuanChange(dataList.mdnb_amountfield291)
  884. // 备案
  885. that.projecList[4][1].value = dataList.mdnb_integerfield21
  886. that.projecList[4][1].value2 = this.yuanChange(dataList.mdnb_amountfield3411)
  887. that.projecList[5][1].value = dataList.mdnb_integerfield41
  888. that.projecList[5][1].value2 = this.yuanChange(dataList.mdnb_amountfield111)
  889. that.projecList[6][1].value = dataList.mdnb_integerfield61
  890. that.projecList[6][1].value2 = this.yuanChange(dataList.mdnb_amountfield281)
  891. that.projecList[7][1].value = dataList.mdnb_integerfield81
  892. that.projecList[7][1].value2 = this.yuanChange(dataList.mdnb_amountfield301)
  893. this.countSection();
  894. that.leftEcharts7Fun()
  895. that.leftEcharts8Fun()
  896. }
  897. resolve(1);
  898. })
  899. });
  900. },
  901. // 获取左边投资额度分析
  902. getDate5 () {
  903. let that = this
  904. return new Promise((resolve, err) => {
  905. let value = {
  906. access_token: this.access_token,
  907. "data": {
  908. "mdnb_combofield": this.mockData ? 'B' : 'A',
  909. "mdnb_datefield": this.year + '-01-01',
  910. },
  911. pageSize: 1000
  912. }
  913. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqtzedfx', value).then(res => {
  914. if (res.data.rows.length > 0) {
  915. let dataList = res.data.rows[0]
  916. that.fling = true
  917. left16[0] = dataList.mdnb_amountfield
  918. left16[1] = dataList.mdnb_amountfield1
  919. left16[2] = dataList.mdnb_amountfield2
  920. left16[3] = dataList.mdnb_decimalfield
  921. left16[4] = dataList.mdnb_amountfield3
  922. that.leftEcharts6Fun();
  923. }
  924. resolve(1);
  925. })
  926. });
  927. },
  928. // 获取左边重点项目两线指标
  929. getDate6 () {
  930. let that = this
  931. return new Promise((resolve, err) => {
  932. let value = {
  933. access_token: this.access_token,
  934. "data": {
  935. "mdnb_combofield": this.mockData ? 'B' : 'A',
  936. "mdnb_datefield": this.year + '-01-01',
  937. },
  938. pageSize: 1000
  939. }
  940. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tqzdlxzb', value).then(res => {
  941. if (res.data.rows.length > 0) {
  942. let dataList2 = this.classify(res.data.rows[0].mdnb_entryentity1, 'mdnb_textfield3')
  943. // 左边的轮播
  944. let dataList = []
  945. dataList2.forEach((item, index) => {
  946. dataList[index] = []
  947. dataList[index][0] = item.data[0].mdnb_textfield18
  948. dataList[index][1] = item.data[0].mdnb_textfield3
  949. dataList[index][2] = that.numFormat(that.yuanChange(item.data[0].mdnb_amountfield24)) + '亿'
  950. })
  951. this.storageRecordConfig.data = dataList
  952. this.storageRecordConfig = { ...this.storageRecordConfig }
  953. // 右边的柱状图
  954. left12 = []
  955. dataList2.forEach((item, index) => {
  956. left12[index] = [[], [], []]
  957. that.left12Bottom[index] = []
  958. for (let i = 0; i < item.data.length; i++) {
  959. left12[index][0].push(item.data[i].mdnb_integerfield10)
  960. left12[index][1].push(item.data[i].mdnb_integerfield12)
  961. left12[index][2].push(item.data[i].mdnb_integerfield9)
  962. that.left12Bottom[index].push(item.data[i].mdnb_textfield4.replace('(%)', ''))
  963. }
  964. })
  965. that.leftEcharts11Fun()
  966. }
  967. resolve(1);
  968. })
  969. });
  970. },
  971. // 获取右边顶部条数据
  972. getDate7 () {
  973. let that = this
  974. return new Promise((resolve, err) => {
  975. let value = {
  976. access_token: this.access_token,
  977. "request": {
  978. isInsert: this.mockData ? '1' : '0',
  979. },
  980. pageSize: 1000
  981. }
  982. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTabpageap', value).then(res => {
  983. that.meansList[0].value = res.data.mdnb_one_step
  984. that.meansList[1].value = res.data.mdnb_two_step
  985. that.meansList[2].value = res.data.mdnb_three_step
  986. that.meansList[3].value = res.data.mdnb_four_step
  987. that.meansList[4].value = res.data.mdnb_five_step
  988. that.meansList[5].value = res.data.mdnb_six_step
  989. that.stockRightList[0].value = res.data.mdnb_seven_step
  990. that.stockRightList[1].value = res.data.mdnb_eight_step
  991. resolve(1);
  992. })
  993. });
  994. },
  995. // 获取右边中间左边的(正偏差/容差内/负偏差)
  996. getDate8 () {
  997. let that = this
  998. return new Promise((resolve, err) => {
  999. let value = {
  1000. access_token: this.access_token,
  1001. "request": {
  1002. isInsert: this.mockData ? '1' : '0',
  1003. },
  1004. pageSize: 1000
  1005. }
  1006. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getInvestSunstraction', value).then(res => {
  1007. that.costList[0].num = res.data.mdnb_projectnum_z
  1008. that.costList[0].value = res.data.mdnb_amountall_z
  1009. that.costList[1].num = res.data.mdnb_projectnum_r
  1010. that.costList[1].value = res.data.mdnb_amountall_r
  1011. that.costList[2].num = res.data.mdnb_projectnum_f
  1012. that.costList[2].value = res.data.mdnb_amountall_f
  1013. resolve(1);
  1014. })
  1015. });
  1016. },
  1017. // 获取右边中间右边的(预算额/已签合同额。。。)
  1018. getDate9 () {
  1019. let that = this
  1020. return new Promise((resolve, err) => {
  1021. let value = {
  1022. access_token: this.access_token,
  1023. "request": {
  1024. isInsert: this.mockData ? '1' : '0',
  1025. },
  1026. pageSize: 1000
  1027. }
  1028. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getUnitBudgetExecuteDate', value).then(res => {
  1029. res.data.forEach((item, index) => {
  1030. right4[index].value = this.yuanChange(item.mdnb_aheadmoney)
  1031. right4[index].value2 = this.yuanChange(item.mdnb_edmoney)
  1032. right4[index].value3 = this.yuanChange(item.mdnb_smoney)
  1033. right4[index].value4 = this.yuanChange(item.mdnb_jmoney)
  1034. right4[index].value5 = this.yuanChange(item.mdnb_fkmoney)
  1035. })
  1036. right4.forEach((item,index)=>{
  1037. that.investData.investList[index].name = item.name
  1038. that.investData.investList[index].yse = item.value
  1039. that.investData.investList[index].yqhte = item.value2
  1040. that.investData.investList[index].czrde = item.value3
  1041. that.investData.investList[index].jse = item.value4
  1042. that.investData.investList[index].fke = item.value5
  1043. })
  1044. resolve(1);
  1045. })
  1046. });
  1047. },
  1048. // 进度成本偏差
  1049. getDate10 () {
  1050. let that = this
  1051. return new Promise((resolve, err) => {
  1052. let value = {
  1053. access_token: this.access_token,
  1054. "request": {
  1055. isInsert: this.mockData ? '1' : '0',
  1056. },
  1057. pageSize: 1000
  1058. }
  1059. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getInvestSunstractionGas', value).then(res => {
  1060. res.data.forEach((item, index) => {
  1061. right5[0][index][1] = that.numMulti(item.mdnb_amount_zb, 100)
  1062. right5[0][index][2] = that.yuanChange(item.mdnb_amount_z)
  1063. right5[1][index][1] = that.numMulti(item.mdnb_amount_nb, 100)
  1064. right5[1][index][2] = that.yuanChange(item.mdnb_amount_n)
  1065. right5[2][index][1] = that.numMulti(item.mdnb_amount_fb, 100)
  1066. right5[2][index][2] = that.yuanChange(item.mdnb_amount_f)
  1067. })
  1068. this.initChartR2()
  1069. resolve(1);
  1070. })
  1071. });
  1072. },
  1073. // 项目风险分析A
  1074. getDate11 () {
  1075. let that = this
  1076. return new Promise((resolve, err) => {
  1077. let value = {
  1078. access_token: this.access_token,
  1079. "request": {
  1080. isInsert: this.mockData ? '1' : '0',
  1081. },
  1082. pageSize: 1000
  1083. }
  1084. let a = []
  1085. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getUnitNoSolveDangerDate', value).then(res => {
  1086. res.data.forEach((item, index) => {
  1087. right6[index].value = item.mdnb_height
  1088. right6[index].value2 = item.mdnb_midle
  1089. right6[index].value3 = item.mdnb_bottom
  1090. })
  1091. let a = []
  1092. for (var i = 0; i < right6.length; i += 6) {
  1093. a.push(right6.slice(i, i + 6));
  1094. }
  1095. right6 = a
  1096. that.getDate15()
  1097. resolve(1);
  1098. })
  1099. });
  1100. },
  1101. // 项目风险分析B(雷达图)
  1102. getDate12 () {
  1103. return new Promise((resolve, err) => {
  1104. let value = {
  1105. access_token: this.access_token,
  1106. "request": {
  1107. isInsert: this.mockData ? '1' : '0',
  1108. },
  1109. pageSize: 1000
  1110. }
  1111. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getUnitDangerPoraitDate', value).then(res => {
  1112. res.data.forEach((item, index) => {
  1113. right7[index] = []
  1114. right7[index][0] = item.mdnb_anquan
  1115. right7[index][1] = item.mdnb_fukuan
  1116. right7[index][2] = item.mdnb_hetong
  1117. right7[index][3] = item.mdnb_jiesuan
  1118. right7[index][4] = item.mdnb_jindu
  1119. right7[index][5] = item.mdnb_securty
  1120. })
  1121. this.getDate11()
  1122. resolve(1);
  1123. })
  1124. });
  1125. },
  1126. // 预算执行情况分析
  1127. getDate15 () {
  1128. let that = this
  1129. return new Promise((resolve, err) => {
  1130. let value = {
  1131. access_token: this.access_token,
  1132. "request": {
  1133. isInsert: this.mockData ? '1' : '0',
  1134. },
  1135. pageSize: 1000
  1136. }
  1137. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getBudgetExecutionTotal', value).then(res => {
  1138. res.data.forEach((item, index) => {
  1139. this.$set(item, 'mdnb_yusuanmoney', that.yuanChange(item.mdnb_yusuanmoney))
  1140. this.$set(item, 'mdnb_fukuanmoney', that.yuanChange(item.mdnb_fukuanmoney))
  1141. this.$set(item, 'mdnb_jiesuanmoney', that.yuanChange(item.mdnb_jiesuanmoney))
  1142. this.$set(item, 'mdnb_hetongmoney', that.yuanChange(item.mdnb_hetongmoney))
  1143. })
  1144. let a = that.classify(res.data, 'mdnb_unity_name4')
  1145. for (var i = 0; i < commonCompany.length; i += 6) {
  1146. this.threeCommonCompany.push(commonCompany.slice(i, i + 6));
  1147. }
  1148. right9 = a.map((item, index) => {
  1149. return item.data.filter((item2, index2) => {
  1150. return (item2.mdnb_fukuanmoney != 0 || item2.mdnb_yusuanmoney != 0 || item2.mdnb_hetongmoney != 0 || item2.mdnb_jiesuanmoney != 0)
  1151. })
  1152. })
  1153. that.budgetX = []
  1154. right9.forEach((item, index) => {
  1155. that.budgetX.push(item.map(item2 => {
  1156. return item2.mdnb_aheadname
  1157. }))
  1158. })
  1159. setTimeout(() => {
  1160. this.initChartR3()
  1161. });
  1162. resolve(1);
  1163. })
  1164. });
  1165. },
  1166. // 中间大屏数据
  1167. getDate14 () {
  1168. let that = this
  1169. return new Promise((resolve, err) => {
  1170. let value = {
  1171. access_token: this.access_token,
  1172. mock: this.mockData,
  1173. presetYear: this.year - 1
  1174. }
  1175. get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/getKeyData', value).then(res => {
  1176. // 头部指标
  1177. if (!res.data) {
  1178. return
  1179. }
  1180. center4[0] = res.data.transformations.estateAmount
  1181. center4[1] = res.data.transformations.estateNum
  1182. center4[2] = res.data.transformations.figureAmount
  1183. center4[3] = res.data.transformations.figureNum
  1184. // 左投部指标
  1185. center1[0] = res.data.keyIndicators.totalSum
  1186. center1[1] = res.data.keyIndicators.total
  1187. center1[2] = res.data.keyIndicators.property
  1188. center1[3] = res.data.keyIndicators.invest
  1189. // 投资产业分布
  1190. if (res.data.distribution.length != 0) {
  1191. // for (let i = 0; i < center2.length; i++) {
  1192. // center2[i].y = that.yuanChange(res.data.distribution[i].amount)
  1193. // center2[i].value = that.yuanChange(res.data.distribution[i].amount)
  1194. // center2[i].num = res.data.distribution[i].count
  1195. // center2[i].typeno = res.data.distribution[i].typeno
  1196. // }
  1197. center2 = []
  1198. res.data.distribution.forEach((item, i) => {
  1199. center2[i] = {}
  1200. center2[i].name = item.type
  1201. center2[i].y = that.yuanChange(item.amount)
  1202. center2[i].value = that.yuanChange(item.amount)
  1203. center2[i].num = item.count
  1204. center2[i].typeno = item.typeno
  1205. })
  1206. }
  1207. // that.leftEcharts12Fun()
  1208. // 投资执行情况
  1209. res.data.implementationStatus.forEach((item, index) => {
  1210. center3[index].value = that.yuanChange(item.plan)
  1211. center3[index].value2 = that.yuanChange(item.reality)
  1212. })
  1213. center3.sort(that.compare('value'))
  1214. // that.leftEcharts14Fun()
  1215. // 五个一体化
  1216. res.data.five.forEach((item, index) => {
  1217. center6[index] = { name: item.type, value: that.yuanChange(item.amount), typeno: item.typeno }
  1218. })
  1219. // that.leftEcharts15Fun()
  1220. // 投资阶段分析
  1221. res.data.investmentStage.forEach((item, index) => {
  1222. center7[index] = { name: item.type, value: Number(item.num), value2: that.yuanChange(item.amount), typeno: item.typeno, sliced: false, selected: false }
  1223. })
  1224. // 重点项目监控
  1225. center8 = []
  1226. this.originalConfig6 = res.data.projectMonitoring
  1227. this.centerOriginalConfig6 = res.data.projectMonitoring
  1228. res.data.projectMonitoring.forEach((item, index) => {
  1229. center8.push({ value: item.amount, name: item.projectname, office: item.orgName, type: item.projectjd })
  1230. })
  1231. let dataList = []
  1232. center8.map(item => {
  1233. dataList.push([item.office, item.name, item.type, this.yuanChange(item.value) + '亿', item.typeno])
  1234. })
  1235. this.storageRecordConfig2.data = dataList
  1236. this.storageRecordConfig2 = { ...this.storageRecordConfig2 }
  1237. // 中国地图
  1238. centerChina = []
  1239. res.data.investmentMap.forEach((item, index) => {
  1240. centerChina.push({ name: item.address, value: that.yuanChange(item.amount), value2: item.value2 })
  1241. })
  1242. setTimeout(() => {
  1243. that.chinaEchartsFun()
  1244. that.leftEcharts16Fun() // 中国地图背景地球
  1245. })
  1246. resolve(1);
  1247. })
  1248. });
  1249. },
  1250. // 点击八卦的方法
  1251. cilikEight(param){
  1252. let that = this
  1253. that.rightAdd.modelName = 2
  1254. that.rightAdd.substraction = ''
  1255. that.rightAdd.projectStepCode = ''
  1256. that.projectNum = 314
  1257. that.rightPenetrateTwo(2, '', that.findCode(this.investData.investList[this.witchs].name), 'right')
  1258. },
  1259. // 解决除法是去精度
  1260. numDiv (num1, num2) {
  1261. var baseNum1 = 0, baseNum2 = 0;
  1262. var baseNum3, baseNum4;
  1263. try {
  1264. baseNum1 = num1.toString().split(".")[1].length;
  1265. } catch (e) {
  1266. baseNum1 = 0;
  1267. }
  1268. try {
  1269. baseNum2 = num2.toString().split(".")[1].length;
  1270. } catch (e) {
  1271. baseNum2 = 0;
  1272. }
  1273. with (Math) {
  1274. baseNum3 = Number(num1.toString().replace(".", ""));
  1275. baseNum4 = Number(num2.toString().replace(".", ""));
  1276. return (baseNum3 / baseNum4) * pow(10, baseNum2 - baseNum1);
  1277. }
  1278. },
  1279. // 解决乘法失去精度
  1280. numMulti (num1, num2) {
  1281. var baseNum = 0;
  1282. try {
  1283. baseNum += num1.toString().split(".")[1].length;
  1284. } catch (e) {
  1285. }
  1286. try {
  1287. baseNum += num2.toString().split(".")[1].length;
  1288. } catch (e) {
  1289. }
  1290. return Number(num1.toString().replace(".", "")) * Number(num2.toString().replace(".", "")) / Math.pow(10, baseNum);
  1291. },
  1292. // 解决减法失去精度
  1293. numSub (num1, num2) {
  1294. var baseNum, baseNum1, baseNum2;
  1295. var precision;// 精度
  1296. try {
  1297. baseNum1 = num1.toString().split(".")[1].length;
  1298. } catch (e) {
  1299. baseNum1 = 0;
  1300. }
  1301. try {
  1302. baseNum2 = num2.toString().split(".")[1].length;
  1303. } catch (e) {
  1304. baseNum2 = 0;
  1305. }
  1306. baseNum = Math.pow(10, Math.max(baseNum1, baseNum2));
  1307. precision = (baseNum1 >= baseNum2) ? baseNum1 : baseNum2;
  1308. return ((num1 * baseNum - num2 * baseNum) / baseNum).toFixed(precision);
  1309. },
  1310. rightEcharts1Fun () {
  1311. let that = this
  1312. let sumA = 42
  1313. // 所有在100范围外的全部变成0,其他值相应增加/减少sumA
  1314. right5.forEach(item => {
  1315. item.forEach(item2 => {
  1316. if (Number(item2[1]) < 0) {
  1317. item2[1] = that.$set(item2, 1, Number(that.numSub(item2[1], sumA)))
  1318. } else if (Number(item2[1]) > 0) {
  1319. item2[1] = that.$set(item2, 1, Number(item2[1]) + sumA)
  1320. }
  1321. if (Number(item2[1]) < (-100 - sumA)) {
  1322. item2[1] = that.$set(item2, 1, 0)
  1323. item2[1] = that.$set(item2, 2, 0)
  1324. } else if (Number(item2[1]) > (100 + sumA)) {
  1325. item2[1] = that.$set(item2, 1, 0)
  1326. item2[1] = that.$set(item2, 2, 0)
  1327. }
  1328. })
  1329. })
  1330. const itemStyle = {
  1331. // opacity: 0.8,
  1332. shadowBlur: 10,
  1333. shadowOffsetX: 0,
  1334. shadowOffsetY: 0,
  1335. shadowColor: 'rgba(0,0,0,0.3)'
  1336. };
  1337. that.rightEcharts1 = echarts.init(this.$refs['rightEcharts1'])
  1338. that.rightEcharts1.on('showTip', (params) => {
  1339. // 如果是7或者15并且满足防抖则切换
  1340. if ((params.dataIndex == 5 || params.dataIndex == 11) && that.echartR2Fd) {
  1341. that.echartR2Fd = false
  1342. setTimeout(() => {
  1343. option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6
  1344. option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6
  1345. that.rightEcharts1.setOption(option);
  1346. // 防止勿刷新做的防抖
  1347. setTimeout(() => {
  1348. that.echartR2Fd = true
  1349. }, 2000)
  1350. }, 1900);
  1351. // 如果是17表示到了最后一个,那么重新来一遍
  1352. } else if (params.dataIndex == 17 && that.echartR2Fd) {
  1353. that.echartR2Fd = false
  1354. setTimeout(() => {
  1355. option.dataZoom[0].endValue = 0
  1356. option.dataZoom[0].startValue = 5
  1357. that.rightEcharts1.setOption(option);
  1358. // 防止勿刷新做的防抖
  1359. setTimeout(() => {
  1360. that.echartR2Fd = true
  1361. }, 2000)
  1362. }, 1900)
  1363. }
  1364. })
  1365. let option = {
  1366. color: [{
  1367. type: 'radial', // linear 线性渐变 radial径向渐变
  1368. x: 0.5,
  1369. y: 0.5,
  1370. r: 0.5,
  1371. colorStops: [{
  1372. offset: 0, color: '#58F7DF' // 0% 处的颜色
  1373. }, {
  1374. offset: 1, color: '#4ECFBB' // 100% 处的颜色
  1375. }]
  1376. },
  1377. {
  1378. type: 'radial', // linear 线性渐变 radial径向渐变
  1379. x: 0.5,
  1380. y: 0.5,
  1381. r: 0.5,
  1382. colorStops: [{
  1383. offset: 0, color: '#7FD9FF' // 0% 处的颜色
  1384. }, {
  1385. offset: 1, color: '#40A9FF' // 100% 处的颜色
  1386. }]
  1387. }, {
  1388. type: 'radial', // linear 线性渐变 radial径向渐变
  1389. x: 0.5,
  1390. y: 0.5,
  1391. r: 0.5,
  1392. colorStops: [{
  1393. offset: 0, color: '#FF9592' // 0% 处的颜色
  1394. }, {
  1395. offset: 1, color: '#D2706D' // 100% 处的颜色
  1396. }]
  1397. }
  1398. ],
  1399. dataZoom: [
  1400. {
  1401. // start: 9,//默认为@
  1402. // end: 100,//黑认认为1@0
  1403. type: "slider",
  1404. show: false,
  1405. // xAxisIndex: [0]
  1406. handlesize: 0,//滑动条的 左右2个滑动条的大小
  1407. startValue: 5,// 初始显示值
  1408. endValue: 0,// 结束显示值
  1409. height: 10,//组件高度
  1410. left: "5%",
  1411. right: "4%",//右边的距离
  1412. bottom: "25%",//底边的距离
  1413. borderColor: "#939",
  1414. fillerColor: "#269cdb",
  1415. borderRadius: 5,
  1416. backgroundColor: "#33384b",//两边未选中的滑动条区域的额色
  1417. showDataShadow: false,//是否显示数据阴影
  1418. showDetail: false,//即拖拽时候是否显示详细数值信息
  1419. truerealtime: true,//是否实时更新
  1420. filterMode: "filter"
  1421. }, {
  1422. type: 'inside',
  1423. show: true,
  1424. start: 1,
  1425. end: 100,
  1426. zoomOnMouseWheel: false, //滚轮是否触发缩放
  1427. moveOnMouseMove: false, //鼠标滚轮触发滚动
  1428. }
  1429. ],
  1430. legend: {
  1431. selectedMode: false,
  1432. top: 10,
  1433. data: ['正偏差', '容差', '负偏差'],
  1434. textStyle: {
  1435. fontSize: 20,
  1436. color: '#fff',
  1437. fontFamily: 'Microsoft YaHei'
  1438. }
  1439. },
  1440. textStyle: {
  1441. color: '#fff',
  1442. },
  1443. tooltip: {
  1444. show: true,
  1445. trigger: "axis",
  1446. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  1447. borderColor: "rgba(50,50,50,0.7)",
  1448. textStyle: {
  1449. color: "#fff",
  1450. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  1451. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  1452. fontSize: "28", // 文字字体大小
  1453. },
  1454. formatter: data => {
  1455. 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])}亿`
  1456. },
  1457. axisPointer: {
  1458. // // type: 'cross',',
  1459. },
  1460. },
  1461. grid: {
  1462. top: '10%',
  1463. right: '7%',
  1464. left: '7%',
  1465. bottom: '5%',
  1466. },
  1467. yAxis: {
  1468. min: (-101 - sumA),
  1469. max: (101 + sumA),
  1470. maxInterval: 1,
  1471. splitLine: {
  1472. show: false,
  1473. // interval:,
  1474. lineStyle: {
  1475. color: '#68b4dd66',
  1476. type: 'dashed',
  1477. },
  1478. },
  1479. axisLine: {
  1480. show: false
  1481. },
  1482. axisTick: {
  1483. show: false
  1484. },
  1485. axisLabel: {
  1486. show: true,
  1487. // formatter: '{value}',
  1488. formatter (data) {
  1489. if (data == (100 + sumA)) {
  1490. return '100%'
  1491. } else if (data == (-100 - sumA)) {
  1492. return '-100%'
  1493. } else if (data == (-5 - sumA)) {
  1494. return '-5%'
  1495. } else if (data == (5 + sumA)) {
  1496. return '5%'
  1497. }
  1498. },
  1499. textStyle: {
  1500. color: '#fff',
  1501. fontSize: '20',
  1502. fontFamily: 'Microsoft YaHei'
  1503. },
  1504. },
  1505. nameTextStyle: {
  1506. color: '#fff',
  1507. fontSize: 20,
  1508. fontFamily: 'Microsoft YaHei'
  1509. },
  1510. },
  1511. xAxis: {
  1512. data: commonCompany,
  1513. axisLine: {
  1514. show: false, //隐藏X轴轴线
  1515. lineStyle: {
  1516. color: '#005094',
  1517. width: 1,
  1518. },
  1519. },
  1520. splitLine: {
  1521. show: true,
  1522. lineStyle: {
  1523. color: '#68b4dd66',
  1524. type: 'dashed',
  1525. },
  1526. },
  1527. axisTick: {
  1528. show: true, //隐藏X轴刻度
  1529. },
  1530. axisLabel: {
  1531. show: true,
  1532. // rotate: 40,
  1533. padding: [0, 0, 0, 0],
  1534. textStyle: {
  1535. color: '#fff', //X轴文字颜色
  1536. fontSize: 20,
  1537. fontFamily: 'Microsoft YaHei'
  1538. },
  1539. },
  1540. },
  1541. series: [
  1542. {
  1543. name: '正偏差',
  1544. type: 'scatter',
  1545. itemStyle: itemStyle,
  1546. data: right5[0],
  1547. symbolSize: function (data) {
  1548. if ((data[2] > 0 && data[2] < 50) || data[2] == 50) {
  1549. return 40;
  1550. } else if ((data[2] > 50 && data[2] < 100) || data[2] == 100) {
  1551. return 70;
  1552. } else if (data[2] > 100) {
  1553. return 100;
  1554. }
  1555. },
  1556. markLine: {
  1557. symbol: 'none',
  1558. data: [
  1559. {
  1560. name: '100%',
  1561. yAxis: 100 + sumA,
  1562. lineStyle: {
  1563. // color: '#fff',
  1564. },
  1565. label: {
  1566. show: false,
  1567. formatter: '{b}',
  1568. position: 'right',
  1569. color: '#fff',
  1570. fontSize: 20,
  1571. label: {
  1572. show: false
  1573. }
  1574. },
  1575. },
  1576. {
  1577. name: '5%',
  1578. yAxis: 5 + sumA,
  1579. lineStyle: {
  1580. // color: '#fff',
  1581. },
  1582. label: {
  1583. show: false,
  1584. formatter: '{b}',
  1585. position: 'right',
  1586. color: '#fff',
  1587. fontSize: 20,
  1588. },
  1589. },
  1590. {
  1591. name: '-5%',
  1592. yAxis: -5 - sumA,
  1593. lineStyle: {
  1594. // color: '#fff',
  1595. },
  1596. label: {
  1597. show: false,
  1598. formatter: '{b}',
  1599. position: 'right',
  1600. color: '#fff',
  1601. fontSize: 20,
  1602. },
  1603. },
  1604. {
  1605. name: '100%',
  1606. yAxis: -100 - sumA,
  1607. lineStyle: {
  1608. // color: '#fff',
  1609. },
  1610. label: {
  1611. show: false,
  1612. formatter: '{b}',
  1613. position: 'right',
  1614. color: '#fff',
  1615. fontSize: 20,
  1616. },
  1617. },
  1618. ],
  1619. },
  1620. },
  1621. {
  1622. name: '容差',
  1623. type: 'scatter',
  1624. itemStyle: itemStyle,
  1625. data: right5[1],
  1626. symbolSize: function (data) {
  1627. if ((data[2] > 0 && data[2] < 50) || data[2] == 50) {
  1628. return 40;
  1629. } else if ((data[2] > 50 && data[2] < 100) || data[2] == 100) {
  1630. return 70;
  1631. } else if (data[2] > 100) {
  1632. return 100;
  1633. }
  1634. },
  1635. },
  1636. {
  1637. name: '负偏差',
  1638. type: 'scatter',
  1639. itemStyle: itemStyle,
  1640. data: right5[2],
  1641. symbolSize: function (data) {
  1642. if ((data[2] > 0 && data[2] < 50) || data[2] == 50) {
  1643. return 40;
  1644. } else if ((data[2] > 50 && data[2] < 100) || data[2] == 100) {
  1645. return 70;
  1646. } else if (data[2] > 100) {
  1647. return 100;
  1648. }
  1649. },
  1650. }
  1651. ]
  1652. }
  1653. that.rightEcharts1.setOption(option)
  1654. tools.loopShowTooltip(that.rightEcharts1, option, {
  1655. interval: 2000,
  1656. loopSeries: true,
  1657. })
  1658. },
  1659. initChartR2 () {
  1660. let that = this;
  1661. that.right1Chart = echarts.init(this.$refs["echartR2"]);
  1662. that.right1Chart.on("showTip", (params) => {
  1663. // 如果是7或者15并且满足防抖则切换
  1664. if (
  1665. (params.dataIndex == 5 || params.dataIndex == 11) &&
  1666. that.echartR1Fd1
  1667. ) {
  1668. that.echartR1Fd1 = false;
  1669. setTimeout(() => {
  1670. option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6;
  1671. option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6;
  1672. that.right1Chart.setOption(option);
  1673. // 防止勿刷新做的防抖
  1674. setTimeout(() => {
  1675. that.echartR1Fd1 = true;
  1676. }, 2000);
  1677. }, 1900);
  1678. // 如果是17表示到了最后一个,那么重新来一遍
  1679. } else if (params.dataIndex == 17 && that.echartR1Fd1) {
  1680. that.echartR1Fd1 = false;
  1681. setTimeout(() => {
  1682. option.dataZoom[0].endValue = 0;
  1683. option.dataZoom[0].startValue = 5;
  1684. that.right1Chart.setOption(option);
  1685. // 防止勿刷新做的防抖
  1686. setTimeout(() => {
  1687. that.echartR1Fd1 = true;
  1688. }, 2000);
  1689. }, 1900);
  1690. }
  1691. });
  1692. let option = {
  1693. color: [
  1694. {
  1695. type: "linear",
  1696. x: 0,
  1697. y: 0,
  1698. x2: 0,
  1699. y2: 1,
  1700. colorStops: [
  1701. {
  1702. offset: 0,
  1703. color: "#07806E", // 0% 处的颜色
  1704. },
  1705. {
  1706. offset: 1,
  1707. color: "#79FFEB", // 100% 处的颜色
  1708. },
  1709. ],
  1710. global: false, // 缺省为 false
  1711. },
  1712. {
  1713. type: "linear",
  1714. x: 0,
  1715. y: 0,
  1716. x2: 0,
  1717. y2: 1,
  1718. colorStops: [
  1719. {
  1720. offset: 0,
  1721. color: "#9F7F00", // 0% 处的颜色
  1722. },
  1723. {
  1724. offset: 1,
  1725. color: "#FBE463", // 100% 处的颜色
  1726. },
  1727. ],
  1728. global: false, // 缺省为 false
  1729. },
  1730. {
  1731. type: "linear",
  1732. x: 0,
  1733. y: 0,
  1734. x2: 0,
  1735. y2: 1,
  1736. colorStops: [
  1737. {
  1738. offset: 0,
  1739. color: "#91231F", // 0% 处的颜色
  1740. },
  1741. {
  1742. offset: 1,
  1743. color: "#F98784", // 100% 处的颜色
  1744. },
  1745. ],
  1746. global: false, // 缺省为 false
  1747. }
  1748. ],
  1749. dataZoom: [
  1750. {
  1751. // start: 9,//默认为@
  1752. // end: 100,//黑认认为1@0
  1753. type: "slider",
  1754. show: false,
  1755. // xAxisIndex: [0]
  1756. handlesize: 0, //滑动条的 左右2个滑动条的大小
  1757. startValue: 5, // 初始显示值
  1758. endValue: 0, // 结束显示值
  1759. height: 10, //组件高度
  1760. left: "5%",
  1761. right: "4%", //右边的距离
  1762. bottom: "25%", //底边的距离
  1763. borderColor: "#939",
  1764. fillerColor: "#269cdb",
  1765. borderRadius: 5,
  1766. backgroundColor: "#33384b", //两边未选中的滑动条区域的额色
  1767. showDataShadow: false, //是否显示数据阴影
  1768. showDetail: false, //即拖拽时候是否显示详细数值信息
  1769. truerealtime: true, //是否实时更新
  1770. filterMode: "filter",
  1771. },
  1772. {
  1773. type: "inside",
  1774. show: true,
  1775. start: 1,
  1776. end: 100,
  1777. zoomOnMouseWheel: false, //滚轮是否触发缩放
  1778. moveOnMouseMove: false, //鼠标滚轮触发滚动
  1779. },
  1780. ],
  1781. legend: {
  1782. top: 10,
  1783. right: 10,
  1784. textStyle: {
  1785. fontSize: 20,
  1786. color: "#fff",
  1787. fontFamily: "Microsoft YaHei",
  1788. },
  1789. itemStyle: {
  1790. borderCap: "round",
  1791. },
  1792. },
  1793. tooltip: {
  1794. trigger: "item",
  1795. show: true,
  1796. position: "top",
  1797. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  1798. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  1799. borderColor: "rgba(50,50,50,0.7)",
  1800. textStyle: {
  1801. color: "#fff",
  1802. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  1803. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  1804. fontSize: "28", // 文字字体大小
  1805. },
  1806. formatter: function (p) {
  1807. that.r3Index = p.dataIndex;
  1808. if (Math.max(...that.riskData.x[p.dataIndex].value) > 15) {
  1809. that.radarNum = 3
  1810. } else {
  1811. that.radarNum = 2
  1812. }
  1813. that.echartR3 && that.echartR3.dispose()
  1814. that.initChartR3();
  1815. return `${p.name}<br>低风险:${that.riskData.y1[p.dataIndex]}个<br>
  1816. 中风险:${that.riskData.y2[p.dataIndex]}个<br>
  1817. 高风险:${that.riskData.y3[p.dataIndex]}个<br>
  1818. `
  1819. },
  1820. },
  1821. grid: {
  1822. left: "3%",
  1823. right: "4%",
  1824. bottom: "3%",
  1825. containLabel: true,
  1826. },
  1827. xAxis: [
  1828. {
  1829. type: "category",
  1830. data: that.riskData.x.map((item) => item.name),
  1831. axisLine: {
  1832. show: true,
  1833. lineStyle: {
  1834. color: "rgba(0, 80, 148, .8)",
  1835. },
  1836. },
  1837. axisTick: {
  1838. show: false,
  1839. },
  1840. axisLabel: {
  1841. color: "#fff",
  1842. rotate: 20,
  1843. fontSize: 22,
  1844. },
  1845. },
  1846. ],
  1847. yAxis: [
  1848. {
  1849. type: "value",
  1850. axisLabel: {
  1851. color: "#fff",
  1852. fontSize: 22,
  1853. },
  1854. splitLine: {
  1855. show: true,
  1856. lineStyle: {
  1857. color: "rgba(104, 180, 221, .2)",
  1858. type: "dashed",
  1859. },
  1860. },
  1861. },
  1862. ],
  1863. series: [
  1864. {
  1865. name: "低风险",
  1866. type: "bar",
  1867. stack: "Ad",
  1868. barWidth: 14,
  1869. emphasis: {
  1870. focus: "series",
  1871. },
  1872. itemStyle: {
  1873. barBorderRadius: [15, 15, 15, 15],
  1874. },
  1875. data: that.riskData.y1,
  1876. },
  1877. {
  1878. name: "中风险",
  1879. type: "bar",
  1880. barWidth: 14,
  1881. stack: "Ad",
  1882. itemStyle: {
  1883. barBorderRadius: [15, 15, 15, 15],
  1884. },
  1885. emphasis: {
  1886. focus: "series",
  1887. },
  1888. data: that.riskData.y2,
  1889. },
  1890. {
  1891. name: "高风险",
  1892. type: "bar",
  1893. barWidth: 14,
  1894. stack: "Ad",
  1895. itemStyle: {
  1896. barBorderRadius: [15, 15, 15, 15],
  1897. },
  1898. emphasis: {
  1899. focus: "series",
  1900. },
  1901. data: that.riskData.y3,
  1902. },
  1903. ],
  1904. };
  1905. that.right1Chart.setOption(option);
  1906. tools.loopShowTooltip(that.right1Chart, option, {
  1907. interval: 2000,
  1908. loopSeries: true,
  1909. });
  1910. },
  1911. initChartR3 () {
  1912. let that = this;
  1913. that.right3Chart = echarts.init(this.$refs["echartR3"]);
  1914. let option = {
  1915. radar: {
  1916. // shape: 'circle',
  1917. splitNumber: that.radarNum,
  1918. splitLine: {
  1919. lineStyle: {
  1920. color: that.radarNum == 3 ? ["#C25253", "#45C9B5", "#D1B83A"] : ["#D1B83A", "#45C9B5"],
  1921. },
  1922. },
  1923. name: { //修改indicator文字的颜色
  1924. textStyle: {
  1925. fontSize: 20
  1926. }
  1927. },
  1928. axisLine: { // 设置雷达图中间射线的颜色
  1929. lineStyle: {
  1930. color: '#fff',
  1931. },
  1932. },
  1933. splitArea: {
  1934. areaStyle: {
  1935. color: that.radarNum == 3 ? [
  1936. "rgba(88,247,223,0.2)",
  1937. "rgba(255, 224, 54, 0.2)",
  1938. "rgba(221,89,85,0.3)",
  1939. ] : [
  1940. "rgba(88,247,223,0.2)",
  1941. "rgba(255, 224, 54, 0.2)",
  1942. ],
  1943. },
  1944. },
  1945. indicator: [
  1946. { name: "安全风险", max: that.radarNum == 3 ? 25 : 15 },
  1947. { name: "付款风险", max: that.radarNum == 3 ? 25 : 15 },
  1948. { name: "合同风险", max: that.radarNum == 3 ? 25 : 15 },
  1949. { name: "结算风险", max: that.radarNum == 3 ? 25 : 15 },
  1950. { name: "进度风险", max: that.radarNum == 3 ? 25 : 15 },
  1951. { name: "质量风险", max: that.radarNum == 3 ? 25 : 15 },
  1952. ],
  1953. },
  1954. series: [
  1955. {
  1956. name: "风险",
  1957. type: "radar",
  1958. symbol: "circle",
  1959. label: {
  1960. show: true,
  1961. formatter: function (params) {
  1962. return params.value;
  1963. },
  1964. fontSize: 24,
  1965. color: "#68BDFF",
  1966. },
  1967. data: [
  1968. {
  1969. value: that.riskData.x[that.r3Index].value,
  1970. areaStyle: {
  1971. color: "#112b75",
  1972. },
  1973. lineStyle: {
  1974. width: 4,
  1975. color: "#60C1FF",
  1976. },
  1977. label: {
  1978. fontSize: 22,
  1979. },
  1980. },
  1981. ],
  1982. },
  1983. ],
  1984. };
  1985. that.right3Chart.setOption(option);
  1986. },
  1987. initChartR4 () {
  1988. let that = this;
  1989. that.right4Chart = echarts.init(this.$refs["echartR4"]);
  1990. that.right4Chart.on("showTip", (params) => {
  1991. // 如果是7或者15并且满足防抖则切换
  1992. if (
  1993. (params.dataIndex == 5 || params.dataIndex == 11) &&
  1994. that.echartR2Fd2
  1995. ) {
  1996. that.echartR2Fd2 = false;
  1997. setTimeout(() => {
  1998. option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6;
  1999. option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6;
  2000. that.right4Chart.setOption(option);
  2001. // 防止勿刷新做的防抖
  2002. setTimeout(() => {
  2003. that.echartR2Fd2 = true;
  2004. }, 2000);
  2005. }, 1900);
  2006. // 如果是17表示到了最后一个,那么重新来一遍
  2007. } else if (params.dataIndex == 17 && that.echartR2Fd2) {
  2008. that.echartR2Fd2 = false;
  2009. setTimeout(() => {
  2010. option.dataZoom[0].endValue = 0;
  2011. option.dataZoom[0].startValue = 5;
  2012. that.right4Chart.setOption(option);
  2013. // 防止勿刷新做的防抖
  2014. setTimeout(() => {
  2015. that.echartR2Fd2 = true;
  2016. }, 2000);
  2017. }, 1900);
  2018. }
  2019. });
  2020. let option = {
  2021. dataZoom: [
  2022. {
  2023. // start: 9,//默认为@
  2024. // end: 100,//黑认认为1@0
  2025. type: "slider",
  2026. show: false,
  2027. // xAxisIndex: [0]
  2028. handlesize: 0, //滑动条的 左右2个滑动条的大小
  2029. startValue: 5, // 初始显示值
  2030. endValue: 0, // 结束显示值
  2031. height: 10, //组件高度
  2032. left: "5%",
  2033. right: "4%", //右边的距离
  2034. bottom: "25%", //底边的距离
  2035. borderColor: "#939",
  2036. fillerColor: "#269cdb",
  2037. borderRadius: 5,
  2038. backgroundColor: "#33384b", //两边未选中的滑动条区域的额色
  2039. showDataShadow: false, //是否显示数据阴影
  2040. showDetail: false, //即拖拽时候是否显示详细数值信息
  2041. truerealtime: true, //是否实时更新
  2042. filterMode: "filter",
  2043. },
  2044. {
  2045. type: "inside",
  2046. show: true,
  2047. start: 1,
  2048. end: 100,
  2049. zoomOnMouseWheel: false, //滚轮是否触发缩放
  2050. moveOnMouseMove: false, //鼠标滚轮触发滚动
  2051. },
  2052. ],
  2053. title: {
  2054. text: "企业后评价执行情况",
  2055. left: "center",
  2056. textStyle: {
  2057. color: "#fff",
  2058. fontSize: 32,
  2059. },
  2060. },
  2061. tooltip: {
  2062. trigger: "item",
  2063. show: true,
  2064. position: "top",
  2065. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  2066. borderColor: "rgba(50,50,50,0.7)",
  2067. confine: true,
  2068. textStyle: {
  2069. color: "#fff",
  2070. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  2071. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  2072. fontSize: "28", // 文字字体大小
  2073. },
  2074. formatter: function (p) {
  2075. return `${p.name}<br>首次评价:应开展${that.riskData1.y1[p.dataIndex]}个,已完成${that.riskData1.y2[p.dataIndex]}个<br>
  2076. 再次评价:应开展${that.riskData1.y3[p.dataIndex]}个,已完成${that.riskData1.y4[p.dataIndex]}个,达标${that.riskData1.y5[p.dataIndex]}个`
  2077. },
  2078. },
  2079. legend: {
  2080. show: true,
  2081. textStyle: {
  2082. fontSize: 20,
  2083. color: "#fff",
  2084. },
  2085. inactiveColor: "#fff",
  2086. // itemHeight: 20,
  2087. top: "15%",
  2088. backgroundColor: "transparent",
  2089. data: [
  2090. {
  2091. name: "应首评项目数",
  2092. // icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAWdJREFUOE+N0k8og3EYB/Dvs8P8CSlTxJGD8u+yTYmNm0gJQznIQRxMoV2cXWSKCznIQdk7SkmOEomNg41y4EjURkLZFI/ed3vX+5v82nt4357n9/s8Pe/v9xCST6+fzVHGKAMDAKqT6WsCNi2ElS0Xfak5Ul+tfi77YewBqNcLpH0vTYSOAxc9kFo5wghINus2lJMPOzl8PE6EpX8qC2lmuMmp8CmABn3FVgJ4bIloLggEnwRzRg6F4wSY9fR2J1CUnYieY0DPrgDiUvASA7pF8PGnJXsp4LEC3wx4L4DAY1pLLQq7GVjM5KcJmKC2fc76fNeOtU6GmBDOzYMt04sLmQjt2sUZRyMCjAEYBKNKyxNuAGwUA8vCaBhbcSrMxviwj1JFU7Nk3NC49iqAk+FCObAu3AngfLJCDmpmjgVwNdskB5UjPgHcrvbLQXmXVwD3O1NyYGmeFkD0aF4OCmqHBPAWXhfAL4WqeuKVsFKCAAAAAElFTkSuQmCC",
  2093. },
  2094. {
  2095. name: "已完成首评项目数",
  2096. // icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAXFJREFUOE+V0kFLAkEUB/D/G9eW3UN1sFPYNaJAu2R0Coog8mq0fQH1kEVBhz5Ah6CoLhrdE/LqKQo6VZ7SKCKChKRTBRmhbq47oabsZC22h1nem/k93jCP8P0F+E2HQ1dD4NAAGqqn+TUI8YpciCVo8LOaoeoSKOR6GTOSxOFtFLD+OSFtmpI/obqfqFqZ6Wrqr8NNyJHJK4aPtNLDAue0+1vlnzkiHqG5YvYcwGhj08MUhJyuWhgrvyBjFq3uogp0AB2NbFR2o5sctfCNVxDWc1ag/xPQR0tLXqYg6HTBBMd++RXplpZK2Qg4dtq5NAiLNM3v5a6ilALBY4s4rvKKMdLWw4EjU4E0U3s462gwXQ3DMLeJsfpgmCYgsSVTLkSF0bC24r9NcWucHPA1izZnyXpg8vRIAMfjU/ZgLH4ogDNt1h4Mb8YEcLkSsgf9y+sCuNtaswd92qoAHuMb9qBnIiiA55M9e9DpnRfAe/pAAF9gqJXUYWdYUwAAAABJRU5ErkJggg==",
  2097. },
  2098. {
  2099. name: "应再评项目数",
  2100. // 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",
  2101. },
  2102. {
  2103. name: "已完成再评项目数",
  2104. // 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=",
  2105. },
  2106. {
  2107. name: "再评达标项目数",
  2108. // icon: "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAWBJREFUOE+V0k8og2EcwPHvkzVZLLm6KItEzWlclIPbdhGKcsCJwzZFdtgOK+8OimIXTjgoSrisXByUgz8nE4mmXFwlZmuaPXr3r/eZ9sZ7eN9+v/f5/J6n3/MTFJ9wWFpTFqYFjAFdxfSthF1blo1wWHzpOaG/gppszkIM6C4VqPheW8ATCYkXoVdOW7g0WVyy8ZSdHhFYlF4E0SqV1bTEJwKaPAd6S3/aWmHEU4j2Y/D4pJgLHWQAaykd9ENDfSH6SEJkTQGZ/4LkryO1O2DYDbkcHB7DQ6LiSAua9AlQN67SAQl+4Y3KWtt7vq1Os04JuPm04/rrxcUt4M5fnHE00jXMIBgHOor5eyQ7dd+sK6NhPEpAk9IYL4VEuWh5lowLfKE3BUS1RnMwOZtQwNaqwxwMTp0p4Gizzxz0D+0p4PRg1Bw4B1YUED+ZMwctrnkFPF8tm4OmzgkFvN5tK+AHKZh4TU8krdoAAAAASUVORK5CYII=",
  2109. },
  2110. ],
  2111. },
  2112. grid: {
  2113. top: "30%",
  2114. left: "3%",
  2115. right: "4%",
  2116. bottom: "3%",
  2117. containLabel: true,
  2118. },
  2119. xAxis: {
  2120. data: that.riskData1.x,
  2121. type: "category",
  2122. splitLine: {
  2123. show: false,
  2124. },
  2125. alignTicks: true,
  2126. axisLine: {
  2127. show: true,
  2128. lineStyle: {
  2129. color: "rgba(0, 80, 148, .8)",
  2130. },
  2131. },
  2132. axisTick: {
  2133. show: false,
  2134. },
  2135. axisLabel: {
  2136. color: "#fff",
  2137. fontSize: 22,
  2138. rotate: 20,
  2139. },
  2140. },
  2141. yAxis: {
  2142. type: "value",
  2143. splitLine: {
  2144. show: true,
  2145. lineStyle: {
  2146. color: "rgba(104, 180, 221, .2)",
  2147. type: "dashed",
  2148. },
  2149. },
  2150. axisLine: {
  2151. show: false,
  2152. },
  2153. axisTick: {
  2154. show: false,
  2155. },
  2156. axisLabel: {
  2157. color: "#fff",
  2158. fontSize: 22,
  2159. },
  2160. },
  2161. series: [
  2162. {
  2163. type: "bar",
  2164. name: "应首评项目数",
  2165. barWidth: 10,
  2166. // barGap: "600%",
  2167. data: that.riskData1.y1,
  2168. // label: {
  2169. // show: true,
  2170. // position: "top",
  2171. // formatter: " ",
  2172. // width: 6,
  2173. // height: 6,
  2174. // borderRadius: 50,
  2175. // borderWidth: 6,
  2176. // borderColor: "#40A9FF",
  2177. // backgroundColor: "#fff",
  2178. // },
  2179. itemStyle: {
  2180. color: {
  2181. x: 0,
  2182. y: 0,
  2183. x2: 0,
  2184. y2: 1,
  2185. colorStops: [
  2186. {
  2187. offset: 0,
  2188. color: "#40A9FF", // 0% 处的颜色
  2189. },
  2190. {
  2191. offset: 1,
  2192. color: "#092351", // 100% 处的颜色
  2193. },
  2194. ],
  2195. },
  2196. },
  2197. },
  2198. {
  2199. type: "bar",
  2200. name: "已完成首评项目数",
  2201. // barGap: "600%",
  2202. barWidth: 10,
  2203. data: that.riskData1.y2,
  2204. // label: {
  2205. // show: true,
  2206. // position: "top",
  2207. // formatter: " ",
  2208. // width: 6,
  2209. // height: 6,
  2210. // borderRadius: 50,
  2211. // borderWidth: 6,
  2212. // borderColor: "#58F7DF",
  2213. // backgroundColor: "#fff",
  2214. // },
  2215. itemStyle: {
  2216. color: {
  2217. x: 0,
  2218. y: 0,
  2219. x2: 0,
  2220. y2: 1,
  2221. colorStops: [
  2222. {
  2223. offset: 0,
  2224. color: "#58F7DF", // 0% 处的颜色
  2225. },
  2226. {
  2227. offset: 1,
  2228. color: "#092351", // 100% 处的颜色
  2229. },
  2230. ],
  2231. },
  2232. },
  2233. },
  2234. {
  2235. type: "bar",
  2236. name: "应再评项目数",
  2237. // barGap: "600%",
  2238. barWidth: 10,
  2239. data: that.riskData1.y3,
  2240. // label: {
  2241. // show: true,
  2242. // position: "top",
  2243. // formatter: " ",
  2244. // width: 6,
  2245. // height: 6,
  2246. // borderRadius: 50,
  2247. // borderWidth: 6,
  2248. // borderColor: "#B78CFF",
  2249. // backgroundColor: "#fff",
  2250. // },
  2251. itemStyle: {
  2252. color: {
  2253. x: 0,
  2254. y: 0,
  2255. x2: 0,
  2256. y2: 1,
  2257. colorStops: [
  2258. {
  2259. offset: 0,
  2260. color: "#B78CFF", // 0% 处的颜色
  2261. },
  2262. {
  2263. offset: 1,
  2264. color: "#092351", // 100% 处的颜色
  2265. },
  2266. ],
  2267. },
  2268. },
  2269. },
  2270. {
  2271. type: "bar",
  2272. name: "已完成再评项目数",
  2273. // barGap: "600%",
  2274. barWidth: 10,
  2275. data: that.riskData1.y4,
  2276. // label: {
  2277. // show: true,
  2278. // position: "top",
  2279. // formatter: " ",
  2280. // width: 6,
  2281. // height: 6,
  2282. // borderRadius: 50,
  2283. // borderWidth: 6,
  2284. // borderColor: "#FFE036",
  2285. // backgroundColor: "#fff",
  2286. // },
  2287. itemStyle: {
  2288. color: {
  2289. x: 0,
  2290. y: 0,
  2291. x2: 0,
  2292. y2: 1,
  2293. colorStops: [
  2294. {
  2295. offset: 0,
  2296. color: "#FFE036", // 0% 处的颜色
  2297. },
  2298. {
  2299. offset: 1,
  2300. color: "#092351", // 100% 处的颜色
  2301. },
  2302. ],
  2303. },
  2304. },
  2305. },
  2306. {
  2307. type: "bar",
  2308. name: "再评达标项目数",
  2309. // barGap: "600%",
  2310. barWidth: 10,
  2311. data: that.riskData1.y5,
  2312. // label: {
  2313. // show: true,
  2314. // position: "top",
  2315. // formatter: " ",
  2316. // width: 6,
  2317. // height: 6,
  2318. // borderRadius: 50,
  2319. // borderWidth: 6,
  2320. // borderColor: "#7784FF",
  2321. // backgroundColor: "#fff",
  2322. // },
  2323. itemStyle: {
  2324. color: {
  2325. x: 0,
  2326. y: 0,
  2327. x2: 0,
  2328. y2: 1,
  2329. colorStops: [
  2330. {
  2331. offset: 0,
  2332. color: "#7784FF", // 0% 处的颜色
  2333. },
  2334. {
  2335. offset: 1,
  2336. color: "#092351", // 100% 处的颜色
  2337. },
  2338. ],
  2339. },
  2340. },
  2341. },
  2342. ],
  2343. };
  2344. that.right4Chart.setOption(option);
  2345. tools.loopShowTooltip(that.right4Chart, option, {
  2346. interval: 2000,
  2347. loopSeries: true,
  2348. });
  2349. },
  2350. clickItem (index) {
  2351. const angle = 360 / this.investData.investList.length;
  2352. this.witchs = index;
  2353. this.inner = index;
  2354. this.innerDeg = this.witchs * angle;
  2355. this.lpRotate();
  2356. },
  2357. lpRotate () {
  2358. const angle = 360 / this.investData.investList.length;
  2359. clearInterval(this.timer);
  2360. this.timer = setInterval(() => {
  2361. this.inner++;
  2362. this.topIndex++;
  2363. this.topIndex = this.topIndex % 8;
  2364. this.witchs = this.inner % this.investData.investList.length;
  2365. this.innerDeg = this.inner * angle;
  2366. // 项目阶段分析弹窗
  2367. if (this.projectNum2 < 7 && this.projectNum2Stop) {
  2368. this.projectNum2 = this.projectNum2 + 1
  2369. } else if (this.projectNum2Stop) {
  2370. this.projectNum2 = 0
  2371. }
  2372. }, 2000);
  2373. },
  2374. // 转盘计算角度
  2375. filterLpData () {
  2376. const angle = 360 / this.investData.investList.length;
  2377. for (let i in this.investData.investList) {
  2378. this.investData.investList[i].deg = i * angle;
  2379. this.$set(this.investData.investList, i, {
  2380. ...this.investData.investList[i],
  2381. deg: i * angle,
  2382. });
  2383. }
  2384. },
  2385. // 4秒定时器
  2386. time4s () {
  2387. let that = this;
  2388. // 4秒定时器
  2389. this.time1 = setInterval(() => {
  2390. that.industryProportion == 1
  2391. ? (that.industryProportion = 2)
  2392. : (that.industryProportion = 1);
  2393. that.leftEcharts1.dispose();
  2394. that.leftEcharts2.dispose();
  2395. that.leftEcharts3.dispose();
  2396. that.leftEcharts4.dispose();
  2397. that.leftEcharts1Fun();
  2398. that.leftEcharts2Fun();
  2399. that.leftEcharts3Fun();
  2400. that.leftEcharts4Fun();
  2401. }, 4000);
  2402. },
  2403. // 针对投前产业布局分析的定时器
  2404. timeNs () {
  2405. let that = this;
  2406. this.time2 = setInterval(() => {
  2407. if (that.industryLayout < 3) {
  2408. that.industryLayout = that.industryLayout + 1;
  2409. } else {
  2410. that.industryLayout = 0;
  2411. }
  2412. this.time2 && clearInterval(this.time2);
  2413. this.timeNs();
  2414. that.leftEcharts5.dispose();
  2415. that.leftEcharts5Fun();
  2416. }, left1[that.industryLayout].length * 2000);
  2417. },
  2418. // 主辅业占比点击方法
  2419. industryProportionChange (e) {
  2420. let that = this;
  2421. this.industryProportion = e;
  2422. this.time1 && clearInterval(this.time1);
  2423. that.leftEcharts1.dispose();
  2424. that.leftEcharts2.dispose();
  2425. that.leftEcharts3.dispose();
  2426. that.leftEcharts4.dispose();
  2427. that.leftEcharts1Fun();
  2428. that.leftEcharts2Fun();
  2429. that.leftEcharts3Fun();
  2430. that.leftEcharts4Fun();
  2431. this.time4s();
  2432. },
  2433. // 产业布局分析点击方法
  2434. industryLayoutChange (e) {
  2435. this.industryLayout = e;
  2436. this.time2 && clearInterval(this.time2);
  2437. this.leftEcharts5.dispose();
  2438. this.timeNs();
  2439. this.leftEcharts5Fun();
  2440. },
  2441. // 项目阶段分析鼠标经过方法
  2442. projectNum2Fun (e) {
  2443. this.projectNum2 = e
  2444. this.projectNum2Stop = false
  2445. },
  2446. yuanChange (value) {
  2447. return Number((value / 100000000).toFixed(2));
  2448. },
  2449. // 逢三折断
  2450. numFormat (value) {
  2451. if (!value) return "0";
  2452. // var intPart = Number(value).toFixed(0) // 获取整数部分
  2453. var intPart = parseInt(value); // 获取整数部分
  2454. var intPartFormat = intPart
  2455. .toString()
  2456. .replace(/(\d)(?=(?:\d{3})+$)/g, "$1,"); // 将整数部分逢三一断
  2457. var floatPart = ".00"; // 预定义小数部分
  2458. var value2Array = value.toString().split(".");
  2459. // =2表示数据有小数位
  2460. if (value2Array.length === 2) {
  2461. floatPart = value2Array[1].toString(); // 拿到小数部分
  2462. if (floatPart.length === 1) {
  2463. // 补0
  2464. return intPartFormat + "." + floatPart + "0";
  2465. } else {
  2466. floatPart = floatPart.slice(0, 2);
  2467. return intPartFormat + "." + floatPart;
  2468. }
  2469. } else {
  2470. return intPartFormat;
  2471. }
  2472. },
  2473. leftEcharts1Fun () {
  2474. let that = this;
  2475. this.leftEcharts1 = echarts.init(this.$refs["leftEcharts1"]);
  2476. option = {
  2477. title: {
  2478. text: that.industryProportion == 1 ? that.sumPercent(left5[1].y, left5[0].y) : that.sumPercent(left6[0].y, left6[1].y),
  2479. x: "center",
  2480. y: "center",
  2481. textStyle: {
  2482. fontWeight: "normal",
  2483. color: "#68BDFF",
  2484. fontSize: "20",
  2485. },
  2486. },
  2487. color: ["#68BDFF", "#254F7F"],
  2488. series: [
  2489. {
  2490. name: "Line 1",
  2491. type: "pie",
  2492. clockWise: true,
  2493. radius: ["80%", "100%"],
  2494. itemStyle: {
  2495. normal: {
  2496. label: {
  2497. show: false,
  2498. },
  2499. labelLine: {
  2500. show: false,
  2501. },
  2502. },
  2503. },
  2504. hoverAnimation: false,
  2505. data: [
  2506. {
  2507. value: that.industryProportion == 1 ? left5[1].y : left6[0].y,
  2508. name: "01",
  2509. itemStyle: {
  2510. normal: {
  2511. label: {
  2512. show: false,
  2513. },
  2514. labelLine: {
  2515. show: false,
  2516. },
  2517. },
  2518. },
  2519. },
  2520. {
  2521. name: "02",
  2522. value: that.industryProportion == 1 ? left5[0].y : left6[1].y,
  2523. },
  2524. ],
  2525. },
  2526. ],
  2527. };
  2528. //注册
  2529. that.leftEcharts1.setOption(option);
  2530. },
  2531. leftEcharts2Fun () {
  2532. let that = this;
  2533. this.leftEcharts2 = echarts.init(this.$refs["leftEcharts2"]);
  2534. let nameList = ["a"];
  2535. let valueList = that.industryProportion == 1 ? [left5[1].y] : [left6[0].y];
  2536. let total = that.industryProportion == 1 ? left5[1].y + left5[0].y : left6[0].y + left6[1].y
  2537. var category = nameList.map((item, index) => {
  2538. return {
  2539. value: valueList[index],
  2540. itemStyle: {
  2541. color: new echarts.graphic.LinearGradient(
  2542. 1,
  2543. 0,
  2544. 0,
  2545. 1,
  2546. [
  2547. {
  2548. offset: 0,
  2549. color: "#40A9FF50",
  2550. },
  2551. {
  2552. offset: 1,
  2553. color: "#40A9FF",
  2554. },
  2555. ],
  2556. false
  2557. ),
  2558. },
  2559. };
  2560. });
  2561. var totalList = [];
  2562. var totalBorderList = [];
  2563. nameList.map((item, index) => {
  2564. totalList.push({
  2565. value: total,
  2566. itemStyle: {
  2567. color: "rgba(51, 147, 236, 0.29)",
  2568. },
  2569. });
  2570. totalBorderList.push({
  2571. value: total,
  2572. itemStyle: {
  2573. borderColor: "rgba(51, 147, 236, 0.29)",
  2574. color: "transparent",
  2575. },
  2576. });
  2577. });
  2578. var datas = [];
  2579. category.forEach((value) => {
  2580. datas.push(value.value);
  2581. });
  2582. option = {
  2583. // backgroundColor: 'rgb(231,238,249)',
  2584. xAxis: {
  2585. max: total,
  2586. splitLine: {
  2587. show: false,
  2588. },
  2589. axisLine: {
  2590. show: false,
  2591. },
  2592. axisLabel: {
  2593. show: false,
  2594. },
  2595. axisTick: {
  2596. show: false,
  2597. },
  2598. },
  2599. grid: {
  2600. left: "0%",
  2601. top: "15%", // 设置条形图的边距
  2602. right: "19%",
  2603. bottom: "5%",
  2604. },
  2605. yAxis: [
  2606. {
  2607. type: "category",
  2608. inverse: false,
  2609. data: nameList,
  2610. axisLine: {
  2611. show: false,
  2612. },
  2613. axisTick: {
  2614. show: false,
  2615. },
  2616. axisLabel: {
  2617. show: false,
  2618. },
  2619. },
  2620. ],
  2621. series: [
  2622. {
  2623. // 内
  2624. type: "bar",
  2625. barWidth: 16,
  2626. barGap: "20%",
  2627. silent: true,
  2628. data: category,
  2629. z: 1,
  2630. itemStyle: {
  2631. normal: {
  2632. color: new echarts.graphic.LinearGradient(
  2633. 1,
  2634. 0,
  2635. 0,
  2636. 1,
  2637. [
  2638. {
  2639. offset: 0,
  2640. color: "rgba(81, 193, 156, 1)",
  2641. },
  2642. {
  2643. offset: 1,
  2644. color: "rgba(234, 177, 100, 1)",
  2645. },
  2646. ],
  2647. false
  2648. ),
  2649. },
  2650. },
  2651. animationEasing: "elasticOut",
  2652. },
  2653. {
  2654. name: that.industryProportion == 1 ? '主业' : '新建',
  2655. // 分隔
  2656. type: "pictorialBar",
  2657. itemStyle: {
  2658. normal: {
  2659. color: "#143362",
  2660. },
  2661. },
  2662. symbolRepeat: "fixed",
  2663. symbolMargin: 8,
  2664. symbol: "rect",
  2665. symbolClip: false,
  2666. symbolSize: [4, 20],
  2667. symbolPosition: "start",
  2668. symbolOffset: [0, -2],
  2669. symbolBoundingData: total,
  2670. data: [total, total, total, total],
  2671. z: 2,
  2672. animationEasing: "elasticOut",
  2673. },
  2674. {
  2675. // label
  2676. type: "pictorialBar",
  2677. symbolBoundingData: total,
  2678. itemStyle: {
  2679. normal: {
  2680. color: "none",
  2681. },
  2682. },
  2683. label: {
  2684. normal: {
  2685. formatter: (params) => {
  2686. var text;
  2687. text = `${params.value}亿`;
  2688. return text;
  2689. },
  2690. textStyle: {
  2691. // 图列内容样式
  2692. fontSize: "20",
  2693. fontWeight: 800,
  2694. },
  2695. position: "right",
  2696. offset: [0, -3],
  2697. distance: 10, // 向右偏移位置
  2698. show: true,
  2699. color: "#68BDFF",
  2700. },
  2701. },
  2702. data: datas,
  2703. z: 0,
  2704. },
  2705. {
  2706. name: that.industryProportion == 1 ? '主业' : '新建',
  2707. type: "bar",
  2708. barGap: "-130%", // 设置外框粗细
  2709. data: totalBorderList,
  2710. barWidth: 26,
  2711. itemStyle: {
  2712. normal: {
  2713. // barBorderRadius: [5, 5, 5, 5],
  2714. borderWidth: 1, // 边框宽度
  2715. borderColor: "rgb(51, 147, 236)", // 边框色
  2716. color: "rgb(231,238,249)",
  2717. },
  2718. },
  2719. z: 0,
  2720. },
  2721. ],
  2722. };
  2723. that.leftEcharts2.on('click', (params) => {
  2724. that.projectNum = that.industryProportion == 1 ? 2142 : 2143
  2725. that.showChartLTipDouble(params.seriesName, 'left', '投资计划分析', params.seriesName, '', '')
  2726. })
  2727. that.leftEcharts2.setOption(option);
  2728. },
  2729. leftEcharts3Fun () {
  2730. let that = this;
  2731. this.leftEcharts3 = echarts.init(this.$refs["leftEcharts3"]);
  2732. option = {
  2733. title: {
  2734. text: that.industryProportion == 1 ? that.sumPercent(left5[0].y, left5[1].y) : that.sumPercent(left6[1].y, left6[0].y),
  2735. x: "center",
  2736. y: "center",
  2737. textStyle: {
  2738. fontWeight: "normal",
  2739. color: "#68BDFF",
  2740. fontSize: "20",
  2741. },
  2742. },
  2743. color: ["#5BDCC8", "#254F7F"],
  2744. series: [
  2745. {
  2746. name: "Line 1",
  2747. type: "pie",
  2748. clockWise: true,
  2749. radius: ["80%", "100%"],
  2750. itemStyle: {
  2751. normal: {
  2752. label: {
  2753. show: false,
  2754. },
  2755. labelLine: {
  2756. show: false,
  2757. },
  2758. },
  2759. },
  2760. hoverAnimation: false,
  2761. data: [
  2762. {
  2763. value: that.industryProportion == 1 ? left5[0].y : left6[1].y,
  2764. name: "01",
  2765. itemStyle: {
  2766. normal: {
  2767. label: {
  2768. show: false,
  2769. },
  2770. labelLine: {
  2771. show: false,
  2772. },
  2773. },
  2774. },
  2775. },
  2776. {
  2777. name: "02",
  2778. value: that.industryProportion == 1 ? left5[1].y : left6[0].y,
  2779. },
  2780. ],
  2781. },
  2782. ],
  2783. };
  2784. //轮播
  2785. // tools.loopShowTooltip(leftEcharts1, option, {
  2786. // interval: 2000,
  2787. // loopSeries: true,
  2788. // });
  2789. //注册
  2790. that.leftEcharts3.setOption(option);
  2791. },
  2792. leftEcharts4Fun () {
  2793. let that = this;
  2794. this.leftEcharts4 = echarts.init(this.$refs["leftEcharts4"]);
  2795. let nameList = ["a"];
  2796. let valueList = that.industryProportion == 1 ? [left5[0].y] : [left6[1].y];
  2797. let total = that.industryProportion == 1 ? (left5[1].y + left5[0].y) : (left6[0].y + left6[1].y)
  2798. var category = nameList.map((item, index) => {
  2799. return {
  2800. value: valueList[index],
  2801. itemStyle: {
  2802. color: new echarts.graphic.LinearGradient(
  2803. 1,
  2804. 0,
  2805. 0,
  2806. 1,
  2807. [
  2808. {
  2809. offset: 0,
  2810. color: "#5BDCC850",
  2811. },
  2812. {
  2813. offset: 1,
  2814. color: "#5BDCC8",
  2815. },
  2816. ],
  2817. false
  2818. ),
  2819. },
  2820. };
  2821. });
  2822. var totalList = [];
  2823. var totalBorderList = [];
  2824. nameList.map((item, index) => {
  2825. totalList.push({
  2826. value: total,
  2827. itemStyle: {
  2828. color: "rgba(51, 147, 236, 0.29)",
  2829. },
  2830. });
  2831. totalBorderList.push({
  2832. value: total,
  2833. itemStyle: {
  2834. borderColor: "rgba(51, 147, 236, 0.29)",
  2835. color: "transparent",
  2836. },
  2837. });
  2838. });
  2839. var datas = [];
  2840. category.forEach((value) => {
  2841. datas.push(value.value);
  2842. });
  2843. option = {
  2844. // backgroundColor: 'rgb(231,238,249)',
  2845. xAxis: {
  2846. max: total,
  2847. splitLine: {
  2848. show: false,
  2849. },
  2850. axisLine: {
  2851. show: false,
  2852. },
  2853. axisLabel: {
  2854. show: false,
  2855. },
  2856. axisTick: {
  2857. show: false,
  2858. },
  2859. },
  2860. grid: {
  2861. left: "0%",
  2862. top: "15%", // 设置条形图的边距
  2863. right: "19%",
  2864. bottom: "5%",
  2865. },
  2866. yAxis: [
  2867. {
  2868. type: "category",
  2869. inverse: false,
  2870. data: nameList,
  2871. axisLine: {
  2872. show: false,
  2873. },
  2874. axisTick: {
  2875. show: false,
  2876. },
  2877. axisLabel: {
  2878. show: false,
  2879. },
  2880. },
  2881. ],
  2882. series: [
  2883. {
  2884. // 内
  2885. type: "bar",
  2886. barWidth: 16,
  2887. barGap: "20%",
  2888. silent: true,
  2889. // label: {
  2890. // normal: {
  2891. // formatter: (item) => {
  2892. // return `${item['name']}:${item['value']} `;
  2893. // },
  2894. // textStyle: {
  2895. // color: 'rgba(105, 120, 136, 1)',
  2896. // fontSize: 14,
  2897. // },
  2898. // position: [0, '-25px'],
  2899. // show: true,
  2900. // },
  2901. // },
  2902. data: category,
  2903. z: 1,
  2904. itemStyle: {
  2905. normal: {
  2906. color: new echarts.graphic.LinearGradient(
  2907. 1,
  2908. 0,
  2909. 0,
  2910. 1,
  2911. [
  2912. {
  2913. offset: 0,
  2914. color: "rgba(81, 193, 156, 1)",
  2915. },
  2916. {
  2917. offset: 1,
  2918. color: "rgba(234, 177, 100, 1)",
  2919. },
  2920. ],
  2921. false
  2922. ),
  2923. },
  2924. },
  2925. animationEasing: "elasticOut",
  2926. },
  2927. {
  2928. // 分隔
  2929. type: "pictorialBar",
  2930. itemStyle: {
  2931. normal: {
  2932. color: "#143362",
  2933. },
  2934. },
  2935. symbolRepeat: "fixed",
  2936. symbolMargin: 8,
  2937. symbol: "rect",
  2938. symbolClip: false,
  2939. symbolSize: [4, 20],
  2940. symbolPosition: "start",
  2941. symbolOffset: [0, -2],
  2942. symbolBoundingData: total,
  2943. data: [total, total, total, total],
  2944. z: 2,
  2945. animationEasing: "elasticOut",
  2946. },
  2947. {
  2948. // label
  2949. type: "pictorialBar",
  2950. symbolBoundingData: total,
  2951. itemStyle: {
  2952. normal: {
  2953. color: "none",
  2954. },
  2955. },
  2956. label: {
  2957. normal: {
  2958. formatter: (params) => {
  2959. var text;
  2960. text = `${params.value}亿`;
  2961. return text;
  2962. },
  2963. textStyle: {
  2964. // 图列内容样式
  2965. fontSize: "20",
  2966. fontWeight: 800,
  2967. },
  2968. position: "right",
  2969. offset: [0, -3],
  2970. distance: 10, // 向右偏移位置
  2971. show: true,
  2972. color: "#68BDFF",
  2973. },
  2974. },
  2975. data: datas,
  2976. z: 0,
  2977. },
  2978. {
  2979. name: "外框",
  2980. type: "bar",
  2981. barGap: "-130%", // 设置外框粗细
  2982. data: totalBorderList,
  2983. barWidth: 26,
  2984. itemStyle: {
  2985. normal: {
  2986. // barBorderRadius: [5, 5, 5, 5],
  2987. borderWidth: 1, // 边框宽度
  2988. borderColor: "rgb(51, 147, 236)", // 边框色
  2989. color: "rgb(231,238,249)",
  2990. },
  2991. },
  2992. z: 0,
  2993. },
  2994. ],
  2995. };
  2996. //轮播
  2997. // tools.loopShowTooltip(leftEcharts1, option, {
  2998. // interval: 2000,
  2999. // loopSeries: true,
  3000. // });
  3001. //注册
  3002. that.leftEcharts4.setOption(option);
  3003. },
  3004. // 计算百分比
  3005. sumPercent (a, b) {
  3006. return (a / (a + b) * 100).toFixed(2) + '%'
  3007. },
  3008. leftEcharts5Fun () {
  3009. let that = this;
  3010. this.leftEcharts5 = echarts.init(this.$refs["leftEcharts5"]);
  3011. let dataList = [];
  3012. left1[that.industryLayout].forEach((item, index) => {
  3013. dataList[index] = {
  3014. value: item.y,
  3015. name: item.name,
  3016. itemStyle: {
  3017. normal: {
  3018. color: new echarts.graphic.LinearGradient(1, 0, 0, 1, [
  3019. {
  3020. offset: 0,
  3021. color: commonColor2[index], //顶部颜色
  3022. },
  3023. {
  3024. offset: 1,
  3025. color: commonColor[index], // 底部颜色
  3026. },
  3027. ]),
  3028. borderColor: commonColor[index],
  3029. borderWidth: 3,
  3030. },
  3031. },
  3032. };
  3033. });
  3034. let option = {
  3035. tooltip: {
  3036. trigger: "item",
  3037. formatter: function (e) {
  3038. return `<span style="display:inline-block;margin-right:15px;border-radius:10px;width:20px;height:20px;background-color:${e.borderColor
  3039. };"></span>${e.name} ${e.percent}%<br>${e.value}亿 ${left1[that.industryLayout][e.seriesIndex].num
  3040. }个`;
  3041. },
  3042. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  3043. textStyle: {
  3044. color: "#fff",
  3045. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  3046. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  3047. fontSize: "28", // 文字字体大小
  3048. },
  3049. confine: true
  3050. },
  3051. legend: {
  3052. top: "center",
  3053. orient: "vertical",
  3054. left: "65%",
  3055. textStyle: {
  3056. color: "#fff",
  3057. fontSize: 20,
  3058. padding: [0, 20],
  3059. },
  3060. },
  3061. graphic: {
  3062. elements: [
  3063. {
  3064. type: "image", //需要填充图片,配置image,如果不需要图片可以配置其他的, text, circle, sector, ring, polygon, polyline, rect, line, bezierCurve, arc, group,
  3065. style: {
  3066. image: "./img/whiteCircle.png", //这里添加图片地址
  3067. width: 80,
  3068. height: 80,
  3069. },
  3070. left: "37.7%", //
  3071. top: "middle", //配置图片居中
  3072. },
  3073. ],
  3074. },
  3075. series: [
  3076. {
  3077. name: "",
  3078. type: "pie",
  3079. radius: ["20%", "90%"],
  3080. center: ["41%", "50%"],
  3081. labelLine: {
  3082. normal: {
  3083. lineStyle: {
  3084. width: 1,
  3085. },
  3086. },
  3087. },
  3088. label: {
  3089. normal: {
  3090. show: false,
  3091. textStyle: {
  3092. fontSize: 28,
  3093. color: "#fff",
  3094. },
  3095. },
  3096. },
  3097. roseType: "area",
  3098. data: dataList,
  3099. },
  3100. {
  3101. tooltip: {
  3102. show: false,
  3103. },
  3104. type: "pie",
  3105. radius: ["90%", "92%"],
  3106. center: ["41%", "50%"],
  3107. hoverAnimation: false,
  3108. name: "",
  3109. data: [
  3110. {
  3111. name: "",
  3112. value: 0,
  3113. itemStyle: {
  3114. normal: {
  3115. color: "#345189",
  3116. },
  3117. },
  3118. },
  3119. ],
  3120. },
  3121. ],
  3122. };
  3123. that.leftEcharts5.on('click', (params) => {
  3124. let type = ''
  3125. switch (that.industryLayout) {
  3126. case 0: type = '传统产业'
  3127. break;
  3128. case 1: type = '战略性新兴产业'
  3129. break;
  3130. case 2: type = '特色优势产业'
  3131. break;
  3132. case 3: type = '公共基础产业'
  3133. break;
  3134. }
  3135. that.showChartLTipDouble(params.name, 'left', '产业布局分析', type, params.name, '', '', '', '', '', '', 215)
  3136. })
  3137. //轮播
  3138. tools.loopShowTooltip(that.leftEcharts5, option, {
  3139. interval: 2000,
  3140. loopSeries: true,
  3141. });
  3142. //注册
  3143. that.leftEcharts5.setOption(option);
  3144. },
  3145. leftEcharts6Fun () {
  3146. let that = this;
  3147. this.leftEcharts6 = echarts.init(this.$refs["leftEcharts6"]);
  3148. var dataArr = left16[3]
  3149. var colorSet = {
  3150. color: "#22B95E",
  3151. };
  3152. var color1 = {
  3153. type: "linear",
  3154. x: 0,
  3155. y: 0,
  3156. x2: 1,
  3157. y2: 1,
  3158. colorStops: [
  3159. {
  3160. offset: 0,
  3161. color: "rgba(255,255,255,0.1)",
  3162. },
  3163. {
  3164. offset: 1,
  3165. color: "rgba(255,255,255,0.3)",
  3166. },
  3167. ],
  3168. global: false,
  3169. };
  3170. var color2 = {
  3171. type: "linear",
  3172. x: 0,
  3173. y: 0,
  3174. x2: 1,
  3175. y2: 1,
  3176. colorStops: [
  3177. {
  3178. offset: 0,
  3179. color: "#30DBBA",
  3180. },
  3181. {
  3182. offset: 1,
  3183. color: "#2DE696",
  3184. },
  3185. ],
  3186. global: false,
  3187. };
  3188. option = {
  3189. tooltip: {
  3190. formatter: "{a} <br/>{b} : {c}%",
  3191. },
  3192. series: [
  3193. {
  3194. name: "内部进度条",
  3195. type: "gauge",
  3196. // center: ['20%', '50%'],
  3197. radius: "50%",
  3198. splitNumber: 10,
  3199. axisLine: {
  3200. lineStyle: {
  3201. color: [
  3202. [dataArr / 100, "rgba(0,0,0,0)"],
  3203. [1, "rgba(0,0,0,0)"],
  3204. ],
  3205. width: 1,
  3206. },
  3207. },
  3208. axisLabel: {
  3209. show: false,
  3210. },
  3211. axisTick: {
  3212. show: false,
  3213. },
  3214. splitLine: {
  3215. show: false,
  3216. },
  3217. itemStyle: {
  3218. color: "#ffffff",
  3219. },
  3220. detail: {
  3221. formatter: function (value) {
  3222. return (value * 100).toFixed(2)
  3223. },
  3224. offsetCenter: [0, 117],
  3225. textStyle: {
  3226. padding: [0, 0, 0, 0],
  3227. fontSize: 60,
  3228. color: "#58F7DF",
  3229. },
  3230. },
  3231. title: {
  3232. //标题
  3233. show: true,
  3234. offsetCenter: [0, 220], // x, y,单位px
  3235. textStyle: {
  3236. color: "#40A9FF",
  3237. fontSize: 34, //表盘上的标题文字大小
  3238. fontWeight: 400,
  3239. fontFamily: "MicrosoftYaHei",
  3240. },
  3241. },
  3242. data: [
  3243. {
  3244. name: `总额度:${that.numFormat(that.yuanChange(left16[4]))}亿`,
  3245. value: dataArr,
  3246. itemStyle: {
  3247. fontSize: "50", //y轴上方单位的大小
  3248. color: "#FFF666",
  3249. fontFamily: "MicrosoftYaHei",
  3250. },
  3251. },
  3252. ],
  3253. pointer: {
  3254. show: true,
  3255. length: "100%",
  3256. // radius: "20%",
  3257. width: 80, //指针粗细
  3258. // icon: 'path://M2090.36389,615.30999 L2090.36389,615.30999 C2091.48372,615.30999 2092.40383,616.194028 2092.44859,617.312956 L2096.90698,728.755929 C2097.05155,732.369577 2094.2393,735.416212 2090.62566,735.56078 C2090.53845,735.564269 2090.45117,735.566014 2090.36389,735.566014 L2090.36389,735.566014 C2086.74736,735.566014 2083.81557,732.63423 2083.81557,729.017692 C2083.81557,728.930412 2083.81732,728.84314 2083.82081,728.755929 L2088.2792,617.312956 C2088.32396,616.194028 2089.24407,615.30999 2090.36389,615.30999 Z',
  3259. icon: 'image://data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7'
  3260. },
  3261. animationDuration: 4000,
  3262. },
  3263. {
  3264. name: "内部阴影",
  3265. type: "gauge",
  3266. radius: "75%",
  3267. splitNumber: 10,
  3268. axisLine: {
  3269. show: true,
  3270. lineStyle: {
  3271. color: [
  3272. [
  3273. dataArr / 100,
  3274. new echarts.graphic.LinearGradient(0, 1, 0, 0, [
  3275. {
  3276. offset: 0,
  3277. color: "#081947",
  3278. },
  3279. {
  3280. offset: 0.5,
  3281. color: "#5DF5A9",
  3282. },
  3283. {
  3284. offset: 1,
  3285. color: "#F6F16A",
  3286. },
  3287. ]),
  3288. ],
  3289. [1, "#0E4889"],
  3290. ],
  3291. width: 70,
  3292. },
  3293. },
  3294. axisLabel: {
  3295. show: false,
  3296. },
  3297. axisTick: {
  3298. show: false,
  3299. },
  3300. splitLine: {
  3301. show: false,
  3302. },
  3303. itemStyle: {
  3304. show: false,
  3305. },
  3306. },
  3307. {
  3308. name: '',
  3309. type: 'gauge',
  3310. splitNumber: 5, //刻度数量
  3311. min: 0,
  3312. max: 100,
  3313. radius: "90%",
  3314. zlevel: 1,
  3315. axisLine: {
  3316. show: true,
  3317. lineStyle: {
  3318. width: 0,
  3319. shadowBlur: 0,
  3320. color: [
  3321. [0.2, '#23AFAF'],
  3322. [0.4, '#2270DA'],
  3323. [0.6, '#E99D02'],
  3324. [1, '#F45656']
  3325. ],
  3326. }
  3327. },
  3328. axisTick: {
  3329. show: true,
  3330. lineStyle: {
  3331. color: 'auto',
  3332. width: 2
  3333. },
  3334. length: 10,
  3335. splitNumber: 5
  3336. },
  3337. splitLine: {
  3338. show: true,
  3339. length: -12,
  3340. lineStyle: {
  3341. color: 'auto',
  3342. width: 2
  3343. }
  3344. },
  3345. axisLabel: {
  3346. show: true,
  3347. color: "#ffffff",
  3348. fontSize: 20,
  3349. fontFamily: "SourceHanSansSC-Regular",
  3350. // position: "top",
  3351. distance: -30,
  3352. formatter: function (v) {
  3353. switch (v + "") {
  3354. case "0":
  3355. return "0";
  3356. case "10":
  3357. return "10";
  3358. case "20":
  3359. return "20";
  3360. case "30":
  3361. return "30";
  3362. case "40":
  3363. return "40";
  3364. case "50":
  3365. return "50";
  3366. case "60":
  3367. return "60";
  3368. case "70":
  3369. return "70";
  3370. case "80":
  3371. return "80";
  3372. case "90":
  3373. return "90";
  3374. case "100":
  3375. return "100";
  3376. }
  3377. },
  3378. },
  3379. pointer: { //仪表盘指针
  3380. show: 0,
  3381. length: '0%',
  3382. width: 1
  3383. },
  3384. anchor: {
  3385. show: true,
  3386. showAbove: true,
  3387. size: 30,
  3388. itemStyle: {
  3389. color: '#EAEBF1',
  3390. }
  3391. },
  3392. detail: {
  3393. show: false
  3394. },
  3395. data: []
  3396. },
  3397. {
  3398. //指针上的圆
  3399. type: "pie",
  3400. tooltip: {
  3401. show: false,
  3402. },
  3403. hoverAnimation: false,
  3404. legendHoverLink: false,
  3405. radius: ["0%", "4%"],
  3406. center: ["50%", "50%"],
  3407. label: {
  3408. normal: {
  3409. show: false,
  3410. },
  3411. },
  3412. labelLine: {
  3413. normal: {
  3414. show: false,
  3415. },
  3416. },
  3417. data: [
  3418. {
  3419. value: 120,
  3420. itemStyle: {
  3421. normal: {
  3422. color: "#ffffff",
  3423. },
  3424. },
  3425. },
  3426. ],
  3427. },
  3428. ],
  3429. };
  3430. //轮播
  3431. // tools.loopShowTooltip(leftEcharts1, option, {
  3432. // interval: 2000,
  3433. // loopSeries: true,
  3434. // });
  3435. //注册
  3436. that.leftEcharts6.setOption(option);
  3437. },
  3438. leftEcharts7Fun () {
  3439. let that = this;
  3440. this.leftEcharts7 = echarts.init(this.$refs["leftEcharts7"]);
  3441. let option = {
  3442. title: {
  3443. text: "固定资产进度分布",
  3444. textStyle: {
  3445. color: "#fff",
  3446. fontSize: 28,
  3447. fontWeight: 500,
  3448. fontFamily: "Microsoft YaHei",
  3449. },
  3450. top: "20",
  3451. left: "220",
  3452. },
  3453. textStyle: {
  3454. color: "#fff",
  3455. },
  3456. tooltip: {
  3457. show: false,
  3458. trigger: "axis",
  3459. formatter: function (params) {
  3460. var tip =
  3461. params[0].axisValue +
  3462. "<br/>" +
  3463. params[0].marker +
  3464. params[0].data[1] +
  3465. ":" +
  3466. params[0].data[2] +
  3467. "个," +
  3468. params[0].data[3] +
  3469. "亿元" +
  3470. "<br/>" +
  3471. params[1].marker +
  3472. params[1].data[1] +
  3473. ":" +
  3474. params[1].data[2] +
  3475. "个," +
  3476. params[1].data[3] +
  3477. "亿元";
  3478. return tip;
  3479. },
  3480. textStyle: {
  3481. color: "#ffffff", // 文字的颜色
  3482. fontSize: "20", // 文字字体大小
  3483. fontFamily: "Microsoft YaHei",
  3484. },
  3485. axisPointer: {
  3486. // lineStyle: {
  3487. // type: 'dashed',
  3488. // width: 2,
  3489. // color: 'rgba(255,255,255,0.6)'
  3490. // },
  3491. animation: false,
  3492. },
  3493. },
  3494. grid: {
  3495. top: "0%",
  3496. right: "5%",
  3497. left: "17%",
  3498. bottom: "-10%",
  3499. },
  3500. yAxis: {
  3501. data: ["备案类", "特别监管类"],
  3502. splitLine: {
  3503. show: false,
  3504. lineStyle: {
  3505. color: "#68b4dd66",
  3506. type: "dashed",
  3507. },
  3508. },
  3509. axisLine: {
  3510. show: false,
  3511. },
  3512. axisLabel: {
  3513. show: true,
  3514. formatter: "{value}",
  3515. textStyle: {
  3516. color: function (data) {
  3517. if (data == "特别监管类") {
  3518. return "#40A9FF";
  3519. } else if (data == "备案类") {
  3520. return "#5BDCC8";
  3521. }
  3522. },
  3523. fontSize: 20,
  3524. padding: [0, -10, 0, 0],
  3525. fontFamily: "Microsoft YaHei",
  3526. },
  3527. },
  3528. nameTextStyle: {
  3529. color: "#ebf8ac",
  3530. fontSize: 16,
  3531. fontFamily: "Microsoft YaHei",
  3532. },
  3533. },
  3534. xAxis: {
  3535. data: ["项目储备", "项目立项", "可研论证", "投资决策"],
  3536. axisLine: {
  3537. show: true, //隐藏X轴轴线
  3538. lineStyle: {
  3539. color: "red",
  3540. width: 1,
  3541. },
  3542. },
  3543. axisTick: {
  3544. show: false, //隐藏X轴刻度
  3545. },
  3546. axisLabel: {
  3547. show: true,
  3548. textStyle: {
  3549. color: "#fff", //X轴文字颜色
  3550. fontSize: 20,
  3551. padding: [-80, 0, 0, 0],
  3552. fontFamily: "Microsoft YaHei",
  3553. },
  3554. },
  3555. },
  3556. series: [
  3557. {
  3558. name: "特别监管类",
  3559. type: "scatter",
  3560. symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  3561. symbolSize: function (data) {
  3562. return Math.sqrt(data[2]) * 5;
  3563. },
  3564. // label: {
  3565. // emphasis: {
  3566. // show: true,
  3567. // formatter: function (param) {
  3568. // return param.data[2];
  3569. // },
  3570. // position: 'top'
  3571. // }
  3572. // },
  3573. itemStyle: {
  3574. normal: {
  3575. color: "#69c0ff",
  3576. },
  3577. },
  3578. // data: left13[0]
  3579. },
  3580. {
  3581. name: "备案类",
  3582. type: "scatter",
  3583. symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  3584. symbolSize: function (data) {
  3585. return Math.sqrt(data[2]) * 5;
  3586. },
  3587. // label: {
  3588. // emphasis: {
  3589. // show: true,
  3590. // formatter: function (param) {
  3591. // return param.data[2];
  3592. // },
  3593. // position: 'top'
  3594. // }
  3595. // },
  3596. itemStyle: {
  3597. normal: {
  3598. color: "#957DFF",
  3599. },
  3600. },
  3601. // data: left13[1]
  3602. },
  3603. ],
  3604. };
  3605. //轮播
  3606. // tools.loopShowTooltip(leftEcharts1, option, {
  3607. // interval: 2000,
  3608. // loopSeries: true,
  3609. // });
  3610. //注册
  3611. that.leftEcharts7.setOption(option);
  3612. },
  3613. leftEcharts8Fun () {
  3614. let that = this;
  3615. this.leftEcharts8 = echarts.init(this.$refs["leftEcharts8"]);
  3616. let option = {
  3617. title: {
  3618. text: "股权类项目进度分布",
  3619. textStyle: {
  3620. color: "#fff",
  3621. fontSize: 28,
  3622. fontWeight: 500,
  3623. fontFamily: "Microsoft YaHei",
  3624. },
  3625. top: "20",
  3626. left: "220",
  3627. },
  3628. textStyle: {
  3629. color: "#fff",
  3630. },
  3631. tooltip: {
  3632. show: false,
  3633. trigger: "axis",
  3634. formatter: function (params) {
  3635. var tip =
  3636. params[0].axisValue +
  3637. "<br/>" +
  3638. params[0].marker +
  3639. params[0].data[1] +
  3640. ":" +
  3641. params[0].data[2] +
  3642. "个," +
  3643. params[0].data[3] +
  3644. "亿元" +
  3645. "<br/>" +
  3646. params[1].marker +
  3647. params[1].data[1] +
  3648. ":" +
  3649. params[1].data[2] +
  3650. "个," +
  3651. params[1].data[3] +
  3652. "亿元";
  3653. return tip;
  3654. },
  3655. textStyle: {
  3656. color: "#ffffff", // 文字的颜色
  3657. fontSize: "20", // 文字字体大小
  3658. fontFamily: "Microsoft YaHei",
  3659. },
  3660. axisPointer: {
  3661. // lineStyle: {
  3662. // type: 'dashed',
  3663. // width: 2,
  3664. // color: 'rgba(255,255,255,0.6)'
  3665. // },
  3666. animation: false,
  3667. },
  3668. },
  3669. grid: {
  3670. top: "0%",
  3671. right: "5%",
  3672. left: "15%",
  3673. bottom: "-10%",
  3674. },
  3675. yAxis: {
  3676. data: ["备案", "特别监管"],
  3677. splitLine: {
  3678. show: false,
  3679. lineStyle: {
  3680. color: "#68b4dd66",
  3681. type: "dashed",
  3682. },
  3683. },
  3684. axisLine: {
  3685. show: false,
  3686. },
  3687. axisLabel: {
  3688. show: false,
  3689. formatter: "{value}",
  3690. textStyle: {
  3691. color: "#fff",
  3692. fontSize: 20,
  3693. padding: [0, -10, 0, 0],
  3694. fontFamily: "Microsoft YaHei",
  3695. },
  3696. },
  3697. nameTextStyle: {
  3698. color: "#ebf8ac",
  3699. fontSize: 16,
  3700. fontFamily: "Microsoft YaHei",
  3701. },
  3702. },
  3703. xAxis: {
  3704. data: ["项目储备", "项目立项", "可研论证", "投资决策"],
  3705. axisLine: {
  3706. show: true, //隐藏X轴轴线
  3707. lineStyle: {
  3708. color: "red",
  3709. width: 1,
  3710. },
  3711. },
  3712. axisTick: {
  3713. show: false, //隐藏X轴刻度
  3714. },
  3715. axisLabel: {
  3716. show: true,
  3717. textStyle: {
  3718. color: "#fff", //X轴文字颜色
  3719. fontSize: 20,
  3720. padding: [-80, 0, 0, 0],
  3721. fontFamily: "Microsoft YaHei",
  3722. },
  3723. },
  3724. },
  3725. series: [
  3726. {
  3727. name: "特别监管类",
  3728. type: "scatter",
  3729. symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  3730. symbolSize: function (data) {
  3731. return Math.sqrt(data[2]) * 5;
  3732. },
  3733. // label: {
  3734. // emphasis: {
  3735. // show: true,
  3736. // formatter: function (param) {
  3737. // return param.data[2];
  3738. // },
  3739. // position: 'top'
  3740. // }
  3741. // },
  3742. itemStyle: {
  3743. normal: {
  3744. color: "#69c0ff",
  3745. },
  3746. },
  3747. // data: left13[0]
  3748. },
  3749. {
  3750. name: "备案类",
  3751. type: "scatter",
  3752. symbol: "circle", //'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'
  3753. symbolSize: function (data) {
  3754. return Math.sqrt(data[2]) * 5;
  3755. },
  3756. // label: {
  3757. // emphasis: {
  3758. // show: true,
  3759. // formatter: function (param) {
  3760. // return param.data[2];
  3761. // },
  3762. // position: 'top'
  3763. // }
  3764. // },
  3765. itemStyle: {
  3766. normal: {
  3767. color: "#957DFF",
  3768. },
  3769. },
  3770. // data: left13[1]
  3771. },
  3772. ],
  3773. };
  3774. //轮播
  3775. // tools.loopShowTooltip(leftEcharts1, option, {
  3776. // interval: 2000,
  3777. // loopSeries: true,
  3778. // });
  3779. //注册
  3780. that.leftEcharts8.setOption(option);
  3781. },
  3782. shanxiEchartsFun () {
  3783. let that = this;
  3784. let taiyuan = [112.53, 37.87, center5.filter(item => item.name == '太原市')[0].value, center5.filter(item => item.name == '太原市')[0].value2]
  3785. this.geoCoordMap = [];
  3786. /*获取地图数据*/
  3787. this.shanxiMap = echarts.init(this.$refs["shanxi"]);
  3788. echarts.registerMap("china", shanxi);
  3789. var data = center5;
  3790. var geoCoordMap = {
  3791. 太原市: [112.53, 37.87],
  3792. 大同市: [113.3, 40.12],
  3793. 阳泉市: [113.57, 37.85],
  3794. 长治市: [113.08, 36.18],
  3795. 晋城市: [112.83, 35.52],
  3796. 朔州市: [112.43, 39.33],
  3797. 晋中市: [112.94, 37.4],
  3798. 运城市: [110.97, 35.03],
  3799. 忻州市: [112.53, 38.72],
  3800. 临汾市: [111.5, 36.08],
  3801. 吕梁市: [111.13, 37.52],
  3802. };
  3803. var convertData = function (data) {
  3804. var res = [];
  3805. for (var i = 0; i < data.length; i++) {
  3806. var geoCoord = geoCoordMap[data[i].name];
  3807. if (geoCoord) {
  3808. res.push({
  3809. name: data[i].name,
  3810. value: geoCoord.concat(data[i].value, data[i].value2),
  3811. });
  3812. }
  3813. }
  3814. return res;
  3815. };
  3816. var convertedData = [
  3817. convertData(data),
  3818. convertData(
  3819. data
  3820. .sort(function (a, b) {
  3821. return b.value - a.value;
  3822. })
  3823. .slice(0, 6)
  3824. ),
  3825. ];
  3826. data.sort(function (a, b) {
  3827. return a.value - b.value;
  3828. });
  3829. option = {
  3830. backgroundColor: "#404a5900",
  3831. animation: true,
  3832. animationDuration: 1000,
  3833. animationEasing: "cubicInOut",
  3834. animationDurationUpdate: 1000,
  3835. animationEasingUpdate: "cubicInOut",
  3836. geo: {
  3837. map: "china",
  3838. center: [112.53, 37.67],
  3839. zoom: 4.5,
  3840. label: {
  3841. emphasis: {
  3842. show: false,
  3843. },
  3844. },
  3845. roam: false,
  3846. itemStyle: {
  3847. normal: {
  3848. borderColor: "#7fb3ff",
  3849. borderWidth: 3,
  3850. areaColor: {
  3851. type: "radial",
  3852. x: 0.5,
  3853. y: 0.5,
  3854. r: 0.8,
  3855. colorStops: [
  3856. {
  3857. offset: 0,
  3858. color: "#468ff8", // 0% 处的颜色
  3859. },
  3860. {
  3861. offset: 1,
  3862. color: "#0a2c6d", // 100% 处的颜色
  3863. },
  3864. ],
  3865. globalCoord: false, // 缺省为 false
  3866. },
  3867. // shadowColor: 'rgba(128, 217, 248, 1)',
  3868. shadowColor: "#468ff8",
  3869. shadowOffsetX: -2,
  3870. shadowOffsetY: 2,
  3871. shadowBlur: 20,
  3872. },
  3873. emphasis: {
  3874. areaColor: {
  3875. colorStops: [
  3876. {
  3877. offset: 0,
  3878. color: "#3844aa", // 0% 处的颜色
  3879. },
  3880. {
  3881. offset: 1,
  3882. color: "#7284fc", // 100% 处的颜色
  3883. },
  3884. ],
  3885. },
  3886. borderColor: "#b3baff",
  3887. borderWidth: 5,
  3888. },
  3889. },
  3890. tooltip: {
  3891. trigger: "item",
  3892. className: "custom-tooltip-box",
  3893. confine: true, // 不超出当前表
  3894. formatter: (params, ticket, callback) => {
  3895. // 清空所有轮播
  3896. for (var k in geoCoordMap) {
  3897. that.shanxiMap.dispatchAction({
  3898. // type: 'geoUnSelect',
  3899. type: "downplay",
  3900. name: k,
  3901. geoIndex: 0,
  3902. });
  3903. that.shanxiMap.dispatchAction({
  3904. // type: 'geoUnSelect',
  3905. type: "downplay",
  3906. name: k,
  3907. seriesName: params.seriesName,
  3908. });
  3909. that.shanxiMap.dispatchAction({
  3910. // type: 'geoUnSelect',
  3911. type: "downplay",
  3912. name: k,
  3913. seriesName: "series\u00001",
  3914. });
  3915. }
  3916. that.shanxiMap.dispatchAction({
  3917. // type: 'geoSelect',
  3918. type: "highlight",
  3919. name: params.name,
  3920. geoIndex: 0,
  3921. });
  3922. that.shanxiMap.dispatchAction({
  3923. // type: 'geoSelect',
  3924. type: "highlight",
  3925. name: params.name,
  3926. seriesName: params.seriesName,
  3927. });
  3928. that.shanxiMap.dispatchAction({
  3929. // type: 'geoSelect',
  3930. type: "highlight",
  3931. name: params.name,
  3932. seriesName: "series\u00001",
  3933. });
  3934. if (params.value) {
  3935. return `<div class="bgTooltip" style="background: url('${that.commonUrl}/img/shanxi/${params.dataIndex}.png') no-repeat center center;background-size: 100% 100%;font-size:36px">
  3936. <div class="flex items-center">
  3937. <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
  3938. </div>
  3939. <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>
  3940. <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>
  3941. </div>`;
  3942. }
  3943. },
  3944. },
  3945. regions: [
  3946. {
  3947. name: "太原市",
  3948. value: 2000,
  3949. itemStyle: {
  3950. emphasis: {
  3951. borderColor: "#ffe036",
  3952. borderWidth: 5,
  3953. areaColor: {
  3954. type: "radial",
  3955. x: 0.5,
  3956. y: 0.5,
  3957. r: 0.8,
  3958. colorStops: [
  3959. {
  3960. offset: 0,
  3961. color: "#ffe036", // 0% 处的颜色
  3962. },
  3963. {
  3964. offset: 1,
  3965. color: "#7c732a", // 100% 处的颜色
  3966. },
  3967. ],
  3968. globalCoord: false, // 缺省为 false
  3969. },
  3970. },
  3971. },
  3972. },
  3973. {
  3974. name: "南海诸岛",
  3975. itemStyle: {
  3976. // 隐藏地图
  3977. normal: {
  3978. opacity: 0, // 为 0 时不绘制该图形
  3979. },
  3980. },
  3981. label: {
  3982. show: false, // 隐藏文字
  3983. },
  3984. },
  3985. ],
  3986. },
  3987. tooltip: {
  3988. trigger: "item",
  3989. className: "custom-tooltip-box",
  3990. confine: true, // 不超出当前表
  3991. formatter: (e) => {
  3992. console.log('走了这里了', e)
  3993. }
  3994. },
  3995. xAxis: {
  3996. type: "value",
  3997. scale: true,
  3998. position: "top",
  3999. boundaryGap: false,
  4000. splitLine: {
  4001. show: false,
  4002. },
  4003. axisLine: {
  4004. show: false,
  4005. },
  4006. axisTick: {
  4007. show: false,
  4008. },
  4009. axisLabel: {
  4010. margin: 2,
  4011. textStyle: {
  4012. color: "#aaa",
  4013. },
  4014. },
  4015. },
  4016. yAxis: {
  4017. type: "category",
  4018. nameGap: 16,
  4019. axisLine: {
  4020. show: false,
  4021. lineStyle: {
  4022. color: "#ddd",
  4023. },
  4024. },
  4025. axisTick: {
  4026. show: false,
  4027. lineStyle: {
  4028. color: "#ddd",
  4029. },
  4030. },
  4031. axisLabel: {
  4032. interval: 0,
  4033. textStyle: {
  4034. color: "#ddd",
  4035. },
  4036. },
  4037. data: categoryData,
  4038. },
  4039. series: [
  4040. {
  4041. type: "effectScatter",
  4042. colorBy: "data",
  4043. coordinateSystem: "geo",
  4044. data: convertedData[0],
  4045. symbolSize: function (val) {
  4046. return Math.max(val[2] / 500, 8);
  4047. },
  4048. showEffectOn: "emphasis",
  4049. rippleEffect: {
  4050. brushType: "stroke",
  4051. color: "#58F7DF",
  4052. },
  4053. hoverAnimation: true,
  4054. label: {
  4055. normal: {
  4056. formatter: "{b}",
  4057. position: "right",
  4058. show: true,
  4059. fontSize: "30",
  4060. color: "#fff",
  4061. },
  4062. },
  4063. itemStyle: {
  4064. normal: {
  4065. color: "#ffc809",
  4066. shadowBlur: 50,
  4067. shadowColor: "#ffc809",
  4068. },
  4069. emphasis: {
  4070. color: "#58F7DF",
  4071. shadowBlur: 50,
  4072. shadowColor: "#58F7DF",
  4073. },
  4074. },
  4075. zlevel: 99,
  4076. },
  4077. {
  4078. type: "effectScatter",
  4079. colorBy: "data",
  4080. coordinateSystem: "geo",
  4081. data: [
  4082. {
  4083. name: "太原市",
  4084. value: taiyuan,
  4085. },
  4086. ],
  4087. symbolSize: function (val) {
  4088. return Math.max(val[2] / 500, 8);
  4089. },
  4090. showEffectOn: "emphasis",
  4091. rippleEffect: {
  4092. brushType: "stroke",
  4093. color: "#DF62F2",
  4094. },
  4095. hoverAnimation: true,
  4096. label: {
  4097. normal: {
  4098. formatter: "{b}",
  4099. position: "right",
  4100. show: false,
  4101. fontSize: "30",
  4102. color: "#fff",
  4103. },
  4104. },
  4105. itemStyle: {
  4106. normal: {
  4107. color: "#ffc809",
  4108. shadowBlur: 50,
  4109. shadowColor: "#ffc809",
  4110. },
  4111. emphasis: {
  4112. color: "#DF62F2",
  4113. shadowBlur: 50,
  4114. shadowColor: "#DF62F2",
  4115. },
  4116. },
  4117. zlevel: 999,
  4118. },
  4119. ],
  4120. };
  4121. var categoryData = [];
  4122. var barData = [];
  4123. var sum = 0;
  4124. for (var i = 0; i < data.length; i++) {
  4125. categoryData.push(data[i].name);
  4126. barData.push(data[i].value);
  4127. sum += data[i].value;
  4128. }
  4129. this.shanxiMap.on('click', function (params) {
  4130. that.showChartLTipDouble(params.name, 'center', '', '', '', '', 'investmentMap', params.name, '山西省', '', '', 118)
  4131. })
  4132. tools.loopShowTooltip(this.shanxiMap, option, {
  4133. interval: 2000,
  4134. loopSeries: false,
  4135. seriesIndex: 0,
  4136. });
  4137. this.shanxiMap.setOption(option);
  4138. },
  4139. chinaEchartsFun () {
  4140. let that = this;
  4141. this.geoCoordMap = [];
  4142. /*获取地图数据*/
  4143. this.chinaMap = echarts.init(this.$refs["china"]);
  4144. echarts.registerMap("china", china);
  4145. var data = centerChina
  4146. var geoCoordMap = {
  4147. "新疆": [86.9023, 41.148],
  4148. "西藏": [87.8695, 31.6846],
  4149. "内蒙古": [110.5977, 41.3408],
  4150. "青海": [95.2402, 35.4199],
  4151. "四川": [102.9199, 30.1904],
  4152. "黑龙江": [128.1445, 46.7156],
  4153. "甘肃": [102.7129, 38.166],
  4154. "云南": [101.0652, 24.6807],
  4155. "广西": [108.7813, 23.6426],
  4156. "湖南": [111.5332, 27.3779],
  4157. "陕西": [108.5996, 33.7396],
  4158. "广东": [113.8668, 22.8076],
  4159. "吉林": [126.1746, 43.5938],
  4160. "河北": [115.4004, 38.1688],
  4161. "湖北": [112.2363, 30.8572],
  4162. "贵州": [106.6113, 26.6385],
  4163. "山东": [118.2402, 36.2307],
  4164. "江西": [115.7156, 27.99],
  4165. "河南": [113.0668, 33.8818],
  4166. "辽宁": [123.0438, 41.0889],
  4167. "山西": [112.44, 37.73],
  4168. "安徽": [117.2461, 31.0361],
  4169. "福建": [118.3008, 25.9277],
  4170. "浙江": [120.498, 29.0918],
  4171. "江苏": [119.8586, 32.915],
  4172. "重庆": [107.7539, 29.8904],
  4173. "宁夏": [105.9961, 37.1096],
  4174. "海南": [109.9512, 19.2041],
  4175. "台湾": [120.8254, 23.5986],
  4176. "北京": [116.4551, 40.2539],
  4177. "天津": [117.4219, 39.4189],
  4178. "上海": [121.4648, 31.2891],
  4179. "香港": [114.6178, 22.3242],
  4180. "澳门": [113.5547, 21.6484],
  4181. '南海诸岛': [128.8254, 21.5986]
  4182. };
  4183. var convertData = function (data) {
  4184. var res = [];
  4185. for (var i = 0; i < data.length; i++) {
  4186. var geoCoord = geoCoordMap[data[i].name];
  4187. if (geoCoord) {
  4188. res.push({
  4189. name: data[i].name,
  4190. value: geoCoord.concat(data[i].value, data[i].value2),
  4191. });
  4192. }
  4193. }
  4194. return res;
  4195. };
  4196. var convertedData = [
  4197. convertData(data),
  4198. convertData(
  4199. data
  4200. .sort(function (a, b) {
  4201. return b.value - a.value;
  4202. })
  4203. .slice(0, 6)
  4204. ),
  4205. ];
  4206. data.sort(function (a, b) {
  4207. return a.value - b.value;
  4208. });
  4209. option = {
  4210. animation: true,
  4211. animationDuration: 1000,
  4212. animationEasing: "cubicInOut",
  4213. animationDurationUpdate: 1000,
  4214. animationEasingUpdate: "cubicInOut",
  4215. geo: {
  4216. map: "china",
  4217. zoom: 0.9,
  4218. label: {
  4219. emphasis: {
  4220. show: false,
  4221. },
  4222. },
  4223. roam: false,
  4224. itemStyle: {
  4225. normal: {
  4226. borderColor: "#7fb3ff",
  4227. borderWidth: 3,
  4228. areaColor: {
  4229. type: "radial",
  4230. x: 0.5,
  4231. y: 0.5,
  4232. r: 1,
  4233. colorStops: [
  4234. {
  4235. offset: 0,
  4236. color: "#468ff850", // 0% 处的颜色
  4237. },
  4238. {
  4239. offset: 1,
  4240. color: "#0a2c6d50", // 100% 处的颜色
  4241. },
  4242. ],
  4243. globalCoord: false, // 缺省为 false
  4244. },
  4245. // shadowColor: 'rgba(128, 217, 248, 1)',
  4246. shadowColor: "#468ff8",
  4247. shadowOffsetX: -2,
  4248. shadowOffsetY: 2,
  4249. shadowBlur: 10,
  4250. },
  4251. emphasis: {
  4252. areaColor: {
  4253. colorStops: [
  4254. {
  4255. offset: 0,
  4256. color: "#3844aa", // 0% 处的颜色
  4257. },
  4258. {
  4259. offset: 1,
  4260. color: "#7284fc", // 100% 处的颜色
  4261. },
  4262. ],
  4263. },
  4264. borderColor: "#b3baff",
  4265. borderWidth: 5,
  4266. },
  4267. },
  4268. tooltip: {
  4269. trigger: "item",
  4270. className: "custom-tooltip-box",
  4271. confine: true, // 不超出当前表
  4272. formatter: (params, ticket, callback) => {
  4273. // 清空所有轮播
  4274. for (var k in geoCoordMap) {
  4275. that.chinaMap.dispatchAction({
  4276. // type: 'geoUnSelect',
  4277. type: "downplay",
  4278. name: k,
  4279. geoIndex: 0,
  4280. });
  4281. that.chinaMap.dispatchAction({
  4282. // type: 'geoUnSelect',
  4283. type: "downplay",
  4284. name: k,
  4285. seriesName: params.seriesName,
  4286. });
  4287. that.chinaMap.dispatchAction({
  4288. // type: 'geoUnSelect',
  4289. type: "downplay",
  4290. name: k,
  4291. seriesName: "series\u00001",
  4292. });
  4293. }
  4294. that.chinaMap.dispatchAction({
  4295. // type: 'geoSelect',
  4296. type: "highlight",
  4297. name: params.name,
  4298. geoIndex: 0,
  4299. });
  4300. that.chinaMap.dispatchAction({
  4301. // type: 'geoSelect',
  4302. type: "highlight",
  4303. name: params.name,
  4304. seriesName: params.seriesName,
  4305. });
  4306. that.chinaMap.dispatchAction({
  4307. // type: 'geoSelect',
  4308. type: "highlight",
  4309. name: params.name,
  4310. seriesName: "series\u00001",
  4311. });
  4312. if (params.value) {
  4313. return `<div class="bgTooltip" style="background: rgba(50,50,50,0.7);font-size:36px">
  4314. <div class="flex items-center">
  4315. <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
  4316. </div>
  4317. <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>
  4318. <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>
  4319. </div>`;
  4320. }
  4321. },
  4322. },
  4323. regions: [
  4324. {
  4325. name: "山西",
  4326. value: 2000,
  4327. itemStyle: {
  4328. emphasis: {
  4329. borderColor: "#ffe036",
  4330. borderWidth: 5,
  4331. areaColor: {
  4332. type: "radial",
  4333. x: 0.5,
  4334. y: 0.5,
  4335. r: 0.8,
  4336. colorStops: [
  4337. {
  4338. offset: 0,
  4339. color: "#ffe036", // 0% 处的颜色
  4340. },
  4341. {
  4342. offset: 1,
  4343. color: "#7c732a", // 100% 处的颜色
  4344. },
  4345. ],
  4346. globalCoord: false, // 缺省为 false
  4347. },
  4348. },
  4349. },
  4350. },
  4351. ],
  4352. },
  4353. tooltip: {
  4354. trigger: "item",
  4355. className: "custom-tooltip-box",
  4356. confine: true, // 不超出当前表
  4357. },
  4358. xAxis: {
  4359. type: "value",
  4360. scale: true,
  4361. position: "top",
  4362. boundaryGap: false,
  4363. splitLine: {
  4364. show: false,
  4365. },
  4366. axisLine: {
  4367. show: false,
  4368. },
  4369. axisTick: {
  4370. show: false,
  4371. },
  4372. axisLabel: {
  4373. margin: 2,
  4374. textStyle: {
  4375. color: "#aaa",
  4376. },
  4377. },
  4378. },
  4379. yAxis: {
  4380. type: "category",
  4381. nameGap: 16,
  4382. axisLine: {
  4383. show: false,
  4384. lineStyle: {
  4385. color: "#ddd",
  4386. },
  4387. },
  4388. axisTick: {
  4389. show: false,
  4390. lineStyle: {
  4391. color: "#ddd",
  4392. },
  4393. },
  4394. axisLabel: {
  4395. interval: 0,
  4396. textStyle: {
  4397. color: "#ddd",
  4398. },
  4399. },
  4400. data: categoryData,
  4401. },
  4402. series: [
  4403. {
  4404. type: "effectScatter",
  4405. colorBy: "data",
  4406. coordinateSystem: "geo",
  4407. data: convertedData[0],
  4408. symbolSize: function (val) {
  4409. return Math.max(val[2] / 100, 8);
  4410. },
  4411. showEffectOn: "emphasis",
  4412. rippleEffect: {
  4413. brushType: "stroke",
  4414. color: "#58F7DF",
  4415. },
  4416. hoverAnimation: true,
  4417. label: {
  4418. normal: {
  4419. formatter: "{b}",
  4420. position: "right",
  4421. show: true,
  4422. fontSize: "30",
  4423. color: "#fff",
  4424. },
  4425. },
  4426. itemStyle: {
  4427. normal: {
  4428. color: "#ffc809",
  4429. shadowBlur: 50,
  4430. shadowColor: "#ffc809",
  4431. },
  4432. emphasis: {
  4433. color: "#58F7DF",
  4434. shadowBlur: 50,
  4435. shadowColor: "#58F7DF",
  4436. },
  4437. },
  4438. zlevel: 99,
  4439. },
  4440. {
  4441. type: "effectScatter",
  4442. colorBy: "data",
  4443. coordinateSystem: "geo",
  4444. data: [
  4445. {
  4446. name: "山西",
  4447. value: [112.43, 37.73, 53003, 80],
  4448. },
  4449. ],
  4450. symbolSize: function (val) {
  4451. return Math.max(val[2] / 500, 8);
  4452. },
  4453. showEffectOn: "emphasis",
  4454. rippleEffect: {
  4455. brushType: "stroke",
  4456. color: "#DF62F2",
  4457. },
  4458. hoverAnimation: true,
  4459. label: {
  4460. normal: {
  4461. formatter: "{b}",
  4462. position: "right",
  4463. show: false,
  4464. fontSize: "30",
  4465. color: "#fff",
  4466. },
  4467. },
  4468. itemStyle: {
  4469. normal: {
  4470. color: "#ffc809",
  4471. shadowBlur: 50,
  4472. shadowColor: "#ffc809",
  4473. },
  4474. emphasis: {
  4475. color: "#DF62F2",
  4476. shadowBlur: 50,
  4477. shadowColor: "#DF62F2",
  4478. },
  4479. },
  4480. zlevel: 999,
  4481. },
  4482. ],
  4483. };
  4484. var categoryData = [];
  4485. var barData = [];
  4486. var sum = 0;
  4487. for (var i = 0; i < data.length; i++) {
  4488. categoryData.push(data[i].name);
  4489. barData.push(data[i].value);
  4490. sum += data[i].value;
  4491. }
  4492. this.chinaMap.on('click', function (params) {
  4493. if (params.name == '山西') {
  4494. that.chinaMap.dispose()
  4495. that.leftEcharts16.dispose()
  4496. that.mapShow = true
  4497. setTimeout(() => {
  4498. that.leftEcharts12Fun()
  4499. that.leftEcharts14Fun()
  4500. that.leftEcharts9Fun()
  4501. that.leftEcharts15Fun()
  4502. that.leftEcharts13Fun()
  4503. that.centerPenetrateOne('investmentMap', params.name, 3, '', '')
  4504. })
  4505. }
  4506. })
  4507. tools.loopShowTooltip(this.chinaMap, option, {
  4508. interval: 2000,
  4509. loopSeries: false,
  4510. seriesIndex: 0,
  4511. });
  4512. this.chinaMap.setOption(option);
  4513. },
  4514. leftEcharts9Fun () {
  4515. let that = this;
  4516. this.leftEcharts9 = echarts.init(this.$refs["leftEcharts9"]);
  4517. // var ROOT_PATH = 'https://echarts.apache.org/examples';
  4518. let option = {
  4519. backgroundColor: "#00000000",
  4520. globe: {
  4521. globeRadius: 55,
  4522. baseTexture: "./img/3D/world1.jpg",
  4523. heightTexture: "./img/3D/world1.jpg",
  4524. displacementScale: 0.04,
  4525. shading: "realistic",
  4526. // environment: './img/3D/world2.jpg',
  4527. realisticMaterial: {
  4528. roughness: 0.9,
  4529. },
  4530. postEffect: {
  4531. enable: true,
  4532. },
  4533. light: {
  4534. main: {
  4535. intensity: 3,
  4536. shadow: true,
  4537. },
  4538. },
  4539. },
  4540. };
  4541. that.leftEcharts9.setOption(option);
  4542. },
  4543. leftEcharts10Fun () {
  4544. let that = this;
  4545. this.leftEcharts10 = echarts.init(this.$refs["leftEcharts10"]);
  4546. option = {
  4547. grid: {
  4548. top: 45,
  4549. right: 0,
  4550. left: 80,
  4551. bottom: 80,
  4552. },
  4553. tooltip: {
  4554. show: true,
  4555. trigger: "axis",
  4556. // showContent
  4557. formatter: (data) => {
  4558. return `${data[0].name
  4559. }<br /><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[0].color
  4560. }"></span> ${data[0].seriesName}:${that.numFormat(
  4561. data[0].value
  4562. )}亿<br/><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[1].color.colorStops[0].color
  4563. }"></span> ${data[1].seriesName}:${that.numFormat(
  4564. data[1].value
  4565. )}亿`;
  4566. },
  4567. axisPointer: {
  4568. // 坐标轴指示器,坐标轴触发有效
  4569. type: "line", // 默认为直线,可选为:'line' | 'shadow'
  4570. label: {
  4571. margin: 100,
  4572. }
  4573. },
  4574. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  4575. borderColor: "rgba(50,50,50,0.7)",
  4576. textStyle: {
  4577. color: "#fff",
  4578. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  4579. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  4580. fontSize: "28", // 文字字体大小
  4581. },
  4582. },
  4583. xAxis: {
  4584. data: commonCompany,
  4585. axisTick: {
  4586. show: false,
  4587. },
  4588. // x轴的字体颜色
  4589. axisLabel: {
  4590. rotate: 40,
  4591. textStyle: {
  4592. color: "white",
  4593. fontSize: "20",
  4594. fontFamily: "Microsoft YaHei",
  4595. },
  4596. },
  4597. //y轴线的颜色以及宽度
  4598. axisLine: {
  4599. show: true,
  4600. lineStyle: {
  4601. color: "#1E5389",
  4602. width: 1,
  4603. type: "solid",
  4604. },
  4605. },
  4606. },
  4607. yAxis: {
  4608. name: "亿",
  4609. axisTick: {
  4610. lineStyle: {
  4611. color: "#18416F",
  4612. },
  4613. },
  4614. // y轴的字体颜色
  4615. axisLabel: {
  4616. textStyle: {
  4617. color: "white",
  4618. fontSize: "20",
  4619. fontFamily: "Microsoft YaHei",
  4620. },
  4621. },
  4622. splitLine: {
  4623. show: true,
  4624. lineStyle: {
  4625. color: "#68b4dd66",
  4626. width: 1,
  4627. type: "dashed",
  4628. },
  4629. },
  4630. //y轴线的颜色以及宽度
  4631. axisLine: {
  4632. show: true,
  4633. lineStyle: {
  4634. color: "#1E5389",
  4635. width: 1,
  4636. type: "solid",
  4637. },
  4638. },
  4639. nameTextStyle: {
  4640. color: "#fff",
  4641. fontSize: 20,
  4642. fontFamily: "Microsoft YaHei",
  4643. },
  4644. },
  4645. series: [
  4646. {
  4647. name: "已用额度",
  4648. type: "pictorialBar",
  4649. symbol: "fixed",
  4650. symbolSize: [20, 5],
  4651. symbolMargin: 2,
  4652. symbolRepeat: "repeat",
  4653. data: left3[0],
  4654. showBackground: false,
  4655. barWidth: "15",
  4656. itemStyle: {
  4657. color: "#40A9FF",
  4658. },
  4659. zlevel: 1,
  4660. },
  4661. {
  4662. name: "总额度",
  4663. type: "pictorialBar",
  4664. symbol: "fixed",
  4665. symbolSize: [30, 5],
  4666. symbolMargin: 2,
  4667. symbolRepeat: "repeat",
  4668. data: left3[2],
  4669. barGap: "-130%",
  4670. barWidth: "25",
  4671. itemStyle: {
  4672. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
  4673. {
  4674. offset: 0,
  4675. color: "#b9b7c030",
  4676. },
  4677. {
  4678. offset: 1,
  4679. color: "#b9b7c030",
  4680. },
  4681. ]),
  4682. },
  4683. },
  4684. ],
  4685. };
  4686. //轮播
  4687. tools.loopShowTooltip(that.leftEcharts10, option, {
  4688. interval: 2000,
  4689. loopSeries: true,
  4690. });
  4691. //注册
  4692. that.leftEcharts10.setOption(option);
  4693. },
  4694. // 重点项目两线指标轮播方法
  4695. scrollChange (index) {
  4696. if (index == 18) {
  4697. this.count = -1;
  4698. } else {
  4699. this.count = index;
  4700. }
  4701. if (this.count > 12 && this.count != 18) {
  4702. this.countType = 1;
  4703. } else {
  4704. this.countType = 0;
  4705. }
  4706. for (var i = 0; i < this.list.length; i++) {
  4707. if (i == 2) {
  4708. this.list[i].classList.add("light");
  4709. } else {
  4710. this.list[i].classList.remove("light");
  4711. }
  4712. }
  4713. this.leftEcharts11 ? this.leftEcharts11.dispose() : "";
  4714. this.leftEcharts11Fun();
  4715. },
  4716. leftEcharts11Fun () {
  4717. let that = this;
  4718. this.leftEcharts11 = echarts.init(this.$refs["leftEcharts11"]);
  4719. option = {
  4720. tooltip: {
  4721. trigger: "axis",
  4722. formatter:
  4723. "指标:" +
  4724. "{c0}" +
  4725. "<br/>" +
  4726. "发展线:" +
  4727. "{c1}" +
  4728. "<br/>" +
  4729. "生存线:" +
  4730. "{c2}", //+ '<br/>'+ '{a1}:{c1}' + '%',
  4731. axisPointer: {
  4732. type: "shadow",
  4733. },
  4734. backgroundColor: "rgba(50,50,50,0.7)",
  4735. borderColor: "rgba(50,50,50,0.7)",
  4736. textStyle: {
  4737. color: "#fff",
  4738. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  4739. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  4740. fontSize: "28", // 文字字体大小
  4741. }
  4742. },
  4743. grid: {
  4744. top: "10%",
  4745. right: "5%",
  4746. left: "15%",
  4747. bottom: "20%",
  4748. },
  4749. xAxis: {
  4750. data: that.storageRecordConfig.data.length == 0 ? [] : that.left12Bottom[this.count + 1],
  4751. axisLine: {
  4752. show: true, //隐藏X轴轴线
  4753. lineStyle: {
  4754. color: "#005094",
  4755. width: 1,
  4756. },
  4757. },
  4758. axisTick: {
  4759. show: true, //隐藏X轴刻度
  4760. },
  4761. axisLabel: {
  4762. show: true,
  4763. rotate: 30,
  4764. textStyle: {
  4765. color: "#fff", //X轴文字颜色
  4766. fontSize: 20,
  4767. fontFamily: "Microsoft YaHei",
  4768. },
  4769. },
  4770. },
  4771. yAxis: [
  4772. {
  4773. type: "value",
  4774. splitLine: {
  4775. show: true,
  4776. lineStyle: {
  4777. color: "#68b4dd66",
  4778. type: "dashed",
  4779. },
  4780. },
  4781. axisLine: {
  4782. show: false,
  4783. },
  4784. axisLabel: {
  4785. show: true,
  4786. formatter: "{value}%",
  4787. textStyle: {
  4788. color: "#fff",
  4789. fontSize: 20,
  4790. fontFamily: "Microsoft YaHei",
  4791. },
  4792. },
  4793. nameTextStyle: {
  4794. color: "#ebf8ac",
  4795. fontSize: 16,
  4796. fontFamily: "Microsoft YaHei",
  4797. },
  4798. },
  4799. ],
  4800. series: [
  4801. {
  4802. name: "实际值",
  4803. type: "bar",
  4804. barWidth: 20,
  4805. itemStyle: {
  4806. normal: {
  4807. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  4808. {
  4809. offset: 0,
  4810. color: "#69c0ff",
  4811. },
  4812. {
  4813. offset: 1,
  4814. color: "#082550",
  4815. },
  4816. ]),
  4817. },
  4818. },
  4819. data: dataList[this.count + 1][1],
  4820. // data: this.storageRecordConfig.data.length == 0 ? [] : this.storageRecordConfig.data.length == 1 ? left12[this.count][2] : left12[this.count + 1][2]
  4821. },
  4822. {
  4823. name: "",
  4824. type: "line",
  4825. barWidth: 15,
  4826. itemStyle: {
  4827. normal: {
  4828. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  4829. {
  4830. offset: 0,
  4831. color: "#69c0ff",
  4832. },
  4833. {
  4834. offset: 1,
  4835. color: "green",
  4836. },
  4837. ]),
  4838. },
  4839. },
  4840. data: dataList[this.count + 1][1],
  4841. // data: this.storageRecordConfig.data.length == 0 ? [] : this.storageRecordConfig.data.length == 1 ? left12[this.count][1] : left12[this.count + 1][1]
  4842. },
  4843. {
  4844. name: "",
  4845. type: "line",
  4846. barWidth: 15,
  4847. itemStyle: {
  4848. normal: {
  4849. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  4850. {
  4851. offset: 0,
  4852. color: "#69c0ff",
  4853. },
  4854. {
  4855. offset: 1,
  4856. color: "yellow",
  4857. },
  4858. ]),
  4859. },
  4860. },
  4861. data: dataList[this.count + 1][0],
  4862. // data: this.storageRecordConfig.data.length == 0 ? [] : this.storageRecordConfig.data.length == 1 ? left12[this.count][0] : left12[this.count + 1][0]
  4863. },
  4864. ],
  4865. };
  4866. //轮播
  4867. tools.loopShowTooltip(that.leftEcharts11, option, {
  4868. interval: 2000,
  4869. loopSeries: true,
  4870. });
  4871. //注册
  4872. that.leftEcharts11.setOption(option);
  4873. },
  4874. leftEcharts12Fun () {
  4875. let that = this;
  4876. this.leftEcharts12 = echarts.init(this.$refs["leftEcharts12"]);
  4877. var totalData = center2
  4878. var data = [];
  4879. for (var i = 0; i < totalData.length; i++) {
  4880. data.push({
  4881. value: totalData[i].value,
  4882. name: totalData[i].name,
  4883. itemStyle: {
  4884. normal: {
  4885. borderWidth: 8,
  4886. shadowBlur: 0,
  4887. borderColor: commonColor[i],
  4888. shadowColor: commonColor[i]
  4889. }
  4890. }
  4891. },
  4892. {
  4893. value: 5,
  4894. name: '',
  4895. tooltip: { show: false },
  4896. itemStyle: {
  4897. normal: {
  4898. label: {
  4899. show: false
  4900. },
  4901. labelLine: {
  4902. show: false
  4903. },
  4904. color: 'rgba(0, 0, 0, 0)',
  4905. borderColor: 'rgba(0, 0, 0, 0)',
  4906. borderWidth: 0
  4907. }
  4908. }
  4909. }
  4910. );
  4911. }
  4912. var seriesOption = [
  4913. {
  4914. name: '',
  4915. type: 'pie',
  4916. clockWise: false,
  4917. radius: [160, 170],
  4918. center: [340, 250],
  4919. hoverAnimation: true,
  4920. itemStyle: {
  4921. normal: {
  4922. label: {
  4923. show: false,
  4924. }
  4925. }
  4926. },
  4927. data: data
  4928. },
  4929. ];
  4930. option = {
  4931. color: commonColor,
  4932. title: {
  4933. show: false,
  4934. text: '风险类型123',
  4935. top: '48%',
  4936. textAlign: "center",
  4937. left: "49%",
  4938. textStyle: {
  4939. color: '#fff',
  4940. fontSize: 18,
  4941. fontWeight: '400'
  4942. }
  4943. },
  4944. tooltip: {
  4945. show: true,
  4946. formatter: function (params) {
  4947. left2[0] = that.numDiv(params.percent + 3.2, 100)
  4948. if (params.seriesIndex === 2) {
  4949. return null; // 隐藏部分2的tooltip
  4950. } else {
  4951. that.stageTitle4 = params.name
  4952. that.stageTitle3 = params.percent + '%'
  4953. return `${params.name}:<br/>金额:<b>${totalData[params.seriesIndex].num}</b>亿<br/>数量:<b>${params.value}</b>个`
  4954. }
  4955. },
  4956. confine: true,
  4957. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  4958. borderColor: "rgba(50,50,50,0.7)",
  4959. textStyle: {
  4960. color: "#fff",
  4961. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  4962. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  4963. fontSize: "28", // 文字字体大小
  4964. }
  4965. },
  4966. legend: {
  4967. icon: "circle",
  4968. orient: 'vertical',
  4969. data: totalData.map(item => item.name),
  4970. left: '5%',
  4971. bottom: 0,
  4972. align: 'left',
  4973. textStyle: {
  4974. color: '#FFF', // 文字的颜色
  4975. fontSize: '20', // 文字字体大小
  4976. fontFamily: 'Microsoft YaHei'
  4977. },
  4978. itemGap: 20
  4979. },
  4980. toolbox: {
  4981. show: false
  4982. },
  4983. graphic: [{
  4984. type: 'image',
  4985. id: 'background',
  4986. left: 210,
  4987. top: "center",
  4988. zlevel: 0,
  4989. silent: true,
  4990. style: {
  4991. width: 260, // 设置图片宽度
  4992. height: 260, // 设置图片高度
  4993. image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtcAAALTCAYAAADdHy5LAABErklEQVR42uzd+X9V1aH47/tHfBUHHHAIAgFklpnIPEpknucAgRACIWEICiIICAgyCQLKICiTKIiIaGudql5trVarVqvXVq3W6epVb227vj3pp143J0D2MYEkPD88r1dtC4n7nLP2Oytrr/Uf/98VE/4DAAD46VwEAAAQ1wAAIK4BAEBcAwAA4hoAAMQ1AP+n05QD4dqs3aH1yO2h+eBNofH168LVPW4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7VF/9tZc00Ltn+lxI1nFJP/np2chKTsUuDMMvumYEDIc+ozPE/d6NIBgHANAHCVqf2OzKmzR3DHFhy3bQATi85o9pazto7ZlKeYUo+sfT/a2vClR/5s1XBtDlExZSiOqkv2cB5Ttx6VU2+7fPjHlWhQxHp5jMmX2UjIYSsAQLgGgLbfDcUrTT0GZaj3sFy7ybF/8Eo9Er5OPlEbNSxmi91wOGpWhT0ExdSQM2YAQLgGAAAACNcAAAAACNcAAAAA4RoAAAAgXAMAAACEawYBAAAAIFwDAAAAbchf3No1D1dehSIAAAAASUVORK5CYII="
  4994. }
  4995. }],
  4996. series: seriesOption
  4997. }
  4998. function _pie3 () {
  4999. let dataArr = [];
  5000. for (var i = 0; i < 100; i++) {
  5001. if (i % 2 === 0) {
  5002. dataArr.push({
  5003. name: (i + 1).toString(),
  5004. value: 25,
  5005. tooltip: { show: false },
  5006. itemStyle: {
  5007. normal: {
  5008. color: "#5A5DE0",
  5009. borderWidth: 1,
  5010. borderColor: "#5A5DE0"
  5011. }
  5012. }
  5013. })
  5014. } else {
  5015. dataArr.push({
  5016. name: (i + 1).toString(),
  5017. value: 20,
  5018. tooltip: { show: false },
  5019. itemStyle: {
  5020. normal: {
  5021. color: "rgba(0,0,0,0)",
  5022. borderWidth: 0,
  5023. borderColor: "rgba(0,0,0,0)"
  5024. }
  5025. }
  5026. })
  5027. }
  5028. }
  5029. console.log(dataArr);
  5030. return dataArr
  5031. }
  5032. that.leftEcharts12.on('click', (params) => {
  5033. that.showChartLTipDouble(params.name, 'center', '', '', '', '', 'distribution', center2.filter(item => item.name == params.name)[0].typeno, 'industry', center2.filter(item => item.name == params.name)[0].typeno, 1, 112)
  5034. })
  5035. //轮播
  5036. tools.loopShowTooltip(that.leftEcharts12, option, {
  5037. interval: 1000,
  5038. loopSeries: true,
  5039. });
  5040. //注册
  5041. that.leftEcharts12.setOption(option);
  5042. },
  5043. leftEcharts13Fun () {
  5044. let that = this;
  5045. this.leftEcharts13 = echarts.init(this.$refs["leftEcharts13"]);
  5046. var totalData = [{
  5047. name: '特别监管类',
  5048. value: 12,
  5049. radio: 0.13
  5050. }, {
  5051. name: '备案类',
  5052. value: 52,
  5053. radio: 0.01
  5054. },
  5055. ];
  5056. var data = [];
  5057. for (var i = 0; i < totalData.length; i++) {
  5058. data.push({
  5059. value: totalData[i].value,
  5060. name: totalData[i].name,
  5061. itemStyle: {
  5062. normal: {
  5063. borderWidth: 8,
  5064. shadowBlur: 0,
  5065. borderColor: commonColor[i],
  5066. shadowColor: commonColor[i]
  5067. }
  5068. }
  5069. },
  5070. {
  5071. value: 5,
  5072. name: '',
  5073. tooltip: { show: false },
  5074. itemStyle: {
  5075. normal: {
  5076. label: {
  5077. show: false
  5078. },
  5079. labelLine: {
  5080. show: false
  5081. },
  5082. color: 'rgba(0, 0, 0, 0)',
  5083. borderColor: 'rgba(0, 0, 0, 0)',
  5084. borderWidth: 0
  5085. }
  5086. }
  5087. }
  5088. );
  5089. }
  5090. var seriesOption = [
  5091. {
  5092. name: '',
  5093. type: 'pie',
  5094. clockWise: false,
  5095. radius: [160, 170],
  5096. center: [350, 250],
  5097. hoverAnimation: true,
  5098. itemStyle: {
  5099. normal: {
  5100. label: {
  5101. show: false,
  5102. }
  5103. }
  5104. },
  5105. data: data
  5106. },
  5107. {
  5108. type: 'pie',
  5109. tooltip: { show: false },
  5110. radius: [120, 120],
  5111. center: [350, 250],
  5112. zlevel: 3,
  5113. silent: true,
  5114. label: {
  5115. normal: {
  5116. show: false
  5117. },
  5118. },
  5119. labelLine: {
  5120. normal: {
  5121. show: false
  5122. }
  5123. },
  5124. data: _pie3()
  5125. }
  5126. ];
  5127. option = {
  5128. color: commonColor,
  5129. title: {
  5130. show: false,
  5131. text: '35%',
  5132. top: '40%',
  5133. textAlign: "center",
  5134. left: "50%",
  5135. textStyle: {
  5136. fontWeight: '600',
  5137. fontFamily: 'Microsoft YaHei',
  5138. fontSize: '50',
  5139. color: "#58E6F7", // x轴文字颜色
  5140. }
  5141. },
  5142. tooltip: {
  5143. show: true,
  5144. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  5145. borderColor: "rgba(50,50,50,0.7)",
  5146. confine: true,
  5147. textStyle: {
  5148. color: "#fff",
  5149. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  5150. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  5151. fontSize: "28", // 文字字体大小
  5152. },
  5153. formatter: (params) => {
  5154. that.stageTitle = params.name
  5155. that.stageTitle2 = params.percent + '%'
  5156. return `${params.name}:<br/>金额:<b>${totalData[params.seriesIndex].radio}</b>亿<br/>数量:<b>${params.value}</b>个`
  5157. }
  5158. },
  5159. legend: {
  5160. icon: "circle",
  5161. orient: 'vertical',
  5162. data: ['特别监管类', '备案类'],
  5163. right: '15%',
  5164. bottom: 0,
  5165. align: 'left',
  5166. textStyle: {
  5167. color: '#FFF', // 文字的颜色
  5168. fontSize: '20', // 文字字体大小
  5169. },
  5170. itemGap: 20
  5171. },
  5172. toolbox: {
  5173. show: false
  5174. },
  5175. series: seriesOption
  5176. }
  5177. function _pie3 () {
  5178. let dataArr = [];
  5179. for (var i = 0; i < 1; i++) {
  5180. if (i % 2 === 0) {
  5181. dataArr.push({
  5182. name: (i + 1).toString(),
  5183. value: 25,
  5184. tooltip: { show: false },
  5185. itemStyle: {
  5186. normal: {
  5187. color: "#5A5DE0",
  5188. borderWidth: 1,
  5189. borderColor: "#5A5DE0"
  5190. }
  5191. }
  5192. })
  5193. } else {
  5194. dataArr.push({
  5195. name: (i + 1).toString(),
  5196. value: 20,
  5197. tooltip: { show: false },
  5198. itemStyle: {
  5199. normal: {
  5200. color: "rgba(0,0,0,0)",
  5201. borderWidth: 0,
  5202. borderColor: "rgba(0,0,0,0)"
  5203. }
  5204. }
  5205. })
  5206. }
  5207. }
  5208. return dataArr
  5209. }
  5210. //轮播
  5211. tools.loopShowTooltip(that.leftEcharts13, option, {
  5212. interval: 1000,
  5213. loopSeries: true,
  5214. });
  5215. //注册
  5216. that.leftEcharts13.setOption(option);
  5217. },
  5218. leftEcharts14Fun () {
  5219. let that = this;
  5220. this.leftEcharts14 = echarts.init(this.$refs["leftEcharts14"]);
  5221. that.leftEcharts14.on("showTip", (params) => {
  5222. // 如果是7或者15并且满足防抖则切换
  5223. if (
  5224. (params.dataIndex == 5 || params.dataIndex == 11) &&
  5225. that.echartC1Fd1
  5226. ) {
  5227. that.echartC1Fd1 = false;
  5228. setTimeout(() => {
  5229. option.dataZoom[0].endValue = option.dataZoom[0].endValue + 6;
  5230. option.dataZoom[0].startValue = option.dataZoom[0].startValue + 6;
  5231. that.leftEcharts14.setOption(option);
  5232. // 防止勿刷新做的防抖
  5233. setTimeout(() => {
  5234. that.echartC1Fd1 = true;
  5235. }, 2000);
  5236. }, 1900);
  5237. // 如果是17表示到了最后一个,那么重新来一遍
  5238. } else if (params.dataIndex == 17 && that.echartC1Fd1) {
  5239. that.echartC1Fd1 = false;
  5240. setTimeout(() => {
  5241. option.dataZoom[0].endValue = 0;
  5242. option.dataZoom[0].startValue = 5;
  5243. that.leftEcharts14.setOption(option);
  5244. // 防止勿刷新做的防抖
  5245. setTimeout(() => {
  5246. that.echartC1Fd1 = true;
  5247. }, 2000);
  5248. }, 1900);
  5249. }
  5250. });
  5251. let option = {
  5252. dataZoom: [
  5253. {
  5254. type: "slider",
  5255. show: false,
  5256. yAxisIndex: 0,
  5257. handlesize: 0, //滑动条的 左右2个滑动条的大小
  5258. startValue: 5, // 初始显示值
  5259. endValue: 0, // 结束显示值
  5260. height: 10, //组件高度
  5261. left: "5%",
  5262. right: "4%", //右边的距离
  5263. bottom: "25%", //底边的距离
  5264. borderColor: "#939",
  5265. fillerColor: "#269cdb",
  5266. borderRadius: 5,
  5267. backgroundColor: "#33384b", //两边未选中的滑动条区域的额色
  5268. showDataShadow: false, //是否显示数据阴影
  5269. showDetail: false, //即拖拽时候是否显示详细数值信息
  5270. truerealtime: true, //是否实时更新
  5271. filterMode: "filter",
  5272. }
  5273. ],
  5274. tooltip: {
  5275. show: true,
  5276. trigger: "axis",
  5277. // formatter: (data) => {
  5278. // return `${data[0].name
  5279. // }<br /><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[0].color
  5280. // }"></span> ${data[0].seriesName}:${that.numFormat(
  5281. // data[0].value
  5282. // )}亿<br/><span style="display:inline-block;border-radius:50%; width:20px;height:20px;background-color:${data[1].color.colorStops[0].color
  5283. // }"></span> ${data[1].seriesName}:${that.numFormat(
  5284. // data[1].value
  5285. // )}亿`;
  5286. // },
  5287. axisPointer: {
  5288. // 坐标轴指示器,坐标轴触发有效
  5289. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  5290. },
  5291. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  5292. borderColor: "rgba(50,50,50,0.7)",
  5293. textStyle: {
  5294. color: "#fff",
  5295. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  5296. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  5297. fontSize: "28", // 文字字体大小
  5298. },
  5299. },
  5300. legend: {
  5301. top: "top",
  5302. textStyle: {
  5303. color: "#fff",
  5304. fontSize: 20,
  5305. padding: [0, 20],
  5306. },
  5307. },
  5308. grid: {
  5309. left: '3%',
  5310. right: '7%',
  5311. bottom: '3%',
  5312. containLabel: true
  5313. },
  5314. xAxis: {
  5315. name: '亿',
  5316. nameTextStyle: {
  5317. color: '#fff',
  5318. fontSize: 20,
  5319. fontFamily: 'Microsoft YaHei'
  5320. },
  5321. type: 'value',
  5322. axisLabel: {
  5323. textStyle: {
  5324. color: "white",
  5325. fontSize: '20',
  5326. fontFamily: 'Microsoft YaHei'
  5327. },
  5328. },
  5329. splitLine: {
  5330. show: true,
  5331. lineStyle: {
  5332. color: "#68b4dd66",
  5333. width: 1,
  5334. type: "dashed",
  5335. },
  5336. },
  5337. },
  5338. yAxis: {
  5339. type: 'category',
  5340. inverse: true,
  5341. axisTick: {
  5342. lineStyle: {
  5343. color: "#18416F",
  5344. },
  5345. },
  5346. // y轴的字体颜色
  5347. axisLabel: {
  5348. textStyle: {
  5349. color: "white",
  5350. fontSize: '20',
  5351. fontFamily: 'Microsoft YaHei'
  5352. },
  5353. },
  5354. splitLine: {
  5355. show: false,
  5356. lineStyle: {
  5357. color: "#68b4dd66",
  5358. width: 1,
  5359. type: "dashed",
  5360. },
  5361. },
  5362. //y轴线的颜色以及宽度
  5363. axisLine: {
  5364. show: true,
  5365. lineStyle: {
  5366. color: "#1E5389",
  5367. width: 1,
  5368. type: "solid",
  5369. },
  5370. },
  5371. nameTextStyle: {
  5372. color: '#fff',
  5373. fontSize: 20,
  5374. fontFamily: 'Microsoft YaHei'
  5375. },
  5376. data: (center3.map(item => item.name).reverse())
  5377. },
  5378. series: [
  5379. {
  5380. name: '实际投资',
  5381. type: 'bar',
  5382. data: (center3.map(item => item.value)).reverse(),
  5383. barGap: '-145%',
  5384. barWidth: "15",
  5385. zlevel: 10,
  5386. itemStyle: {
  5387. barBorderRadius: [0, 20, 20, 0],
  5388. color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  5389. {
  5390. offset: 0,
  5391. color: '#0F357C',
  5392. },
  5393. {
  5394. offset: 1,
  5395. color: '#B78CFF',
  5396. },
  5397. ]),
  5398. },
  5399. },
  5400. {
  5401. name: '计划投资',
  5402. type: 'bar',
  5403. data: (center3.map(item => item.value2)).reverse(),
  5404. barWidth: "30",
  5405. itemStyle: {
  5406. barBorderRadius: [0, 50, 50, 0],
  5407. borderColor: '#B78CFF',
  5408. color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  5409. {
  5410. offset: 0,
  5411. color: '#0F357C80',
  5412. },
  5413. {
  5414. offset: 1,
  5415. color: '#10417F80',
  5416. },
  5417. ]),
  5418. },
  5419. }
  5420. ]
  5421. };
  5422. that.leftEcharts14.on('click', (params) => {
  5423. params.seriesName == '计划投资' ? that.projectNum = 1131 : that.projectNum = 1132
  5424. that.centerPenetrateTwo('', '', that.findCode(params.name), params.seriesName == '计划投资' ? 2 : 1)
  5425. })
  5426. //轮播
  5427. tools.loopShowTooltip(that.leftEcharts14, option, {
  5428. interval: 2000,
  5429. loopSeries: true,
  5430. });
  5431. //注册
  5432. that.leftEcharts14.setOption(option);
  5433. },
  5434. leftEcharts15Fun () {
  5435. let that = this;
  5436. this.leftEcharts15 = echarts.init(this.$refs["leftEcharts15"]);
  5437. var xdata = ['煤炭和煤电', '煤电和新能源', '煤炭和化工', '煤炭和数字', '煤炭和降碳'];
  5438. var data = center6;
  5439. option = {
  5440. tooltip: {
  5441. show: true,
  5442. trigger: "axis",
  5443. formatter: data => {
  5444. return `${data[0].name}<br />投资金额:${data[0].value}亿`
  5445. },
  5446. axisPointer: {
  5447. // 坐标轴指示器,坐标轴触发有效
  5448. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  5449. },
  5450. backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
  5451. borderColor: "rgba(50,50,50,0.7)",
  5452. textStyle: {
  5453. color: "#fff",
  5454. fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
  5455. fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
  5456. fontSize: "28", // 文字字体大小
  5457. },
  5458. },
  5459. grid: {
  5460. left: "4%",
  5461. right: "12%",
  5462. bottom: "3%",
  5463. top: "15%",
  5464. containLabel: true
  5465. },
  5466. xAxis: {
  5467. data: xdata,
  5468. triggerEvent: true,
  5469. axisTick: {
  5470. show: false
  5471. },
  5472. axisLine: {
  5473. show: false
  5474. },
  5475. axisLabel: {
  5476. show: true,
  5477. rotate: 0,
  5478. interval: 0,
  5479. textStyle: {
  5480. padding: [14, 0, 0, 0],
  5481. fontSize: 20,
  5482. color: "rgba(255,255,255,1)"
  5483. }
  5484. }
  5485. },
  5486. yAxis: {
  5487. name: "单位:个数",
  5488. triggerEvent: true,
  5489. nameTextStyle: {
  5490. color: "#fff",
  5491. fontSize: 16,
  5492. padding: [0, 0, 10, -20]
  5493. },
  5494. splitLine: {
  5495. show: true,
  5496. lineStyle: {
  5497. color: 'rgba(255,255,255,.1)'
  5498. }
  5499. },
  5500. axisTick: {
  5501. show: false
  5502. },
  5503. axisLine: {
  5504. show: true,
  5505. lineStyle: {
  5506. color: 'rgba(255,255,255,.1)'
  5507. }
  5508. },
  5509. axisLabel: {
  5510. show: true,
  5511. textStyle: {
  5512. color: "#fff",
  5513. fontSize: 20
  5514. }
  5515. }
  5516. },
  5517. series: [
  5518. {
  5519. name: "数量",
  5520. type: "pictorialBar",
  5521. barCategoryGap: "60%",
  5522. // symbol: 'path://M0,10 L10,10 L5,0 L0,10 z',
  5523. symbol: "path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z",
  5524. itemStyle: {
  5525. normal: {
  5526. //渐变色
  5527. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  5528. offset: 0,
  5529. color: "#01EAED"
  5530. },
  5531. {
  5532. offset: 0.5,
  5533. color: "#02C4DD"
  5534. },
  5535. {
  5536. offset: 1,
  5537. color: "#029ED9"
  5538. }
  5539. ])
  5540. }
  5541. },
  5542. label: {
  5543. normal: {
  5544. show: false,
  5545. position: "top",
  5546. textStyle: {
  5547. color: "#fff",
  5548. fontSize: 20
  5549. }
  5550. }
  5551. },
  5552. data: data,
  5553. }
  5554. ]
  5555. }
  5556. that.leftEcharts15.on('click', (param) => {
  5557. if (param.name == '煤炭和煤电') {
  5558. that.showChartLTipSingle(param.name, 'center', 'keyIndicators', 'ceiamount', '', '', '', '', 'five', '1', 2, 115)
  5559. } else if (param.name == '煤电和新能源') {
  5560. that.showChartLTipSingle(param.name, 'center', 'keyIndicators', 'cpneiamount', '', '', '', '', 'five', '2', 2, 115)
  5561. } else if (param.name == '煤炭和化工') {
  5562. that.showChartLTipSingle(param.name, 'center', 'keyIndicators', 'ccheiamount', '', '', '', '', 'five', '3', 2, 115)
  5563. } else if (param.name == '煤炭和数字') {
  5564. that.showChartLTipSingle(param.name, 'center', 'keyIndicators', 'cdiamount', '', '', '', '', 'five', '4', 2, 115)
  5565. } else if (param.name == '煤炭和降炭') {
  5566. that.showChartLTipSingle(param.name, 'center', 'keyIndicators', 'cciamount', '', '', '', '', 'five', '5', 2, 115)
  5567. }
  5568. })
  5569. //轮播
  5570. tools.loopShowTooltip(that.leftEcharts15, option, {
  5571. interval: 2000,
  5572. loopSeries: true,
  5573. });
  5574. //注册
  5575. that.leftEcharts15.setOption(option);
  5576. },
  5577. leftEcharts16Fun () {
  5578. let that = this;
  5579. this.leftEcharts16 = echarts.init(this.$refs["leftEcharts16"]);
  5580. // var ROOT_PATH = 'https://echarts.apache.org/examples';
  5581. let option = {
  5582. backgroundColor: "#00000000",
  5583. globe: {
  5584. globeRadius: 85,
  5585. baseTexture: "./img/3D/world1.jpg",
  5586. heightTexture: "./img/3D/world1.jpg",
  5587. displacementScale: 0.04,
  5588. shading: "realistic",
  5589. // environment: './img/3D/world2.jpg',
  5590. realisticMaterial: {
  5591. roughness: 0.9,
  5592. },
  5593. postEffect: {
  5594. enable: true,
  5595. },
  5596. light: {
  5597. main: {
  5598. intensity: 1,
  5599. shadow: true,
  5600. },
  5601. },
  5602. },
  5603. };
  5604. that.leftEcharts16.setOption(option);
  5605. },
  5606. // 回到中国地图
  5607. backChina () {
  5608. let that = this
  5609. if (!this.mapShow) {
  5610. return
  5611. }
  5612. this.mapShow = false
  5613. that.leftEcharts12.dispose()
  5614. that.leftEcharts14.dispose()
  5615. that.leftEcharts9.dispose()
  5616. that.leftEcharts15.dispose()
  5617. that.leftEcharts13.dispose()
  5618. that.shanxiMap.dispose()
  5619. setTimeout(() => {
  5620. that.chinaEchartsFun()
  5621. that.leftEcharts16Fun()
  5622. });
  5623. },
  5624. tipShow1Fun (e, name) {
  5625. this.closeTap()
  5626. this.titleUrl = e
  5627. this.titleName = name
  5628. this.$nextTick(() => {
  5629. this.tipShow1 = true
  5630. })
  5631. },
  5632. // 关闭所有弹窗的方法
  5633. closeTap () {
  5634. this.tipShow1 = false
  5635. this.tipShow2 = false
  5636. this.tipShow3 = false
  5637. this.projectListTipShow = false
  5638. },
  5639. //点击弹窗左半部分
  5640. popLeftClick () {
  5641. if (this.titleUrl == '2.png') {
  5642. this.titleUrl = '3.png'
  5643. } else if (this.titleUrl == '7.png') {
  5644. this.titleUrl = '8.png'
  5645. } else if (this.titleUrl == '3.png') {
  5646. this.titleUrl = '2.png'
  5647. } else if (this.titleUrl == '8.png') {
  5648. this.titleUrl = '7.png'
  5649. } else if (this.titleUrl == '5.png') {
  5650. this.titleUrl = '2.png'
  5651. } else if (this.titleUrl == '10.png') {
  5652. this.titleUrl = '7.png'
  5653. }
  5654. },
  5655. //点击弹窗右半部分
  5656. poprightClick () {
  5657. if (this.titleUrl == '2.png') {
  5658. this.titleUrl = '5.png'
  5659. } else if (this.titleUrl == '7.png') {
  5660. this.titleUrl = '10.png'
  5661. } else if (this.titleUrl == '5.png') {
  5662. this.titleUrl = '2.png'
  5663. } else if (this.titleUrl == '10.png') {
  5664. this.titleUrl = '7.png'
  5665. } else if (this.titleUrl == '3.png') {
  5666. this.titleUrl = '2.png'
  5667. } else if (this.titleUrl == '8.png') {
  5668. this.titleUrl = '7.png'
  5669. }
  5670. },
  5671. // 单个柱状图的弹窗
  5672. showChartLTipSingle (e, location, type, param, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType, num) {
  5673. this.projectNum = num
  5674. this.closeTap()
  5675. this.titleName = e
  5676. this.tipShow2 = true
  5677. if (location == 'center') {
  5678. this.centerPenetrateOne(type, param, 1, typeCTwo, paramCTwo, portType)
  5679. }
  5680. if (location == 'left') {
  5681. this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, 1, type, param)
  5682. }
  5683. },
  5684. // 两个柱状图的弹窗
  5685. showChartLTipDouble (e, location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo, portType, num, modelName, projectStepCode, substraction) {
  5686. modelName ? this.rightAdd.modelName = modelName : this.rightAdd.modelName = ''
  5687. projectStepCode ? this.rightAdd.projectStepCode = projectStepCode : this.rightAdd.projectStepCode = ''
  5688. substraction ? this.rightAdd.substraction = substraction : this.rightAdd.substraction = ''
  5689. num && (this.projectNum = num)
  5690. this.titleName = e
  5691. this.closeTap()
  5692. this.tipShow3 = true
  5693. if (location == 'right') {
  5694. this.rightPenetrateOne()
  5695. }
  5696. if (location == 'left') {
  5697. this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, 2)
  5698. }
  5699. if (location == 'center') {
  5700. this.centerPenetrateOne(type, param, 2, typeCTwo, paramCTwo, portType)
  5701. }
  5702. },
  5703. // 排序方法
  5704. compare (property) {
  5705. return function (a, b) {
  5706. var value1 = a[property];
  5707. var value2 = b[property];
  5708. return value1 - value2; //降序只需要 return value2- value1
  5709. }
  5710. },
  5711. // 左边穿透一级
  5712. leftPenetrateOne (mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeNum, type, param, typeCTwo, paramCTwo) {
  5713. this.boardType = 'left'
  5714. let that = this
  5715. return new Promise((resolve, err) => {
  5716. let value = {
  5717. access_token: this.access_token,
  5718. "data": {
  5719. mdnb_combofield: this.mockData ? 'B' : 'A',
  5720. mdnb_textfield11,
  5721. mdnb_textfield13,
  5722. mdnb_textfield16,
  5723. mdnb_textfield23,
  5724. mdnb_datefield: this.year + '-01-01'
  5725. },
  5726. pageSize: 1000
  5727. }
  5728. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/yjct', value).then(res => {
  5729. res.data.rows[0].mdnb_entryentity12.sort(that.compare('mdnb_integerfield19'))
  5730. if (res.data.rows.length > 0) {
  5731. if (typeNum == 2) {
  5732. common4 = []
  5733. common5 = []
  5734. res.data.rows[0].mdnb_entryentity12.forEach((item, index) => {
  5735. common4.push(item.mdnb_integerfield18)
  5736. common5.push(that.yuanChange(item.mdnb_amountfield12))
  5737. })
  5738. setTimeout(() => {
  5739. this.initChartLTip2('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
  5740. this.initChartLTip3('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
  5741. })
  5742. } else if (typeNum == 1) {
  5743. this.titleName == '项目数量' || this.titleName == '项目总数'
  5744. common3 = []
  5745. res.data.rows[0].mdnb_entryentity12.forEach((item, index) => {
  5746. (that.titleName == '项目数量' || that.titleName == '项目总数') ? common3.push(item.mdnb_integerfield18) : common3.push(that.yuanChange(item.mdnb_amountfield12))
  5747. })
  5748. that.leftEcharts18Fun('left', mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo)
  5749. }
  5750. }
  5751. resolve(1);
  5752. })
  5753. });
  5754. },
  5755. // 左边穿透二级
  5756. leftPenetrateTwo (mdnb_textfield12, mdnb_textfield19, mdnb_textfield15, mdnb_textfield17, mdnb_textfield20, num) {
  5757. num && (this.projectNum = num)
  5758. this.boardType = 'left'
  5759. let that = this
  5760. return new Promise((resolve, err) => {
  5761. let value = {
  5762. access_token: this.access_token,
  5763. "data": {
  5764. mdnb_combofield: this.mockData ? 'B' : 'A',
  5765. mdnb_datefield: this.year + '-01-01',
  5766. mdnb_textfield12,
  5767. mdnb_textfield19,
  5768. mdnb_textfield15,
  5769. mdnb_textfield17,
  5770. mdnb_textfield20
  5771. },
  5772. pageSize: 1000
  5773. }
  5774. if (mdnb_textfield20) {
  5775. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/ejct', value).then(res => {
  5776. that.config6.data = []
  5777. if (res.data.rows.length > 0) {
  5778. that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
  5779. that.config6.data = []
  5780. if (this.projectNum == 211 || this.projectNum == 212) {
  5781. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '已占用额度(万元)']
  5782. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5783. that.config6.data[index] = []
  5784. that.config6.data[index][0] = item.mdnb_textfield7
  5785. that.config6.data[index][1] = item.mdnb_textfield6
  5786. that.config6.data[index][2] = item.mdnb_textfield8
  5787. that.config6.data[index][3] = item.mdnb_textfield25
  5788. that.config6.data[index][4] = item.mdnb_textfield26
  5789. that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5790. })
  5791. } else if (this.projectNum == 2141) {
  5792. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '本年度计划投资额(万元)']
  5793. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5794. that.config6.data[index] = []
  5795. that.config6.data[index][0] = item.mdnb_textfield7
  5796. that.config6.data[index][1] = item.mdnb_textfield6
  5797. that.config6.data[index][2] = item.mdnb_textfield8
  5798. that.config6.data[index][3] = item.mdnb_textfield25
  5799. that.config6.data[index][4] = item.mdnb_textfield26
  5800. that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5801. })
  5802. } else if (this.projectNum == 2142) {
  5803. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '是否主业', '本年度计划投资额(万元)']
  5804. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5805. that.config6.data[index] = []
  5806. that.config6.data[index][0] = item.mdnb_textfield7
  5807. that.config6.data[index][1] = item.mdnb_textfield6
  5808. that.config6.data[index][2] = item.mdnb_textfield8
  5809. that.config6.data[index][3] = item.mdnb_textfield25
  5810. that.config6.data[index][4] = item.mdnb_textfield26
  5811. that.config6.data[index][5] = item.mdnb_textfield21
  5812. that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5813. })
  5814. } else if (this.projectNum == 2143) {
  5815. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目管理类型', '本年度计划投资额(万元)']
  5816. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5817. that.config6.data[index] = []
  5818. that.config6.data[index][0] = item.mdnb_textfield7
  5819. that.config6.data[index][1] = item.mdnb_textfield6
  5820. that.config6.data[index][2] = item.mdnb_textfield8
  5821. that.config6.data[index][3] = item.mdnb_textfield25
  5822. that.config6.data[index][4] = item.mdnb_textfield26
  5823. that.config6.data[index][5] = item.mdnb_textfield22
  5824. that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5825. })
  5826. } else if (this.projectNum == 215) {
  5827. that.config6.header = ["所属集团", "项目名称", '投资主体', '产业类别I级', '产业类别II级', '本年度计划投资额(万元)']
  5828. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5829. that.config6.data[index] = []
  5830. that.config6.data[index][0] = item.mdnb_textfield7
  5831. that.config6.data[index][1] = item.mdnb_textfield6
  5832. that.config6.data[index][2] = item.mdnb_textfield8
  5833. that.config6.data[index][3] = item.mdnb_textfield9
  5834. that.config6.data[index][4] = item.mdnb_textfield10
  5835. that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5836. })
  5837. } else if (this.projectNum == 216) {
  5838. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目阶段', '投资总额(万元)']
  5839. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5840. that.config6.data[index] = []
  5841. that.config6.data[index][0] = item.mdnb_textfield7
  5842. that.config6.data[index][1] = item.mdnb_textfield6
  5843. that.config6.data[index][2] = item.mdnb_textfield8
  5844. that.config6.data[index][3] = item.mdnb_textfield25
  5845. that.config6.data[index][4] = item.mdnb_textfield26
  5846. that.config6.data[index][5] = item.mdnb_textfield24
  5847. that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5848. })
  5849. }
  5850. }
  5851. that.config6 = { ...that.config6 }
  5852. that.projectListTipShow = true
  5853. resolve(1);
  5854. })
  5855. } else {
  5856. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_preinvest/tzedfxzed', value).then(res => {
  5857. if (res.data.rows.length > 0) {
  5858. that.originalConfig6 = res.data.rows[0].mdnb_entryentity11
  5859. that.config6.data = []
  5860. if (this.projectNum == 211 || this.projectNum == 212) {
  5861. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '已占用额度(万元)']
  5862. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5863. that.config6.data[index] = []
  5864. that.config6.data[index][0] = item.mdnb_textfield7
  5865. that.config6.data[index][1] = item.mdnb_textfield6
  5866. that.config6.data[index][2] = item.mdnb_textfield8
  5867. that.config6.data[index][3] = item.mdnb_textfield25
  5868. that.config6.data[index][4] = item.mdnb_textfield26
  5869. that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5870. })
  5871. } else if (this.projectNum == 2141) {
  5872. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '本年度计划投资额(万元)']
  5873. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5874. that.config6.data[index] = []
  5875. that.config6.data[index][0] = item.mdnb_textfield7
  5876. that.config6.data[index][1] = item.mdnb_textfield6
  5877. that.config6.data[index][2] = item.mdnb_textfield8
  5878. that.config6.data[index][3] = item.mdnb_textfield25
  5879. that.config6.data[index][4] = item.mdnb_textfield26
  5880. that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5881. })
  5882. } else if (this.projectNum == 2142) {
  5883. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '是否主业', '本年度计划投资额(万元)']
  5884. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5885. that.config6.data[index] = []
  5886. that.config6.data[index][0] = item.mdnb_textfield7
  5887. that.config6.data[index][1] = item.mdnb_textfield6
  5888. that.config6.data[index][2] = item.mdnb_textfield8
  5889. that.config6.data[index][3] = item.mdnb_textfield25
  5890. that.config6.data[index][4] = item.mdnb_textfield26
  5891. that.config6.data[index][5] = item.mdnb_textfield21
  5892. that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5893. })
  5894. } else if (this.projectNum == 2143) {
  5895. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目管理类型', '本年度计划投资额(万元)']
  5896. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5897. that.config6.data[index] = []
  5898. that.config6.data[index][0] = item.mdnb_textfield7
  5899. that.config6.data[index][1] = item.mdnb_textfield6
  5900. that.config6.data[index][2] = item.mdnb_textfield8
  5901. that.config6.data[index][3] = item.mdnb_textfield25
  5902. that.config6.data[index][4] = item.mdnb_textfield26
  5903. that.config6.data[index][5] = item.mdnb_textfield22
  5904. that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5905. })
  5906. } else if (this.projectNum == 215) {
  5907. that.config6.header = ["所属集团", "项目名称", '投资主体', '产业类别I级', '产业类别II级', '本年度计划投资额(万元)']
  5908. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5909. that.config6.data[index] = []
  5910. that.config6.data[index][0] = item.mdnb_textfield7
  5911. that.config6.data[index][1] = item.mdnb_textfield6
  5912. that.config6.data[index][2] = item.mdnb_textfield8
  5913. that.config6.data[index][3] = item.mdnb_textfield9
  5914. that.config6.data[index][4] = item.mdnb_textfield10
  5915. that.config6.data[index][5] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5916. })
  5917. } else if (this.projectNum == 216) {
  5918. that.config6.header = ["所属集团", "项目名称", '投资主体', '项目类型', '项目性质', '项目阶段', '本年度计划投资额(万元)']
  5919. res.data.rows[0].mdnb_entryentity11.forEach((item, index) => {
  5920. that.config6.data[index] = []
  5921. that.config6.data[index][0] = item.mdnb_textfield7
  5922. that.config6.data[index][1] = item.mdnb_textfield6
  5923. that.config6.data[index][2] = item.mdnb_textfield8
  5924. that.config6.data[index][3] = item.mdnb_textfield25
  5925. that.config6.data[index][4] = item.mdnb_textfield26
  5926. that.config6.data[index][5] = item.mdnb_textfield24
  5927. that.config6.data[index][6] = that.numFormat(item.mdnb_amountfield22 / 10000)
  5928. })
  5929. }
  5930. that.config6 = { ...that.config6 }
  5931. that.projectListTipShow = true
  5932. }
  5933. resolve(1);
  5934. })
  5935. }
  5936. });
  5937. },
  5938. // 中间穿透一级 一个柱状图还是两个
  5939. centerPenetrateOne (type, param, typeNum, typeCTwo, paramCTwo, portType) {
  5940. this.boardType = 'center'
  5941. let that = this
  5942. return new Promise((resolve, err) => {
  5943. let value = {
  5944. access_token: this.access_token,
  5945. mock: this.mockData,
  5946. presetYear: this.year - 1,
  5947. type,
  5948. param
  5949. }
  5950. get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/getPenetrationLevel1', value).then(res => {
  5951. if (typeNum == 1) {
  5952. common3 = []
  5953. res.data.keyIndicators.forEach((item, index) => {
  5954. if (param == 'cyplanamount') {
  5955. common3.push(that.yuanChange(item.cyplanamount))
  5956. }
  5957. if (param == 'cyplancount') {
  5958. common3.push(item.cyplancount)
  5959. }
  5960. if (param == 'szplanamount') {
  5961. common3.push(that.yuanChange(item.szplanamount))
  5962. }
  5963. if (param == 'szplancount') {
  5964. common3.push(item.szplancount)
  5965. }
  5966. if (param == 'investamount') {
  5967. common3.push(that.yuanChange(item.investamount))
  5968. }
  5969. if (param == 'projectcount') {
  5970. common3.push(item.projectcount)
  5971. }
  5972. if (param == 'gdzcamount') {
  5973. common3.push(that.yuanChange(item.gdzcamount))
  5974. }
  5975. if (param == 'gqtzamount') {
  5976. common3.push(that.yuanChange(item.gqtzamount))
  5977. }
  5978. if (param == 'ceiamount') {
  5979. common3.push(that.yuanChange(item.ceiamount))
  5980. }
  5981. if (param == 'cpneiamount') {
  5982. common3.push(that.yuanChange(item.cpneiamount))
  5983. }
  5984. if (param == 'ccheiamount') {
  5985. common3.push(that.yuanChange(item.ccheiamount))
  5986. }
  5987. if (param == 'cdiamount') {
  5988. common3.push(that.yuanChange(item.cdiamount))
  5989. }
  5990. if (param == 'cciamount') {
  5991. common3.push(that.yuanChange(item.cciamount))
  5992. }
  5993. })
  5994. setTimeout(() => {
  5995. that.leftEcharts18Fun('center', '', '', '', '', typeCTwo, paramCTwo, portType)
  5996. })
  5997. } else if (typeNum == 2) {
  5998. common4 = []
  5999. common5 = []
  6000. if (type == 'distribution') {
  6001. that.changeLine = false
  6002. that.lineCommonCompany = res.data.topData
  6003. common4 = res.data.topData.map(item => that.yuanChange(item.amount))
  6004. common5 = res.data.bottomData.map(item => that.yuanChange(item.amount))
  6005. } else {
  6006. if (param == 'new') {
  6007. res.data.keyIndicators.forEach((item, index) => {
  6008. common4.push(item.newcount)
  6009. common5.push(that.yuanChange(item.newamount))
  6010. })
  6011. } else if (param == 'renew') {
  6012. res.data.keyIndicators.forEach((item, index) => {
  6013. common4.push(item.renewcount)
  6014. common5.push(that.yuanChange(item.renewamount))
  6015. })
  6016. } else {
  6017. res.data.investmentMap.forEach((item, index) => {
  6018. common4.push(item.value2)
  6019. common5.push(that.yuanChange(item.amount))
  6020. })
  6021. }
  6022. }
  6023. setTimeout(() => {
  6024. this.initChartLTip2('center', '', '', '', '', type, param, typeCTwo, paramCTwo, portType)
  6025. this.initChartLTip3('center', '', '', '', '', type, param, typeCTwo, paramCTwo, portType)
  6026. })
  6027. } else if (typeNum == 3) {
  6028. // 山西地图
  6029. center5 = []
  6030. res.data.investmentMap.forEach((item, index) => {
  6031. center5.push({ name: item.address, value: that.yuanChange(item.amount), value2: item.value2 })
  6032. })
  6033. setTimeout(() => {
  6034. that.shanxiEchartsFun()
  6035. });
  6036. }
  6037. resolve(1);
  6038. })
  6039. });
  6040. },
  6041. // 中间穿透二级
  6042. centerPenetrateTwo (type, param, orgNum, portType, proName) {
  6043. this.boardType = 'center'
  6044. let that = this
  6045. return new Promise((resolve, err) => {
  6046. let value = {
  6047. access_token: this.access_token,
  6048. mock: this.mockData,
  6049. presetYear: this.year - 1,
  6050. type,
  6051. param,
  6052. orgNum
  6053. }
  6054. that.config6.header[2] = '投资主体'
  6055. that.config6.header[5] = '年投资完成额(亿)'
  6056. if (portType == 1) {
  6057. get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/MainPageMonthReportProject', value).then(res => {
  6058. that.config6.data = []
  6059. that.originalConfig6 = res.data
  6060. if (this.projectNum == 111) {
  6061. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "投资完成额(万元)"]
  6062. res.data.forEach((item, index) => {
  6063. that.config6.data[index] = []
  6064. that.config6.data[index][0] = item.orgName
  6065. that.config6.data[index][1] = item.projectname
  6066. that.config6.data[index][2] = item.tzzt
  6067. that.config6.data[index][3] = item.projectkind
  6068. that.config6.data[index][4] = item.projectkinddetail
  6069. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6070. })
  6071. } else if (this.projectNum == 112) {
  6072. that.config6.header = ["所属集团", "项目名称", "投资主体", "产业类别I级", "产业类别II级", "投资完成额(万元)"]
  6073. res.data.forEach((item, index) => {
  6074. that.config6.data[index] = []
  6075. that.config6.data[index][0] = item.orgName
  6076. that.config6.data[index][1] = item.projectname
  6077. that.config6.data[index][2] = item.tzzt
  6078. that.config6.data[index][3] = item.cylb
  6079. that.config6.data[index][4] = item.cylb2
  6080. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6081. })
  6082. } else if (this.projectNum == 1131) {
  6083. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "本年度计划投资额(万元)"]
  6084. res.data.forEach((item, index) => {
  6085. that.config6.data[index] = []
  6086. that.config6.data[index][0] = item.orgName
  6087. that.config6.data[index][1] = item.projectname
  6088. that.config6.data[index][2] = item.tzzt
  6089. that.config6.data[index][3] = item.projectkind
  6090. that.config6.data[index][4] = item.projectkinddetail
  6091. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6092. })
  6093. } else if (this.projectNum == 1132) {
  6094. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "投资完成额 (万元)"]
  6095. res.data.forEach((item, index) => {
  6096. that.config6.data[index] = []
  6097. that.config6.data[index][0] = item.orgName
  6098. that.config6.data[index][1] = item.projectname
  6099. that.config6.data[index][2] = item.tzzt
  6100. that.config6.data[index][3] = item.projectkind
  6101. that.config6.data[index][4] = item.projectkinddetail
  6102. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6103. })
  6104. } else if (this.projectNum == 114) {
  6105. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "是否“两个转型”", "本年度计划投资额 (万元)"]
  6106. res.data.forEach((item, index) => {
  6107. that.config6.data[index] = []
  6108. that.config6.data[index][0] = item.orgName
  6109. that.config6.data[index][1] = item.projectname
  6110. that.config6.data[index][2] = item.tzzt
  6111. that.config6.data[index][3] = item.projectkind
  6112. that.config6.data[index][4] = item.projectkinddetail
  6113. that.config6.data[index][5] = item.lgz
  6114. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6115. })
  6116. } else if (this.projectNum == 115) {
  6117. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "是否“五个一体化”", "本年度计划投资额 (万元)"]
  6118. res.data.forEach((item, index) => {
  6119. that.config6.data[index] = []
  6120. that.config6.data[index][0] = item.orgName
  6121. that.config6.data[index][1] = item.projectname
  6122. that.config6.data[index][2] = item.tzzt
  6123. that.config6.data[index][3] = item.projectkind
  6124. that.config6.data[index][4] = item.projectkinddetail
  6125. that.config6.data[index][5] = item.wgy
  6126. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6127. })
  6128. } else if (this.projectNum == 116) {
  6129. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "建设阶段", "投资完成额 (万元)"]
  6130. res.data.forEach((item, index) => {
  6131. that.config6.data[index] = []
  6132. that.config6.data[index][0] = item.orgName
  6133. that.config6.data[index][1] = item.projectname
  6134. that.config6.data[index][2] = item.tzzt
  6135. that.config6.data[index][3] = item.projectkind
  6136. that.config6.data[index][4] = item.projectkinddetail
  6137. that.config6.data[index][5] = item.stage
  6138. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6139. })
  6140. } else if (this.projectNum == 118) {
  6141. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "建设地点", "投资完成额 (万元)"]
  6142. res.data.forEach((item, index) => {
  6143. that.config6.data[index] = []
  6144. that.config6.data[index][0] = item.orgName
  6145. that.config6.data[index][1] = item.projectname
  6146. that.config6.data[index][2] = item.tzzt
  6147. that.config6.data[index][3] = item.projectkind
  6148. that.config6.data[index][4] = item.projectkinddetail
  6149. that.config6.data[index][5] = item.buildaddr
  6150. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6151. })
  6152. }
  6153. that.config6 = { ...that.config6 }
  6154. that.projectListTipShow = true
  6155. resolve(1);
  6156. })
  6157. } else if (portType == 2) {
  6158. get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/MainPagePlanProject', value).then(res => {
  6159. that.config6.data = []
  6160. that.originalConfig6 = res.data
  6161. if (this.projectNum == 111) {
  6162. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "投资完成额(万元)"]
  6163. res.data.forEach((item, index) => {
  6164. that.config6.data[index] = []
  6165. that.config6.data[index][0] = item.orgName
  6166. that.config6.data[index][1] = item.projectname
  6167. that.config6.data[index][2] = item.tzzt
  6168. that.config6.data[index][3] = item.projectkind
  6169. that.config6.data[index][4] = item.projectkinddetail
  6170. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6171. })
  6172. } else if (this.projectNum == 112) {
  6173. that.config6.header = ["所属集团", "项目名称", "投资主体", "产业类别I级", "产业类别II级", "投资完成额(万元)"]
  6174. res.data.forEach((item, index) => {
  6175. that.config6.data[index] = []
  6176. that.config6.data[index][0] = item.orgName
  6177. that.config6.data[index][1] = item.projectname
  6178. that.config6.data[index][2] = item.tzzt
  6179. that.config6.data[index][3] = item.cylb
  6180. that.config6.data[index][4] = item.cylb2
  6181. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6182. })
  6183. } else if (this.projectNum == 1131) {
  6184. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "本年度计划投资额(万元)"]
  6185. res.data.forEach((item, index) => {
  6186. that.config6.data[index] = []
  6187. that.config6.data[index][0] = item.orgName
  6188. that.config6.data[index][1] = item.projectname
  6189. that.config6.data[index][2] = item.tzzt
  6190. that.config6.data[index][3] = item.projectkind
  6191. that.config6.data[index][4] = item.projectkinddetail
  6192. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6193. })
  6194. } else if (this.projectNum == 1132) {
  6195. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "投资完成额 (万元)"]
  6196. res.data.forEach((item, index) => {
  6197. that.config6.data[index] = []
  6198. that.config6.data[index][0] = item.orgName
  6199. that.config6.data[index][1] = item.projectname
  6200. that.config6.data[index][2] = item.tzzt
  6201. that.config6.data[index][3] = item.projectkind
  6202. that.config6.data[index][4] = item.projectkinddetail
  6203. that.config6.data[index][5] = that.numFormat(item.amount / 10000)
  6204. })
  6205. } else if (this.projectNum == 114) {
  6206. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "是否“两个转型”", "本年度计划投资额 (万元)"]
  6207. res.data.forEach((item, index) => {
  6208. that.config6.data[index] = []
  6209. that.config6.data[index][0] = item.orgName
  6210. that.config6.data[index][1] = item.projectname
  6211. that.config6.data[index][2] = item.tzzt
  6212. that.config6.data[index][3] = item.projectkind
  6213. that.config6.data[index][4] = item.projectkinddetail
  6214. that.config6.data[index][5] = item.lgz
  6215. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6216. })
  6217. } else if (this.projectNum == 115) {
  6218. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "是否“五个一体化”", "本年度计划投资额 (万元)"]
  6219. res.data.forEach((item, index) => {
  6220. that.config6.data[index] = []
  6221. that.config6.data[index][0] = item.orgName
  6222. that.config6.data[index][1] = item.projectname
  6223. that.config6.data[index][2] = item.tzzt
  6224. that.config6.data[index][3] = item.projectkind
  6225. that.config6.data[index][4] = item.projectkinddetail
  6226. that.config6.data[index][5] = item.wgy
  6227. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6228. })
  6229. } else if (this.projectNum == 116) {
  6230. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "建设阶段", "投资完成额 (万元)"]
  6231. res.data.forEach((item, index) => {
  6232. that.config6.data[index] = []
  6233. that.config6.data[index][0] = item.orgName
  6234. that.config6.data[index][1] = item.projectname
  6235. that.config6.data[index][2] = item.tzzt
  6236. that.config6.data[index][3] = item.projectkind
  6237. that.config6.data[index][4] = item.projectkinddetail
  6238. that.config6.data[index][5] = item.mdnb_quality
  6239. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6240. })
  6241. } else if (this.projectNum == 118) {
  6242. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "建设地点", "投资完成额 (万元)"]
  6243. res.data.forEach((item, index) => {
  6244. that.config6.data[index] = []
  6245. that.config6.data[index][0] = item.orgName
  6246. that.config6.data[index][1] = item.projectname
  6247. that.config6.data[index][2] = item.tzzt
  6248. that.config6.data[index][3] = item.projectkind
  6249. that.config6.data[index][4] = item.projectkinddetail
  6250. that.config6.data[index][5] = item.buildaddr
  6251. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6252. })
  6253. }
  6254. that.config6 = { ...that.config6 }
  6255. that.projectListTipShow = true
  6256. resolve(1);
  6257. })
  6258. } else {
  6259. value = {
  6260. access_token: this.access_token,
  6261. mock: this.mockData,
  6262. presetYear: this.year - 1,
  6263. type: 'investmentMap',
  6264. param: proName,
  6265. orgNum
  6266. }
  6267. get('/ierp/kapi/v2/mdnb/mdnb_xmkb/presetdata/MainPageMonthReportProject', value).then(res => {
  6268. that.config6.data = []
  6269. that.originalConfig6 = res.data
  6270. if (this.projectNum == 118) {
  6271. that.config6.header = ["所属集团", "项目名称", "投资主体", "项目类型", "项目性质", "建设地点", "投资完成额 (万元)"]
  6272. res.data.forEach((item, index) => {
  6273. that.config6.data[index] = []
  6274. that.config6.data[index][0] = item.orgName
  6275. that.config6.data[index][1] = item.projectname
  6276. that.config6.data[index][2] = item.tzzt
  6277. that.config6.data[index][3] = item.projectkind
  6278. that.config6.data[index][4] = item.projectkinddetail
  6279. that.config6.data[index][5] = item.buildaddr
  6280. that.config6.data[index][6] = that.numFormat(item.amount / 10000)
  6281. })
  6282. }
  6283. that.config6 = { ...that.config6 }
  6284. that.projectListTipShow = true
  6285. resolve(1);
  6286. })
  6287. }
  6288. });
  6289. },
  6290. // 右边穿透一级
  6291. rightPenetrateOne () {
  6292. let that = this
  6293. this.boardType = 'right'
  6294. return new Promise((resolve, err) => {
  6295. let value = {
  6296. access_token: this.access_token,
  6297. "request": {
  6298. isInsert: this.mockData ? '1' : '0',
  6299. projectStepCode: this.rightAdd.projectStepCode,
  6300. },
  6301. pageSize: 1000
  6302. }
  6303. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getOneLevelData', value).then(res => {
  6304. res.data.forEach((item, index) => {
  6305. common4[index] = item.mdnb_projects
  6306. common5[index] = that.yuanChange(item.mdnb_amount_sl)
  6307. })
  6308. setTimeout(() => {
  6309. this.initChartLTip2('right')
  6310. this.initChartLTip3('right')
  6311. })
  6312. resolve(1);
  6313. })
  6314. });
  6315. },
  6316. // 右边穿透二级
  6317. rightPenetrateTwo (modelName, substraction, orgName) {
  6318. this.boardType = 'right'
  6319. let that = this
  6320. return new Promise((resolve, err) => {
  6321. let value = {
  6322. access_token: this.access_token,
  6323. "request": {
  6324. isInsert: this.mockData ? '1' : '0',
  6325. modelName: this.rightAdd.modelName,
  6326. projectStepCode: this.rightAdd.projectStepCode,
  6327. substraction: this.rightAdd.substraction,
  6328. orgName
  6329. },
  6330. pageSize: 1000
  6331. }
  6332. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getTwoLevelData', value).then(res => {
  6333. that.originalConfig6 = res.data
  6334. that.config6.data = []
  6335. if (this.projectNum == 311) {
  6336. that.config6.header = ["所属集团", "项目名称", '实施主体', '投中项目阶段', '投资总额(万元)']
  6337. res.data.forEach((item, index) => {
  6338. that.config6.data[index] = []
  6339. that.config6.data[index][0] = item.mdnb_unitcompany
  6340. that.config6.data[index][1] = item.mdnb_project_name
  6341. that.config6.data[index][2] = item.mdnb_implement_org
  6342. that.config6.data[index][3] = item.mdnb_projectstep_mid
  6343. that.config6.data[index][4] = that.numFormat(item.mdnb_investment_money / 10000)
  6344. })
  6345. } else if (this.projectNum == 312 || this.projectNum == 313) {
  6346. that.config6.header = ["所属集团", "项目名称", '实施主体', '容差百分比', '投资总额(万元)']
  6347. res.data.forEach((item, index) => {
  6348. that.config6.data[index] = []
  6349. that.config6.data[index][0] = item.mdnb_unitcompany
  6350. that.config6.data[index][1] = item.mdnb_project_name
  6351. that.config6.data[index][2] = item.mdnb_implement_org
  6352. that.config6.data[index][3] = that.numMulti(item.mdnb_percentagetolerance, 100) + '%'
  6353. that.config6.data[index][4] = that.numFormat(item.mdnb_investment_money / 10000)
  6354. })
  6355. } else if (this.projectNum == 314) {
  6356. that.config6.header = ["所属集团", "项目名称", '实施主体', '预算额(万元)', '已签订合同额(万元)', '产值认定额(万元)', '结算额(万元)', '付款申请额(万元)', '实际付款额(万元)']
  6357. res.data.forEach((item, index) => {
  6358. that.config6.data[index] = []
  6359. that.config6.data[index][0] = item.mdnb_unitcompany
  6360. that.config6.data[index][1] = item.mdnb_project_name
  6361. that.config6.data[index][2] = item.mdnb_implement_org
  6362. that.config6.data[index][3] = that.numFormat(item.mdnb_budgetamount / 10000)
  6363. that.config6.data[index][4] = that.numFormat(item.mdnb_contractamount / 10000)
  6364. that.config6.data[index][5] = that.numFormat(item.mdnb_outputamount / 10000)
  6365. that.config6.data[index][6] = that.numFormat(item.mdnb_settlementamount / 10000)
  6366. that.config6.data[index][7] = that.numFormat(item.mdnb_paymentamount / 10000)
  6367. that.config6.data[index][8] = that.numFormat(item.mdnb_actualpayamount / 10000)
  6368. })
  6369. } else if (this.projectNum == 315) {
  6370. that.config6.header = ["所属集团", "项目名称", '实施主体', '高风险项', '中风险项', '低风险项', '投资总额(万元)']
  6371. res.data.forEach((item, index) => {
  6372. that.config6.data[index] = []
  6373. that.config6.data[index][0] = item.mdnb_unitcompany
  6374. that.config6.data[index][1] = item.mdnb_project_name
  6375. that.config6.data[index][2] = item.mdnb_implement_org
  6376. that.config6.data[index][3] = item.mdnb_heigtdanger
  6377. that.config6.data[index][4] = item.mdnb_middledanger
  6378. that.config6.data[index][5] = item.mdnb_lowdanger
  6379. that.config6.data[index][6] = that.numFormat(item.mdnb_investment_money / 10000)
  6380. })
  6381. }
  6382. that.config6 = { ...that.config6 }
  6383. that.projectListTipShow = true
  6384. resolve(1);
  6385. })
  6386. });
  6387. },
  6388. // 单个柱状图的弹窗
  6389. leftEcharts18Fun (location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType) {
  6390. let that = this
  6391. this.leftEcharts18 = echarts.init(document.getElementById("leftEcharts18"));
  6392. if (!(this.titleName == '项目数量' || this.titleName == '项目总数')) {
  6393. common3 = common3.map((item) => Number(item) + 1)
  6394. }
  6395. let option = {
  6396. grid: {
  6397. top: 100,
  6398. right: 0,
  6399. left: 60,
  6400. bottom: 70,
  6401. },
  6402. tooltip: {
  6403. show: true,
  6404. trigger: "axis",
  6405. axisPointer: {
  6406. // 坐标轴指示器,坐标轴触发有效
  6407. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  6408. },
  6409. formatter: data => {
  6410. if (this.titleName == '项目数量' || this.titleName == '项目总数') {
  6411. return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(data[0].value)}个`
  6412. } else {
  6413. return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(that.numSub(data[0].value, 1))}亿`
  6414. }
  6415. },
  6416. textStyle: {
  6417. color: '#FFF', // 文字的颜色
  6418. fontSize: '20', // 文字字体大小
  6419. fontFamily: 'Microsoft YaHei'
  6420. },
  6421. },
  6422. xAxis: {
  6423. data: commonCompany,
  6424. axisTick: {
  6425. show: false,
  6426. },
  6427. // x轴的字体颜色
  6428. axisLabel: {
  6429. rotate: 40,
  6430. textStyle: {
  6431. color: "white",
  6432. fontSize: '20',
  6433. fontFamily: 'Microsoft YaHei'
  6434. },
  6435. },
  6436. //y轴线的颜色以及宽度
  6437. axisLine: {
  6438. show: true,
  6439. lineStyle: {
  6440. color: "#1E5389",
  6441. width: 1,
  6442. type: "solid",
  6443. },
  6444. },
  6445. },
  6446. yAxis: {
  6447. minInterval: 1,
  6448. // onZero:true,
  6449. name: (this.titleName == '项目数量' || this.titleName == '项目总数') ? '个' : '亿',
  6450. nameTextStyle: {//y轴上方单位的颜色
  6451. color: '#fff',
  6452. fontSize: '20',
  6453. fontFamily: 'Microsoft YaHei'
  6454. },
  6455. axisTick: {
  6456. lineStyle: {
  6457. color: "#18416F",
  6458. },
  6459. },
  6460. // y轴的字体颜色
  6461. axisLabel: {
  6462. textStyle: {
  6463. color: "white",
  6464. fontSize: '20'
  6465. },
  6466. formatter: function (value) {
  6467. if (that.titleName == '项目数量' || that.titleName == '项目总数') {
  6468. return value
  6469. } else {
  6470. return value === 1 ? 0 : value
  6471. }
  6472. }
  6473. },
  6474. splitLine: {
  6475. show: true,
  6476. lineStyle: {
  6477. color: '#68b4dd66',
  6478. type: 'dashed',
  6479. },
  6480. },
  6481. //y轴线的颜色以及宽度
  6482. axisLine: {
  6483. show: true,
  6484. lineStyle: {
  6485. color: "#1E5389",
  6486. width: 1,
  6487. type: "solid",
  6488. },
  6489. },
  6490. },
  6491. series: [
  6492. {
  6493. name: (this.titleName == '项目数量' || this.titleName == '项目总数') ? '总数量' : "总额度",
  6494. type: "bar",
  6495. data: common3,
  6496. showBackground: false,
  6497. backgroundStyle: {
  6498. color: "#18416F",
  6499. },
  6500. barWidth: "30%",
  6501. itemStyle: {
  6502. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
  6503. {
  6504. offset: 0,
  6505. color: '#082550',
  6506. },
  6507. {
  6508. offset: 1,
  6509. color: '#957DFF',
  6510. },
  6511. ]),
  6512. },
  6513. },
  6514. ],
  6515. legend: {
  6516. data: (this.titleName == '项目数量' || this.titleName == '项目总数') ? ["总数量"] : ["总额度"],
  6517. textStyle: {
  6518. // 图列内容样式
  6519. color: "#fff", // 字体颜色
  6520. fontSize: "20",
  6521. fontFamily: 'Microsoft YaHei'
  6522. },
  6523. right: 'center',
  6524. y: 40,
  6525. // 小图标的宽高
  6526. },
  6527. };
  6528. if (!(this.titleName == '项目数量' || this.titleName == '项目总数')) {
  6529. option.yAxis.min = 1
  6530. option.yAxis.type = 'log'
  6531. option.yAxis.logBase = 5
  6532. }
  6533. tools.loopShowTooltip(this.myChartTip1, option, {
  6534. interval: 2000,
  6535. loopSeries: true,
  6536. })
  6537. that.leftEcharts18.on('click', function (param) {
  6538. if (location == 'right') {
  6539. that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
  6540. } else if (location == 'left') {
  6541. that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
  6542. } else if (location == 'center') {
  6543. that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType)
  6544. }
  6545. })
  6546. that.leftEcharts18.setOption(option);
  6547. },
  6548. // 两个柱状图弹窗
  6549. initChartLTip2 (location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo, portType) {
  6550. let param2 = param
  6551. this.myChartTip2 = echarts.init(document.getElementById("echartSingleTip2"));
  6552. let option = {
  6553. grid: {
  6554. top: 40,
  6555. right: 0,
  6556. left: 60,
  6557. bottom: '15%',
  6558. },
  6559. tooltip: {
  6560. show: true,
  6561. trigger: "axis",
  6562. axisPointer: {
  6563. // 坐标轴指示器,坐标轴触发有效
  6564. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  6565. },
  6566. formatter: data => {
  6567. return this.changeLine ? `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(data[0].value)}个` : `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(data[0].value)}亿`
  6568. },
  6569. backgroundColor: "#00000050", // 提示框浮层的背景颜色
  6570. borderColor: "#00000050",
  6571. textStyle: {
  6572. color: '#FFF', // 文字的颜色
  6573. fontSize: '20', // 文字字体大小
  6574. fontFamily: 'Microsoft YaHei'
  6575. },
  6576. },
  6577. xAxis: {
  6578. data: this.changeLine ? commonCompany : this.lineCommonCompany.map(item => item.type),
  6579. axisTick: {
  6580. show: false,
  6581. },
  6582. // x轴的字体颜色
  6583. axisLabel: {
  6584. rotate: this.changeLine ? 40 : 20,
  6585. textStyle: {
  6586. color: "white",
  6587. fontSize: '20',
  6588. fontFamily: 'Microsoft YaHei'
  6589. },
  6590. },
  6591. //y轴线的颜色以及宽度
  6592. axisLine: {
  6593. show: true,
  6594. lineStyle: {
  6595. color: "#1E5389",
  6596. width: 1,
  6597. type: "solid",
  6598. },
  6599. },
  6600. },
  6601. yAxis: {
  6602. minInterval: 1,
  6603. name: this.changeLine ? '个' : '亿',
  6604. nameTextStyle: {//y轴上方单位的颜色
  6605. color: '#fff',
  6606. fontSize: '20',
  6607. fontFamily: 'Microsoft YaHei'
  6608. },
  6609. axisTick: {
  6610. lineStyle: {
  6611. color: "#18416F",
  6612. },
  6613. },
  6614. // y轴的字体颜色
  6615. axisLabel: {
  6616. textStyle: {
  6617. color: "#fff",
  6618. fontSize: '20',
  6619. fontFamily: 'Microsoft YaHei'
  6620. }
  6621. },
  6622. splitLine: {
  6623. show: true,
  6624. lineStyle: {
  6625. color: '#68b4dd66',
  6626. type: 'dashed',
  6627. },
  6628. },
  6629. //y轴线的颜色以及宽度
  6630. axisLine: {
  6631. show: true,
  6632. lineStyle: {
  6633. color: "#1E5389",
  6634. width: 1,
  6635. type: "solid",
  6636. },
  6637. },
  6638. },
  6639. series: [
  6640. {
  6641. name: this.changeLine ? "总数量" : '总额度',
  6642. type: this.changeLine ? "bar" : 'line',
  6643. data: common4,
  6644. showBackground: false,
  6645. backgroundStyle: {
  6646. color: "#18416F",
  6647. },
  6648. barWidth: "30%",
  6649. itemStyle: {
  6650. // barBorderRadius: [10, 10, 0, 0],
  6651. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
  6652. {
  6653. offset: 0,
  6654. color: '#082550',
  6655. },
  6656. {
  6657. offset: 1,
  6658. color: '#957DFF',
  6659. },
  6660. ]),
  6661. },
  6662. lineStyle: {
  6663. color: '#957DFF',
  6664. width: 3,
  6665. },
  6666. },
  6667. ],
  6668. legend: {
  6669. // data: ["2022年额度", "2023年额度"],
  6670. data: this.changeLine ? ["总数量"] : ["总额度"],
  6671. textStyle: {
  6672. // 图列内容样式
  6673. color: "#fff", // 字体颜色
  6674. fontSize: "20",
  6675. fontFamily: 'Microsoft YaHei'
  6676. },
  6677. right: 'center',
  6678. y: 0,
  6679. // 小图标的宽高
  6680. },
  6681. };
  6682. tools.loopShowTooltip(this.myChartTip2, option, {
  6683. interval: 2000,
  6684. loopSeries: true,
  6685. })
  6686. let that = this
  6687. that.myChartTip2.on('click', function (param) {
  6688. if (location == 'right') {
  6689. that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
  6690. } else if (location == 'left') {
  6691. that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
  6692. } else if (location == 'center') {
  6693. if (that.changeLine) {
  6694. that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType, param2)
  6695. } else {
  6696. let a = that.lineCommonCompany.find(item => item.type == param.name)
  6697. that.centerPenetrateTwo(typeCTwo, a.typeno, '', portType, param2)
  6698. }
  6699. }
  6700. })
  6701. that.myChartTip2.setOption(option);
  6702. },
  6703. // 两个柱状图弹窗
  6704. initChartLTip3 (location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, type, param, typeCTwo, paramCTwo, portType) {
  6705. let param2 = param
  6706. this.myChartTip3 = echarts.init(document.getElementById("echartSingleTip3"));
  6707. common5 = common5.map((item) => Number(item) + 1)
  6708. let option = {
  6709. grid: {
  6710. top: 40,
  6711. right: 0,
  6712. left: 60,
  6713. bottom: '15%',
  6714. },
  6715. tooltip: {
  6716. show: true,
  6717. trigger: "axis",
  6718. axisPointer: {
  6719. // 坐标轴指示器,坐标轴触发有效
  6720. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  6721. },
  6722. formatter: data => {
  6723. return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(that.numSub(data[0].value, 1))}亿`
  6724. },
  6725. backgroundColor: "#00000050", // 提示框浮层的背景颜色
  6726. borderColor: "#00000050",
  6727. textStyle: {
  6728. color: '#FFF', // 文字的颜色
  6729. fontSize: '20', // 文字字体大小
  6730. fontFamily: 'Microsoft YaHei'
  6731. },
  6732. },
  6733. xAxis: {
  6734. data: commonCompany,
  6735. axisTick: {
  6736. show: false,
  6737. },
  6738. // x轴的字体颜色
  6739. axisLabel: {
  6740. rotate: 40,
  6741. textStyle: {
  6742. color: "#fff",
  6743. fontSize: '20',
  6744. fontFamily: 'Microsoft YaHei'
  6745. },
  6746. },
  6747. //y轴线的颜色以及宽度
  6748. axisLine: {
  6749. show: true,
  6750. lineStyle: {
  6751. color: "#1E5389",
  6752. width: 1,
  6753. type: "solid",
  6754. },
  6755. },
  6756. },
  6757. yAxis: {
  6758. type: 'log',
  6759. min: 1,
  6760. logBase: 5,
  6761. name: '亿',
  6762. nameTextStyle: {//y轴上方单位的颜色
  6763. color: '#fff',
  6764. fontSize: '20',
  6765. fontFamily: 'Microsoft YaHei'
  6766. },
  6767. axisTick: {
  6768. lineStyle: {
  6769. color: "#18416F",
  6770. },
  6771. },
  6772. // y轴的字体颜色
  6773. axisLabel: {
  6774. textStyle: {
  6775. color: "#fff",
  6776. fontSize: '20',
  6777. fontFamily: 'Microsoft YaHei'
  6778. },
  6779. formatter: function (value) {
  6780. return value === 1 ? 0 : value
  6781. }
  6782. },
  6783. splitLine: {
  6784. show: true,
  6785. lineStyle: {
  6786. color: '#68b4dd66',
  6787. type: 'dashed',
  6788. },
  6789. },
  6790. //y轴线的颜色以及宽度
  6791. axisLine: {
  6792. show: true,
  6793. lineStyle: {
  6794. color: "#1E5389",
  6795. width: 1,
  6796. type: "solid",
  6797. },
  6798. },
  6799. },
  6800. series: [
  6801. {
  6802. name: "总额度",
  6803. type: "bar",
  6804. data: common5,
  6805. showBackground: false,
  6806. backgroundStyle: {
  6807. color: "#18416F",
  6808. },
  6809. barWidth: "30%",
  6810. itemStyle: {
  6811. // barBorderRadius: [10, 10, 0, 0],
  6812. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
  6813. {
  6814. offset: 0,
  6815. color: '#082550',
  6816. },
  6817. {
  6818. offset: 1,
  6819. color: '#69c0ff',
  6820. },
  6821. ]),
  6822. },
  6823. },
  6824. ],
  6825. legend: {
  6826. data: ["总额度"],
  6827. textStyle: {
  6828. // 图列内容样式
  6829. color: "#fff", // 字体颜色
  6830. fontSize: "20",
  6831. fontFamily: 'Microsoft YaHei'
  6832. },
  6833. right: 'center',
  6834. y: 5,
  6835. },
  6836. };
  6837. let that = this
  6838. that.myChartTip3.on('click', function (param) {
  6839. if (location == 'right') {
  6840. that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
  6841. } else if (location == 'left') {
  6842. that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
  6843. } else if (location == 'center') {
  6844. that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType, param2)
  6845. }
  6846. })
  6847. that.myChartTip3.setOption(option);
  6848. tools.loopShowTooltip(that.myChartTip3, option, {
  6849. interval: 2000,
  6850. loopSeries: true,
  6851. })
  6852. },
  6853. // 找企业编码
  6854. findCode (code) {
  6855. let a = this.commonCompanyAll.find((item, index) => {
  6856. return item.simplename == code
  6857. })
  6858. return a ? a.number.slice(0, 4) : ''
  6859. },
  6860. // 根据key分组
  6861. classify (arr, k) {
  6862. let map = {};
  6863. let myArr = [];
  6864. for (let i = 0; i < arr.length; i++) {
  6865. if (!map[arr[i][k]]) {
  6866. let a = {}
  6867. a[k] = arr[i][k]
  6868. a.data = [arr[i]]
  6869. myArr.push(a)
  6870. map[arr[i][k]] = arr[i]
  6871. } else {
  6872. for (let j = 0; j < myArr.length; j++) {
  6873. if (arr[i][k] === myArr[j][k]) {
  6874. myArr[j].data.push(arr[i]);
  6875. break
  6876. }
  6877. }
  6878. }
  6879. }
  6880. return myArr
  6881. },
  6882. chooseTime (value) {
  6883. let that = this
  6884. // this.backChina()
  6885. // this.year = value
  6886. // that.fling = false
  6887. // that.destroyCharts()
  6888. // that.closeTap()
  6889. this.pullShow = false
  6890. setTimeout(item => {
  6891. // that.comeIn()
  6892. })
  6893. },
  6894. changeTopColor () {
  6895. this.list = document.getElementsByClassName('row-item')
  6896. for (var i = 0; i < this.list.length; i++) {
  6897. if (i == 1) {
  6898. this.list[i].classList.add('light')
  6899. } else {
  6900. this.list[i].classList.remove('light')
  6901. }
  6902. }
  6903. this.leftEcharts11Fun()
  6904. },
  6905. // 找项目编码
  6906. findProjectCode (a, b, type, e) {
  6907. if (type == 'center') {
  6908. return this.originalConfig6[e.rowIndex].projectno
  6909. } else if (type == 'right') {
  6910. return this.originalConfig6[e.rowIndex].mdnb_projectnumber
  6911. } else if (type == 'left') {
  6912. return this.originalConfig6[e.rowIndex].mdnb_textfield14
  6913. } else if (type == 'center2') {
  6914. return this.centerOriginalConfig6[e.rowIndex].projectno
  6915. } else if (type == 'right2') {
  6916. return this.rightOriginalConfig6[e.rowIndex].mdnb_prono
  6917. }
  6918. },
  6919. // 去项目看板
  6920. goLookBoard (e, f) {
  6921. let value = {
  6922. access_token: this.access_token,
  6923. proCode: this.findProjectCode(e.row[0], e.row[1], this.boardType, e)
  6924. }
  6925. post('/ierp/kapi/v2/mdnb/mdnb_xmkb/mdnb_manager_middle/getProCode', value).then(res => {
  6926. if (res.status) {
  6927. if (f) {
  6928. this.boardType = f
  6929. }
  6930. 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)}`
  6931. this.boardTipShow = true
  6932. console.log(this.boardUrl, '跳转去的项目看板地址')
  6933. }
  6934. resolve(1);
  6935. })
  6936. },
  6937. },
  6938. });