index.js 269 KB

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