(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1f1f0f92"],{"51ef":function(e,t,o){"use strict";var r=o("b775");t["a"]={queryBoardTotalData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r["a"])({url:"/pc/p/dash/board/totalData",method:"get",params:e})},queryPlanMoney:function(){return Object(r["a"])({url:"/pc/p/dash/board/planMoney",method:"get"})},queryProjectYear:function(){return Object(r["a"])({url:"/pc/p/dash/board/yearProjectNum",method:"get"})},queryProjectNumByType:function(){return Object(r["a"])({url:"/pc/p/dash/board/projectNumByType",method:"get"})},queryProjectNumByBatch:function(){return Object(r["a"])({url:"/pc/p/dash/board/projectNumByBatch",method:"get"})},queryProjectList:function(){return Object(r["a"])({url:"/pc/p/dash/board/projectNodeTime",method:"get"})},queryProjectMap:function(){return Object(r["a"])({url:"/pc/p/dash/board/totalDataByOrg",method:"get"})}}},e554:function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"projectYear",staticStyle:{width:"100%",height:"100%"}})},a=[],n=o("313e"),i=o.n(n),c=o("51ef"),l={name:"project-year",data:function(){return{loading:!0}},mounted:function(){var e=this,t=i.a.init(this.$refs.projectYear);window.addEventListener("resize",(function(){e.$nextTick((function(){t.resize()}))})),c["a"].queryProjectYear().then((function(t){console.log("resqueryProjectYear",t),e.loading=!1})),t.setOption({tooltip:{trigger:"axis"},grid:{right:20,left:50,top:30,bottom:20},legend:{right:0,top:0,textStyle:{color:"#ADB1B4",fontSize:13}},xAxis:[{type:"category",axisLine:{lineStyle:{color:"#0D496E"}},axisLabel:{show:!0,textStyle:{fontSize:12,color:"#ADB1B4"}},data:["2017年","2018年","2018年","2019年"]},{type:"category",show:!1,data:["2017年","2018年","2018年","2019年"]}],yAxis:{type:"value",splitLine:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,textStyle:{fontSize:12,color:"#ADB1B4"}}},series:[{name:"完工项目",data:[256,856,354,26],type:"bar",barWidth:10,itemStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#E8B351"},{offset:1,color:"#DBA33A"}],global:!1}}},{name:"新增项目",data:[56,856,54,26],type:"bar",barWidth:10,itemStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#00F0FF"},{offset:1,color:"#23ACE6"}],global:!1}}},{tooltip:{show:!1},xAxisIndex:1,itemStyle:{color:"rgba(180, 180, 180, 0.2)"},data:[1e3,1e3,1e3,1e3],barWidth:48,emphasis:{itemStyle:{color:{type:"linear",x:0,x2:0,y:0,y2:1,colorStops:[{offset:0,color:"rgba(64, 247, 176, 0.25)"},{offset:1,color:"rgba(17, 34, 64, 0.25)"}]}}},type:"bar"}]})}},s=l,u=o("2877"),d=Object(u["a"])(s,r,a,!1,null,null,null);t["default"]=d.exports}}]);
|