index.js 269 KB

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