index.js 258 KB

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