archives-html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
18 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8ad9fd2a"],{"0a5c":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className,style:{height:t.height,width:t.width}})},n=[],i=a("313e"),r=a.n(i),l=a("feb2");a("817d");var o=3e3,c={mixins:[l["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=r.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},radar:{radius:"66%",center:["50%","42%"],splitNumber:8,splitArea:{areaStyle:{color:"rgba(127,95,132,.3)",opacity:1,shadowBlur:45,shadowColor:"rgba(0,0,0,.5)",shadowOffsetX:0,shadowOffsetY:15}},indicator:[{name:"Sales",max:1e4},{name:"Administration",max:2e4},{name:"Information Techology",max:2e4},{name:"Customer Support",max:2e4},{name:"Development",max:2e4},{name:"Marketing",max:2e4}]},legend:{left:"center",bottom:"10",data:["Allocated Budget","Expected Spending","Actual Spending"]},series:[{type:"radar",symbolSize:0,areaStyle:{normal:{shadowBlur:13,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1}},data:[{value:[5e3,7e3,12e3,11e3,15e3,14e3],name:"Allocated Budget"},{value:[4e3,9e3,15e3,15e3,13e3,11e3],name:"Expected Spending"},{value:[5500,11e3,12e3,15e3,12e3,12e3],name:"Actual Spending"}],animationDuration:o}]})}}},d=c,p=a("2877"),u=Object(p["a"])(d,s,n,!1,null,null,null);e["default"]=u.exports},"1e4b":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("statistics")],1)},n=[],i=a("fbc4"),r=a("eab4"),l=a("0a5c"),o=a("d153"),c=a("9488"),d=a("8b4b"),p={newVisitis:{expectedData:[100,120,161,134,105,160,165],actualData:[120,82,91,154,162,140,145]},messages:{expectedData:[200,192,120,144,160,130,140],actualData:[180,160,151,106,145,150,130]},purchases:{expectedData:[80,100,121,104,105,90,100],actualData:[120,90,100,138,142,130,130]},shoppings:{expectedData:[130,140,141,142,145,150,160],actualData:[120,82,91,154,162,140,130]}},u={name:"Index",components:{PanelGroup:i["default"],LineChart:r["default"],RaddarChart:l["default"],PieChart:o["default"],BarChart:c["default"],statistics:d["default"]},data:function(){return{lineChartData:p.newVisitis}},methods:{handleSetLineChartData:function(t){this.lineChartData=p[t]}}},h=u,m=(a("bf94"),a("2877")),y=Object(m["a"])(h,s,n,!1,null,"250f82fd",null);e["default"]=y.exports},"253a":function(t,e,a){},"26ab":function(t,e,a){"use strict";a("cbc2")},"8b4b":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-tabs",[a("el-tab-pane",{attrs:{label:"查询"}})],1),a("el-collapse",{staticClass:"searchCollapse",attrs:{accordion:""},on:{change:t.handleCollapseChange},model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"",name:"1"}},[a("span",{staticClass:"collapse-title",attrs:{slot:"title"},domProps:{textContent:t._s(t.collapseTitle)},slot:"title"}),a("avue-form",{ref:"search",attrs:{option:t.selectOption},scopedSlots:t._u([{key:"menuForm",fn:function(e){return[a("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-s-data"},on:{click:t.searchStatisticInfo}},[t._v("统计")]),a("el-button",{attrs:{type:"default",size:"small",icon:"el-icon-delete"},on:{click:t.clearSearchForm}},[t._v("清空")])]}}]),model:{value:t.selectForm,callback:function(e){t.selectForm=e},expression:"selectForm"}})],1)],1),a("el-tabs",{staticClass:"secondTabs"},[a("el-tab-pane",{attrs:{label:"档案统计"}})],1),a("div",{staticStyle:{display:"none"},attrs:{id:"forTable"}},[a("avue-crud",{ref:"repository",attrs:{data:t.repositoryData,"table-loading":t.repositoryLoading,option:t.