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