(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-487b2434"],{"0907":function(t,e,a){"use strict";a("def3")},"0c9f":function(t,e,a){"use strict";a.d(e,"k",(function(){return s})),a.d(e,"p",(function(){return n})),a.d(e,"n",(function(){return r})),a.d(e,"m",(function(){return o})),a.d(e,"q",(function(){return c})),a.d(e,"s",(function(){return l})),a.d(e,"t",(function(){return u})),a.d(e,"w",(function(){return d})),a.d(e,"u",(function(){return h})),a.d(e,"v",(function(){return f})),a.d(e,"r",(function(){return p})),a.d(e,"o",(function(){return m})),a.d(e,"l",(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 x})),a.d(e,"g",(function(){return _})),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 O})),a.d(e,"x",(function(){return j})),a.d(e,"j",(function(){return k}));var i=a("6b6c");function s(t){return Object(i.a)({url:"/statistic/product/get_basic",method:"get",params:t})}function n(t){return Object(i.a)({url:"/statistic/product/get_trend",method:"get",params:t})}function r(t){return Object(i.a)({url:"/statistic/product/get_product_ranking",method:"get",params:t})}function o(t){return Object(i.a)({url:"/statistic/product/get_excel",method:"get",params:t})}function c(t){return Object(i.a)({url:"/statistic/user/get_basic",method:"get",params:t})}function l(t){return Object(i.a)({url:"/statistic/user/get_trend",method:"get",params:t})}function u(t){return Object(i.a)({url:"/statistic/user/get_wechat",method:"get",params:t})}function d(t){return Object(i.a)({url:"/statistic/user/get_wechat_trend",method:"get",params:t})}function h(t){return Object(i.a)({url:"/statistic/user/get_region",method:"get",params:t})}function f(t){return Object(i.a)({url:"/statistic/user/get_sex",method:"get",params:t})}function p(t){return Object(i.a)({url:"/statistic/user/get_excel",method:"get",params:t})}function m(t){return Object(i.a)({url:"/statistic/trade/top_trade",method:"get",params:t})}function g(t){return Object(i.a)({url:"/statistic/trade/bottom_trade",method:"get",params:t})}function y(t){return Object(i.a)({url:"/statistic/order/get_basic",method:"get",params:t})}function b(t){return Object(i.a)({url:"/statistic/order/get_trend",method:"get",params:t})}function v(t){return Object(i.a)({url:"/statistic/order/get_channel",method:"get",params:t})}function x(t){return Object(i.a)({url:"/statistic/order/get_type",method:"get",params:t})}function _(t){return Object(i.a)({url:"/statistic/flow/get_record",method:"get",params:t})}function w(t){return Object(i.a)({url:"/statistic/balance/get_basic",method:"get",params:t})}function D(t){return Object(i.a)({url:"/statistic/balance/get_trend",method:"get",params:t})}function C(t){return Object(i.a)({url:"/statistic/balance/get_channel",method:"get",params:t})}function O(t){return Object(i.a)({url:"/statistic/balance/get_type",method:"get",params:t})}function j(t,e){return Object(i.a)({url:"app/wechat_qrcode/statistic/".concat(t),method:"get",params:e})}function k(t){return Object(i.a)({url:"/statistic/schoolStatistic",method:"get",data:t})}},1148:function(t,e,a){"use strict";var i=a("5926"),s=a("577e"),n=a("1d80"),r=RangeError;t.exports=function(t){var e=s(n(this)),a="",o=i(t);if(o<0||o===1/0)throw new r("Wrong number of repetitions");for(;0>>=1)&&(e+=e))1&o&&(a+=e);return a}},"2c3e":function(t,e,a){"use strict";var i=a("83ab"),s=a("9f7f").MISSED_STICKY,n=a("c6b6"),r=a("edd0"),o=a("69f3").get,c=RegExp.prototype,l=TypeError;i&&s&&r(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===n(this))return!!o(this).sticky;throw new l("Incompatible receiver, RegExp required")}}})},4192:function(t,e,a){"use strict";a.r(e),a("a9e3"),a("d3b7"),a("159b"),a("b64b"),a("14d9");var i=a("0c9f"),s=a("c71e"),n=a("313e"),r=a.n(n),o=(n={name:"ToDay",components:{echartsNew:s.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(i.o)({time:"today"}).then((function(e){t.statisticsData=e.data;var a=e.data.left,i=[],s=a.x,n=(Object.keys(a.series[0].value).forEach((function(t){i.push(Number(a.series[0].value[t]))})),[]),o=(Object.keys(a.series[1].value).forEach((function(t){n.push(Number(a.series[1].value[t]))})),[{name:"今天",type:"line",areaStyle:{normal:{color:new r.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:i,symbol:"none",smooth:!0},{name:"昨天",type:"line",areaStyle:{normal:{color:new r.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:n,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:s,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 r.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 r.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:s,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("0907"),a("2877")),c=(n=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[e("el-row",[t.statisticsData?e("el-col",t._b({staticClass:"br"},"el-col",t.grid,!1),[e("div",[e("h4",{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("el-col",t._b({},"el-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("i",{class:[0<=Number(t.statisticsData.right.today.series[0].rate)?"el-icon-caret-top":"el-icon-caret-bottom"],style:{color:0<=Number(t.statisticsData.right.today.series[0].rate)?"#F5222D":"#39C15B"}})]),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("i",{class:[0<=Number(t.statisticsData.right.month[0].rate)?"el-icon-caret-top":"el-icon-caret-bottom"],style:{color:0<=Number(t.statisticsData.right.month[0].rate)?"#F5222D":"#39C15B"}})])],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("i",{class:[0<=Number(t.statisticsData.right.today.series[1].rate)?"el-icon-caret-top":"el-icon-caret-bottom"],style:{color:0<=Number(t.statisticsData.right.today.series[1].rate)?"#F5222D":"#39C15B"}})]),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("i",{class:[0<=Number(t.statisticsData.right.month[1].rate)?"el-icon-caret-top":"el-icon-caret-bottom"],style:{color:0<=Number(t.statisticsData.right.month[1].rate)?"#F5222D":"#39C15B"}})])],1)])]):t._e()],1)],1)}),[],!1,null,"602eb2b4",null).exports,a("b0c0"),a("b680"),a("c7eb")),l=a("1da1"),u=(a("a15b"),a("4de4"),a("d81d"),a("61f7"));s={name:"transaction",components:{echartsNew:s.a},data:function(){return{grid:{xl:8,lg:8,md:8,sm:24,xs:24},pickerOptions: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(u.a)(e,"yyyy/MM/dd")+"-"+Object(u.a)(t,"yyyy/MM/dd")},mounted:function(){this.getStatistics()},methods:{onSeach:function(){this.getStatistics()},onchangeTime:function(t){this.timeVal=t,this.dataTime=this.timeVal?this.timeVal.join("-"):"",this.name=this.dataTime},getStatistics:function(){var t=this;this.spinShow=!0,Object(i.l)({data:this.dataTime}).then(function(){var e=Object(l.a)(Object(c.a)().mark((function e(a){var i,s,n;return Object(c.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(i=a.data,s=["iconyingyee","iconjiaoyijine","iconshangpinzhifujine","icongoumaihuiyuanjine","iconchongzhijianshu","iconxianxiashouyinjine","iconzhichujine","iconyuezhifujine","iconzhifuyongjinjine","iconshangpintuikuanjine"],n=0;n@^][^\s!#%&*+<=>@^]*>/,T=/a/g,A=/a/g,M=(a=new O(T)!==T,p.MISSED_STICKY),R=p.UNSUPPORTED_Y;_=i&&(!a||M||w||D||y((function(){return A[C]=!1,O(T)!==T||O(A)===A||"/a/i"!==String(O(T,"i"))})));if(r("RegExp",_)){for(var $=function(t,e){var a,i,s=u(j,this),n=d(t),r=void 0===e,l=[],p=t;if(!s&&n&&r&&t.constructor===$)return t;if((n||u(j,t))&&(t=t.source,r)&&(e=f(p)),t=void 0===t?"":h(t),e=void 0===e?"":h(e),p=t,n=e=w&&"dotAll"in T&&(a=!!e&&-1"===e&&c:if(""===u||b(r,u))throw new k("Invalid capture group name");r[u]=!0,c=!(n[n.length]=[u,l]),u="";continue}c?u+=e:s+=e}return[s,n]}(t))[0],l=r[1]),r=o(O(t,e),s?this:j,$),(a||i||l.length)&&(e=v(r),a&&(e.dotAll=!0,e.raw=$(function(t){for(var e,a=t.length,i=0,s="",n=!1;i<=a;i++)"\\"===(e=S(t,i))?s+=e+S(t,++i):n||"."!==e?("["===e?n=!0:"]"===e&&(n=!1),s+=e):s+="[\\s\\S]";return s}(t),n)),i&&(e.sticky=!0),l.length)&&(e.groups=l),t!==p)try{c(r,"source",""===p?"(?:)":p)}catch(t){}return r},I=l(O),V=0;I.length>V;)m($,O,I[V++]);(j.constructor=$).prototype=j,g(s,"RegExp",$,{constructor:!0})}x("RegExp")},"5b82":function(t,e,a){},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"c",(function(){return c})),a.d(e,"b",(function(){return l}));var i=a("ade3"),s=a("5530");function n(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,i,s={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in s)new RegExp("(".concat(a,")")).test(e)&&(i=s[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?i:("00"+i).substr(i.length)));return e}a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("13d5"),a("b64b"),a("99af");var r={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