(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-08c24f8e"],{"0c9f":function(t,e,a){"use strict";a.d(e,"j",(function(){return i})),a.d(e,"o",(function(){return s})),a.d(e,"m",(function(){return n})),a.d(e,"l",(function(){return o})),a.d(e,"p",(function(){return c})),a.d(e,"r",(function(){return l})),a.d(e,"s",(function(){return u})),a.d(e,"v",(function(){return d})),a.d(e,"t",(function(){return h})),a.d(e,"u",(function(){return p})),a.d(e,"q",(function(){return f})),a.d(e,"n",(function(){return m})),a.d(e,"k",(function(){return g})),a.d(e,"e",(function(){return y})),a.d(e,"h",(function(){return b})),a.d(e,"f",(function(){return v})),a.d(e,"i",(function(){return _})),a.d(e,"g",(function(){return x})),a.d(e,"a",(function(){return w})),a.d(e,"c",(function(){return D})),a.d(e,"b",(function(){return C})),a.d(e,"d",(function(){return j})),a.d(e,"w",(function(){return O}));var r=a("6b6c");function i(t){return Object(r.a)({url:"/statistic/product/get_basic",method:"get",params:t})}function s(t){return Object(r.a)({url:"/statistic/product/get_trend",method:"get",params:t})}function n(t){return Object(r.a)({url:"/statistic/product/get_product_ranking",method:"get",params:t})}function o(t){return Object(r.a)({url:"/statistic/product/get_excel",method:"get",params:t})}function c(t){return Object(r.a)({url:"/statistic/user/get_basic",method:"get",params:t})}function l(t){return Object(r.a)({url:"/statistic/user/get_trend",method:"get",params:t})}function u(t){return Object(r.a)({url:"/statistic/user/get_wechat",method:"get",params:t})}function d(t){return Object(r.a)({url:"/statistic/user/get_wechat_trend",method:"get",params:t})}function h(t){return Object(r.a)({url:"/statistic/user/get_region",method:"get",params:t})}function p(t){return Object(r.a)({url:"/statistic/user/get_sex",method:"get",params:t})}function f(t){return Object(r.a)({url:"/statistic/user/get_excel",method:"get",params:t})}function m(t){return Object(r.a)({url:"/statistic/trade/top_trade",method:"get",params:t})}function g(t){return Object(r.a)({url:"/statistic/trade/bottom_trade",method:"get",params:t})}function y(t){return Object(r.a)({url:"/statistic/order/get_basic",method:"get",params:t})}function b(t){return Object(r.a)({url:"/statistic/order/get_trend",method:"get",params:t})}function v(t){return Object(r.a)({url:"/statistic/order/get_channel",method:"get",params:t})}function _(t){return Object(r.a)({url:"/statistic/order/get_type",method:"get",params:t})}function x(t){return Object(r.a)({url:"/statistic/flow/get_record",method:"get",params:t})}function w(t){return Object(r.a)({url:"/statistic/balance/get_basic",method:"get",params:t})}function D(t){return Object(r.a)({url:"/statistic/balance/get_trend",method:"get",params:t})}function C(t){return Object(r.a)({url:"/statistic/balance/get_channel",method:"get",params:t})}function j(t){return Object(r.a)({url:"/statistic/balance/get_type",method:"get",params:t})}function O(t,e){return Object(r.a)({url:"app/wechat_qrcode/statistic/".concat(t),method:"get",params:e})}},2002:function(t,e,a){"use strict";var r=a("cc7e");a.n(r).a},"2c3e":function(t,e,a){var r=a("da84"),i=a("83ab"),s=a("9f7f").MISSED_STICKY,n=a("c6b6"),o=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=r.TypeError;i&&s&&o(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===n(this))return!!c(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},4192:function(t,e,a){"use strict";a.r(e),a("d3b7"),a("159b"),a("b64b"),a("a9e3");var r=a("0c9f"),i=a("c71e"),s=a("313e"),n=a.n(s),o=(s={name:"ToDay",components:{echartsNew:i.a},data:function(){return{style:{height:"200px"},styleToday:{height:"130px"},legendData:["今天","昨天"],seriesData:[],timer:[],grid:{xl:12,lg:12,md:12,sm:24,xs:24},statisticsData:{},optionTodatOrder:{},orderData:{},orderUserData:{},optionData:{},listLoading:!1,optionDataOrder:{},optionOrderUser:{}}},beforeDestroy:function(){this.visitChart&&(this.visitChart.dispose(),this.visitChart=null)},mounted:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(r.n)({time:"today"}).then((function(e){t.statisticsData=e.data;var a=e.data.left,r=[],i=a.x,s=(Object.keys(a.series[0].value).forEach((function(t){r.push(Number(a.series[0].value[t]))})),[]),o=(Object.keys(a.series[1].value).forEach((function(t){s.push(Number(a.series[1].value[t]))})),[{name:"今天",type:"line",areaStyle:{normal:{color:new n.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#5B8FF9"},{offset:.5,color:"#fff"},{offset:1,color:"#fff"}])}},itemStyle:{normal:{color:"#5B8FF9",lineStyle:{color:"#5B8FF9"}}},data:r,symbol:"none",smooth:!0},{name:"昨天",type:"line",areaStyle:{normal:{color:new n.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#BFBFBF"},{offset:.5,color:"#fff"},{offset:1,color:"#fff"}])}},itemStyle:{normal:{color:"#D9D9D9",lineStyle:{color:"#D9D9D9"}}},data:s,symbol:"none",smooth:!0}]),c=(t.optionData={tooltip:{trigger:"axis"},legend:{x:"1px",y:"10px",data:["今天","昨天"]},grid:{left:"0%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{boundaryGap:!1,data:i,axisLine:{show:!1},show:!1}],yAxis:{show:!1},series:o},e.data.right),l=(o=c.today.x,[]),u=(e=(Object.keys(c.today.series[0].value).forEach((function(t){l.push(Number(c.today.series[0].value[t]))})),[{name:"今天",type:"line",areaStyle:{normal:{color:new n.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#5B8FF9"},{offset:.5,color:"#fff"},{offset:1,color:"#fff"}])}},itemStyle:{normal:{color:"#5B8FF9",lineStyle:{color:"#5B8FF9"}}},data:l,symbol:"none",smooth:!0}]),t.optionTodatOrder={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"1px",y:"10px",data:["今天"]},grid:{left:"0%",right:"4%",bottom:"3%",containLabel:!0},axisLine:{show:!1},xAxis:[{type:"category",boundaryGap:!1,data:o,axisLine:{show:!1},show:!1}],yAxis:{show:!1},series:e},[]);Object.keys(c.today.series[1].value).forEach((function(t){u.push(Number(c.today.series[1].value[t]))})),o=[{name:"今天",type:"line",areaStyle:{normal:{color:new n.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#5B8FF9"},{offset:.5,color:"#fff"},{offset:1,color:"#fff"}])}},itemStyle:{normal:{color:"#5B8FF9",lineStyle:{color:"#5B8FF9"}}},data:u,symbol:"none",smooth:!0}];t.optionOrderUser={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"1px",y:"10px",data:["今天"]},grid:{left:"0%",right:"4%",bottom:"3%",containLabel:!0},axisLine:{show:!1},xAxis:[{type:"category",boundaryGap:!1,data:i,axisLine:{show:!1},show:!1}],yAxis:{show:!1},series:o}})).catch((function(e){t.listLoading=!1,t.$Message.error(e.msg)}))},getOrder:function(){},getOrderUser:function(){}}},a("2002"),a("2877")),c=(s=Object(o.a)(s,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("Row",[t.statisticsData?e("Col",t._b({staticClass:"br"},"Col",t.grid,!1),[e("div",[e("div",{staticClass:"title mb15"},[t._v("今日订单金额")]),e("div",{staticClass:"price"},[t._v("\n ¥"),e("i",[t._v(t._s(t.statisticsData.left.series[0].money))])])]),t.optionData?e("echarts-new",{key:"1",ref:"visitChart",attrs:{height:"100%",width:"100%","option-data":t.optionData,styles:t.style}}):t._e()],1):t._e(),t.statisticsData?e("Col",t._b({},"Col",t.grid,!1),[e("div",{staticClass:"pl25"},[e("div",{staticClass:"toDay"},[e("span",{staticClass:"toDay-title spBlock mb10"},[t._v("今日订单数")]),e("span",{staticClass:"toDay-number spBlock mb10"},[t._v(t._s(t.statisticsData.right.today.series[0].now_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("昨日:"+t._s(t.statisticsData.right.today.series[0].last_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("日环比:\n "),e("i",{staticClass:"content-is",class:0<=Number(t.statisticsData.right.today.series[0].rate)?"up":"down"},[t._v(t._s(Math.floor(t.statisticsData.right.today.series[0].rate))+"%")]),e("Icon",{attrs:{color:0<=Number(t.statisticsData.right.today.series[0].rate)?"#F5222D":"#39C15B",type:0<=Number(t.statisticsData.right.today.series[0].rate)?"md-arrow-dropup":"md-arrow-dropdown"}})],1),t.optionTodatOrder?e("echarts-new",{key:"2",ref:"visitChart",attrs:{height:"100%",width:"100%","option-data":t.optionTodatOrder,styles:t.styleToday}}):t._e(),e("span",{staticClass:"toDay-title spBlock mb10"},[t._v("本月订单数")]),e("span",{staticClass:"toDay-number spBlock mb10"},[t._v(t._s(t.statisticsData.right.month[0].now_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("上月:"+t._s(t.statisticsData.right.month[0].last_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("月环比:\n "),e("i",{staticClass:"content-is",class:0<=Number(t.statisticsData.right.month[0].rate)?"up":"down"},[t._v(t._s(Math.floor(t.statisticsData.right.month[0].rate))+"%")]),e("Icon",{attrs:{color:0<=Number(t.statisticsData.right.month[0].rate)?"#F5222D":"#39C15B",type:0<=Number(t.statisticsData.right.month[0].rate)?"md-arrow-dropup":"md-arrow-dropdown"}})],1)],1),e("div",{staticClass:"toDay",staticStyle:{border:"none"}},[e("span",{staticClass:"toDay-title spBlock mb10"},[t._v("今日支付人数")]),e("span",{staticClass:"toDay-number spBlock mb10"},[t._v(t._s(t.statisticsData.right.today.series[1].now_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("昨日:"+t._s(t.statisticsData.right.today.series[1].last_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("日环比:\n "),e("i",{staticClass:"content-is",class:0<=Number(t.statisticsData.right.today.series[1].rate)?"up":"down"},[t._v(t._s(Math.floor(t.statisticsData.right.today.series[1].rate))+"%")]),e("Icon",{attrs:{color:0<=Number(t.statisticsData.right.today.series[1].rate)?"#F5222D":"#39C15B",type:0<=Number(t.statisticsData.right.today.series[1].rate)?"md-arrow-dropup":"md-arrow-dropdown"}})],1),t.optionOrderUser?e("echarts-new",{key:"3",ref:"visitChart",attrs:{height:"100%",width:"100%","option-data":t.optionOrderUser,styles:t.styleToday}}):t._e(),e("span",{staticClass:"toDay-title spBlock mb10"},[t._v("本月支付人数")]),e("span",{staticClass:"toDay-number spBlock mb10"},[t._v(t._s(t.statisticsData.right.month[1].now_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("上月:"+t._s(t.statisticsData.right.month[1].last_money))]),e("span",{staticClass:"toDay-time spBlock"},[t._v("月环比:\n "),e("i",{staticClass:"content-is",class:0<=Number(t.statisticsData.right.month[1].rate)?"up":"down"},[t._v(t._s(Math.floor(t.statisticsData.right.month[1].rate))+"%")]),e("Icon",{attrs:{color:0<=Number(t.statisticsData.right.month[1].rate)?"#F5222D":"#39C15B",type:0<=Number(t.statisticsData.right.month[1].rate)?"md-arrow-dropup":"md-arrow-dropdown"}})],1)],1)])]):t._e()],1)],1)}),[],!1,null,"7048d0c0",null).exports,a("c964")),l=(a("96cf"),a("a15b"),a("b0c0"),a("4de4"),a("d81d"),a("61f7"));i={name:"transaction",components:{echartsNew:i.a},data:function(){return{grid:{xl:8,lg:8,md:8,sm:24,xs:24},options:this.$timeOptions,name:"近30天",timeVal:[],dataTime:"",list:{},optionData:{},style:{height:"400px"},getExcel:"",spinShow:!1}},created:function(){var t=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),this.timeVal=[e,t],this.dataTime=Object(l.a)(e,"yyyy/MM/dd")+"-"+Object(l.a)(t,"yyyy/MM/dd")},mounted:function(){this.getStatistics()},methods:{onSeach:function(){this.getStatistics()},onchangeTime:function(t){this.timeVal=t,this.dataTime=this.timeVal.join("-"),this.name=this.dataTime},getStatistics:function(){var t=this;this.spinShow=!0,Object(r.k)({data:this.dataTime}).then(function(){var e=Object(c.a)(regeneratorRuntime.mark((function e(a){var r,i,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(r=a.data,i=["iconyingyee","iconjiaoyijine","iconshangpinzhifujine","icongoumaihuiyuanjine","iconchongzhijianshu","iconxianxiashouyinjine","iconzhichujine","iconyuezhifujine","iconzhifuyongjinjine","iconshangpintuikuanjine"],s=0;s@^][^\s!#%&*+<=>@^]*>/,A=/a/g,N=/a/g,M=(a=new j(A)!==A,f.MISSED_STICKY),R=f.UNSUPPORTED_Y;x=r&&(!a||M||w||D||y((function(){return N[C]=!1,j(A)!=A||j(N)==N||"/a/i"!=j(A,"i")})));if(n("RegExp",x)){function I(t,e){var a,r,i=u(O,this),s=d(t),n=void 0===e,l=[],f=t;if(!i&&s&&n&&t.constructor===I)return t;if((s||u(O,t))&&(t=t.source,n&&(e=p(f))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),f=t,s=e=w&&"dotAll"in A&&(a=!!e&&-1"===e&&c:if(""===u||b(n,u))throw new k("Invalid capture group name");n[u]=!0,c=!(s[s.length]=[u,l]),u="";continue}c?u+=e:i+=e}return[i,s]}(t))[0],l=n[1]),n=o(j(t,e),i?this:O,I),(a||r||l.length)&&(e=v(n),a&&(e.dotAll=!0,e.raw=I(function(t){for(var e,a=t.length,r=0,i="",s=!1;r<=a;r++)"\\"===(e=F(t,r))?i+=e+F(t,++r):s||"."!==e?("["===e?s=!0:"]"===e&&(s=!1),i+=e):i+="[\\s\\S]";return i}(t),s)),r&&(e.sticky=!0),l.length&&(e.groups=l)),t!==f)try{c(n,"source",""===f?"(?:)":f)}catch(t){}return n}for(var $=l(j),P=0;$.length>P;)m(I,j,$[P++]);(O.constructor=I).prototype=O,g(i,"RegExp",I,{constructor:!0})}_("RegExp")},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),a.d(e,"c",(function(){return c})),a.d(e,"b",(function(){return l}));var r=a("fc11"),i=a("f3f3");function s(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,r,i={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in i)new RegExp("(".concat(a,")")).test(e)&&(r=i[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length)));return e}a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("b64b"),a("99af");var n={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function o(t,e){t.message=function(t){return e.replace("%s",t||"")}}function c(t){var e=1