(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1fc0bd16"],{"0c9f":function(t,e,r){"use strict";r.d(e,"j",(function(){return n})),r.d(e,"o",(function(){return i})),r.d(e,"m",(function(){return o})),r.d(e,"l",(function(){return s})),r.d(e,"p",(function(){return c})),r.d(e,"r",(function(){return l})),r.d(e,"s",(function(){return u})),r.d(e,"v",(function(){return h})),r.d(e,"t",(function(){return d})),r.d(e,"u",(function(){return f})),r.d(e,"q",(function(){return p})),r.d(e,"n",(function(){return m})),r.d(e,"k",(function(){return y})),r.d(e,"e",(function(){return g})),r.d(e,"h",(function(){return v})),r.d(e,"f",(function(){return b})),r.d(e,"i",(function(){return w})),r.d(e,"g",(function(){return x})),r.d(e,"a",(function(){return _})),r.d(e,"c",(function(){return D})),r.d(e,"b",(function(){return O})),r.d(e,"d",(function(){return C})),r.d(e,"w",(function(){return j}));var a=r("6b6c");function n(t){return Object(a.a)({url:"/statistic/product/get_basic",method:"get",params:t})}function i(t){return Object(a.a)({url:"/statistic/product/get_trend",method:"get",params:t})}function o(t){return Object(a.a)({url:"/statistic/product/get_product_ranking",method:"get",params:t})}function s(t){return Object(a.a)({url:"/statistic/product/get_excel",method:"get",params:t})}function c(t){return Object(a.a)({url:"/statistic/user/get_basic",method:"get",params:t})}function l(t){return Object(a.a)({url:"/statistic/user/get_trend",method:"get",params:t})}function u(t){return Object(a.a)({url:"/statistic/user/get_wechat",method:"get",params:t})}function h(t){return Object(a.a)({url:"/statistic/user/get_wechat_trend",method:"get",params:t})}function d(t){return Object(a.a)({url:"/statistic/user/get_region",method:"get",params:t})}function f(t){return Object(a.a)({url:"/statistic/user/get_sex",method:"get",params:t})}function p(t){return Object(a.a)({url:"/statistic/user/get_excel",method:"get",params:t})}function m(t){return Object(a.a)({url:"/statistic/trade/top_trade",method:"get",params:t})}function y(t){return Object(a.a)({url:"/statistic/trade/bottom_trade",method:"get",params:t})}function g(t){return Object(a.a)({url:"/statistic/order/get_basic",method:"get",params:t})}function v(t){return Object(a.a)({url:"/statistic/order/get_trend",method:"get",params:t})}function b(t){return Object(a.a)({url:"/statistic/order/get_channel",method:"get",params:t})}function w(t){return Object(a.a)({url:"/statistic/order/get_type",method:"get",params:t})}function x(t){return Object(a.a)({url:"/statistic/flow/get_record",method:"get",params:t})}function _(t){return Object(a.a)({url:"/statistic/balance/get_basic",method:"get",params:t})}function D(t){return Object(a.a)({url:"/statistic/balance/get_trend",method:"get",params:t})}function O(t){return Object(a.a)({url:"/statistic/balance/get_channel",method:"get",params:t})}function C(t){return Object(a.a)({url:"/statistic/balance/get_type",method:"get",params:t})}function j(t,e){return Object(a.a)({url:"app/wechat_qrcode/statistic/".concat(t),method:"get",params:e})}},"2c3e":function(t,e,r){var a=r("da84"),n=r("83ab"),i=r("9f7f").MISSED_STICKY,o=r("c6b6"),s=r("edd0"),c=r("69f3").get,l=RegExp.prototype,u=a.TypeError;n&&i&&s(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!c(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},"3f31":function(t,e,r){},4192:function(t,e,r){"use strict";r.r(e),r("d3b7"),r("159b"),r("b64b"),r("a9e3");var a=r("0c9f"),n=r("c71e"),i=r("313e"),o=r.n(i),s=(i={name:"ToDay",components:{echartsNew:n.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(a.n)({time:"today"}).then((function(e){t.statisticsData=e.data;var r=e.data.left,a=[],n=r.x,i=(Object.keys(r.series[0].value).forEach((function(t){a.push(Number(r.series[0].value[t]))})),[]),s=(Object.keys(r.series[1].value).forEach((function(t){i.push(Number(r.series[1].value[t]))})),[{name:"今天",type:"line",areaStyle:{normal:{color:new o.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:a,symbol:"none",smooth:!0},{name:"昨天",type:"line",areaStyle:{normal:{color:new o.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:i,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:n,axisLine:{show:!1},show:!1}],yAxis:{show:!1},series:s},e.data.right),l=(s=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 o.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:s,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]))})),s=[{name:"今天",type:"line",areaStyle:{normal:{color:new o.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:n,axisLine:{show:!1},show:!1}],yAxis:{show:!1},series:s}})).catch((function(e){t.listLoading=!1,t.$message.error(e.msg)}))},getOrder:function(){},getOrderUser:function(){}}},r("bb23"),r("2877")),c=(i=Object(s.a)(i,(function(){var t=this,e=t.$createElement;e=t._self._c||e;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,r("a4d3"),r("e01a"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("d9e2"),r("131a"),r("fb6a"),r("0122")),l=r("c964"),u=(r("a15b"),r("b0c0"),r("4de4"),r("d81d"),r("61f7"));function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i,o,s,c;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),n=new D(n||[]);return a(e,"_invoke",{value:(i=t,o=r,s=n,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return C()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r&&(r=function t(e,r){var a=r.method,n=e.iterator[a];return void 0===n?(r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),f):(a=d(n,e.iterator,r.arg),"throw"===a.type?(r.method="throw",r.arg=a.arg,r.delegate=null,f):(n=a.arg,n?n.done?(r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,f):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)))}(r,s),r)){if(r===f)continue;return r}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",r=d(i,o,s),"normal"===r.type){if(c=s.done?"completed":"suspendedYield",r.arg===f)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(c="completed",s.method="throw",s.arg=r.arg)}})}),e}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function m(){}function y(){}n={};var g=(l(n,i,(function(){return this})),Object.getPrototypeOf),v=(g=g&&g(g(O([]))),g&&g!==e&&r.call(g,i)&&(n=g),y.prototype=p.prototype=Object.create(n));function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var n;a(this,"_invoke",{value:function(a,i){function o(){return new e((function(n,o){!function a(n,i,o,s){var l;n=d(t[n],t,i);if("throw"!==n.type)return(i=(l=n.arg).value)&&"object"==Object(c.a)(i)&&r.call(i,"__await")?e.resolve(i.__await).then((function(t){a("next",t,o,s)}),(function(t){a("throw",t,o,s)})):e.resolve(i).then((function(t){l.value=t,o(l)}),(function(t){return a("throw",t,o,s)}));s(n.arg)}(a,i,n,o)}))}return n=n?n.then(o,o):o()}})}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function O(t){if(t){var e,a=t[i];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(a=function a(){for(;++e@^][^\s!#%&*+<=>@^]*>/,T=/a/g,A=/a/g,M=(r=new C(T)!==T,p.MISSED_STICKY),$=p.UNSUPPORTED_Y;x=a&&(!r||M||_||D||g((function(){return A[O]=!1,C(T)!=T||C(A)==A||"/a/i"!=C(T,"i")})));if(o("RegExp",x)){function G(t,e){var r,a,n=u(j,this),i=h(t),o=void 0===e,l=[],p=t;if(!n&&i&&o&&t.constructor===G)return t;if((i||u(j,t))&&(t=t.source,o&&(e=f(p))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),p=t,i=e=_&&"dotAll"in T&&(r=!!e&&-1"===e&&c:if(""===u||v(o,u))throw new k("Invalid capture group name");o[u]=!0,c=!(i[i.length]=[u,l]),u="";continue}c?u+=e:n+=e}return[n,i]}(t))[0],l=o[1]),o=s(C(t,e),n?this:j,G),(r||a||l.length)&&(e=b(o),r&&(e.dotAll=!0,e.raw=G(function(t){for(var e,r=t.length,a=0,n="",i=!1;a<=r;a++)"\\"===(e=L(t,a))?n+=e+L(t,++a):i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),n+=e):n+="[\\s\\S]";return n}(t),i)),a&&(e.sticky=!0),l.length&&(e.groups=l)),t!==p)try{c(o,"source",""===p?"(?:)":p)}catch(t){}return o}for(var P=l(C),R=0;P.length>R;)m(G,C,P[R++]);(j.constructor=G).prototype=j,y(n,"RegExp",G,{constructor:!0})}w("RegExp")},"4feb":function(t,e,r){"use strict";var a=r("3f31");r.n(a).a},"61f7":function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"b",(function(){return l}));var a=r("fc11"),n=r("f3f3");function i(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var r,a,n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(r in n)new RegExp("(".concat(r,")")).test(e)&&(a=n[r]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?a:("00"+a).substr(a.length)));return e}r("ac1f"),r("00b4"),r("5319"),r("4d63"),r("c607"),r("2c3e"),r("25f0"),r("498a"),r("d3b7"),r("b64b"),r("99af");var o={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function s(t,e){t.message=function(t){return e.replace("%s",t||"")}}function c(t){var e=1