index.js 255 KB

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