index.js 246 KB

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