1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-393bb16f"],{"0c9f":function(t,e,a){"use strict";a.d(e,"j",(function(){return s})),a.d(e,"o",(function(){return n})),a.d(e,"m",(function(){return r})),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 f})),a.d(e,"q",(function(){return p})),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 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,"w",(function(){return j}));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})}},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<o;(o>>>=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")}}})},"34b9":function(t,e,a){},"3c6d":function(t,e,a){"use strict";a("ce27")},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.n)({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("82b0"),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,"273ce606",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.k)({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<i.series.length;n++)t.$set(i.series[n],"icon",s[n]);t.list=i.series,t.getExcel=i.export,t.get(i),t.spinShow=!1;case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.msg),t.spinShow=!1}))},get:function(t){var e=t.series.filter((function(t){return 1===t.type})),a=e.map((function(t){return t.name})),i=["#5B8FF9","#5AD8A6","#5D7092","#F5222D","#FFAB2B","#B37FEB"],s=[];e.map((function(t,e){var a=[];Object.keys(t.value).forEach((function(e){a.push(Number(t.value[e]))})),s.push({name:t.name,type:"line",data:a,itemStyle:{normal:{color:i[e]}},smooth:!0})})),this.optionData={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"center",data:a},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{interval:0,rotate:40,textStyle:{color:"#000000"}},data:t.x},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},series:s}},excel:function(){window.location.href=this.getExcel},getTrend:function(){var t=this;Object(i.o)({data:this.dataTime}).then(function(){var e=Object(l.a)(Object(c.a)().mark((function e(a){var i,s,n,r;return Object(c.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=a.data.series.map((function(t){return t.name})),s=a.data.xAxis,n=["#5B8FF9","#5AD8A6","#5D7092","#5D7092"],r=[],a.data.series.map((function(t,e){r.push({name:t.name,type:"line",data:t.value,itemStyle:{normal:{color:n[e]}}})})),t.optionData={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"1px",y:"10px",data:i},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{feature:{saveAsImage:{}}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{interval:0,rotate:40,textStyle:{color:"#000000"}},data:s},yAxis:{type:"value",splitLine:{show:!1},axisLine:{show:!1}},series:r};case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.msg)}))}}},a("3c6d"),a={name:"index",components:{toDay:n,transactionFrom:Object(o.a)(s,(function(){var t=this,e=t._self._c;return e("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.spinShow,expression:"spinShow"}],staticClass:"ivu-mt-16",attrs:{bordered:!1,shadow:"never"}},[e("div",{staticClass:"acea-row row-between-wrapper mb20"},[e("div",{staticClass:"statics-header-title"},[e("h4",[t._v("交易概况")]),e("el-tooltip",{attrs:{placement:"right-start"}},[e("i",{staticClass:"el-icon-question ml10"}),e("div",{attrs:{slot:"content"},slot:"content"},[e("div",[t._v("营业额")]),e("div",[t._v("商品支付金额、充值金额、购买付费会员金额、线下收银金额")]),e("br"),e("div",[t._v("商品支付金额")]),e("div",[t._v("\n 选定条件下,用户购买商品的实际支付金额,包括微信支付、余额支付、支付宝支付、线下支付金额(拼团商品在成团之后计入,线下支付订单在后台确认支付后计入)\n ")]),e("br"),e("div",[t._v("购买会员金额")]),e("div",[t._v("选定条件下,用户成功购买付费会员的金额")]),e("br"),e("div",[t._v("充值金额")]),e("div",[t._v("选定条件下,用户成功充值的金额")]),e("br"),e("div",[t._v("线下收银金额")]),e("div",[t._v("选定条件下,用户在线下扫码支付的金额")]),e("br"),e("div",[t._v("支出金额")]),e("div",[t._v("余额支付金额、支付佣金金额、商品退款金额")]),e("br"),e("div",[t._v("余额支付金额")]),e("div",[t._v("用户下单时使用余额实际支付的金额")]),e("br"),e("div",[t._v("佣金支付金额")]),e("div",[t._v("后台给推广员支付的推广佣金,以实际支付为准")]),e("br"),e("div",[t._v("商品退款金额")]),e("div",[t._v("用户成功退款的商品金额")])])])],1),e("div",{staticClass:"acea-row"},[e("el-date-picker",{staticClass:"mr20",staticStyle:{width:"250px"},attrs:{clearable:"",type:"daterange",editable:!1,format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}}),e("el-button",{attrs:{type:"primary"},on:{click:t.onSeach}},[t._v("查询")]),e("el-button",{attrs:{type:"primary"},on:{click:t.excel}},[t._v("导出")])],1)]),e("div",{staticClass:"acea-row mb20"},t._l(t.list,(function(a,i){return e("div",{key:i,staticClass:"infoBox acea-row mb30"},[e("div",{staticClass:"iconCrl mr15",class:{one:i%4==0,two:i%4==1,three:i%4==2,four:i%4==3}},[e("i",{staticClass:"iconfont",class:a.icon})]),e("div",{staticClass:"info"},[e("span",{staticClass:"sp1",domProps:{textContent:t._s(a.name)}}),i===t.list.length-1?e("span",{staticClass:"sp2",domProps:{textContent:t._s(a.money?(parseInt(100*a.money)/100).toFixed(2):"0.00")}}):e("span",{staticClass:"sp2",domProps:{textContent:t._s(a.money||"0.00")}}),e("span",{staticClass:"content-time spBlock"},[t._v("环比增长:"),e("i",{staticClass:"content-is",class:0<=Number(a.rate)?"up":"down"},[t._v(t._s(a.rate)+"%")]),e("i",{class:[0<=Number(a.rate)?"el-icon-caret-top":"el-icon-caret-bottom"],style:{color:0<=Number(a.rate)?"#F5222D":"#39C15B"}})])])])})),0),t.optionData?e("echarts-new",{attrs:{"option-data":t.optionData,styles:t.style,height:"100%",width:"100%"}}):t._e()],1)}),[],!1,null,"25289846",null).exports}},n=Object(o.a)(a,(function(){var t=this._self._c;return t("div",[t("to-day"),t("transaction-from")],1)}),[],!1,null,"6de55f0a",null);e.default=n.exports},"4d63":function(t,e,a){"use strict";var i=a("83ab"),s=a("da84"),n=a("e330"),r=a("94ca"),o=a("7156"),c=a("9112"),l=a("241c").f,u=a("3a9b"),d=a("44e7"),h=a("577e"),f=a("90d8"),p=a("9f7f"),m=a("aeb0"),g=a("cb2d"),y=a("d039"),b=a("1a2d"),v=a("69f3").enforce,x=a("2626"),_=a("b622"),w=a("fce3"),D=a("107c"),C=_("match"),O=s.RegExp,j=O.prototype,k=s.SyntaxError,F=n(j.exec),S=n("".charAt),B=n("".replace),E=n("".indexOf),L=n("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\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(e,"s"))?B(e,/s/g,""):e,M&&"sticky"in T&&(i=!!e&&-1<E(e,"y"))&&R&&(e=B(e,/y/g,"")),D&&(t=(r=function(t){for(var e,a=t.length,i=0,s="",n=[],r={},o=!1,c=!1,l=0,u="";i<=a;i++){if("\\"===(e=S(t,i)))e+=S(t,++i);else if("]"===e)o=!1;else if(!o)switch(!0){case"["===e:o=!0;break;case"("===e:F(N,L(t,i+1))&&(i+=2,c=!0),s+=e,l++;continue;case">"===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")},"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<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(s.a)({required:!0,message:t,type:"string"},e)}function l(t){return u.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}o(c,"请输入%s"),o(l,"%s格式不正确");var u=Object.keys(r).reduce((function(t,e){return t[e]=function(t){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r="range"===e?{min:t[0],max:t[1]}:Object(i.a)({},e,t);return Object(s.a)(Object(s.a)({message:a.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},r),n)},o(t[e],r[e]),t}),{})},"82b0":function(t,e,a){"use strict";a("34b9")},b680:function(t,e,a){"use strict";function i(t,e,a){return 0===e?a:e%2==1?i(t,e-1,a*t):i(t*t,e/2,a)}function s(t,e,a){for(var i=-1,s=a;++i<6;)s+=e*t[i],t[i]=s%1e7,s=p(s/1e7)}function n(t,e){for(var a=6,i=0;0<=--a;)i+=t[a],t[a]=p(i/e),i=i%e*1e7}function r(t){for(var e,a=6,i="";0<=--a;)""===i&&0!==a&&0===t[a]||(e=f(t[a]),i=""===i?e:i+m("0",7-e.length)+e);return i}var o=a("23e7"),c=a("e330"),l=a("5926"),u=a("408a"),d=a("1148"),h=(a=a("d039"),RangeError),f=String,p=Math.floor,m=c(d),g=c("".slice),y=c(1..toFixed);o({target:"Number",proto:!0,forced:a((function(){return"0.000"!==y(8e-5,3)||"1"!==y(.9,0)||"1.25"!==y(1.255,2)||"1000000000000000128"!==y(0xde0b6b3a7640080,0)}))||!a((function(){y({})}))},{toFixed:function(t){var e,a,o=u(this),c=(t=l(t),[0,0,0,0,0,0]),d="",p="0";if(t<0||20<t)throw new h("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return f(o);if(o<0&&(d="-",o=-o),1e-21<o)if(o=(e=function(t){for(var e=0,a=t;4096<=a;)e+=12,a/=4096;for(;2<=a;)e+=1,a/=2;return e}(o*i(2,69,1))-69)<0?o*i(2,-e,1):o/i(2,e,1),o*=4503599627370496,0<(e=52-e)){for(s(c,0,o),a=t;7<=a;)s(c,1e7,0),a-=7;for(s(c,i(10,a,1),0),a=e-1;23<=a;)n(c,1<<23),a-=23;n(c,1<<a),s(c,1,1),n(c,2),p=r(c)}else s(c,0,o),s(c,1<<-e,0),p=r(c)+m("0",t);return 0<t?d+((o=p.length)<=t?"0."+m("0",t-o)+p:g(p,0,o-t)+"."+g(p,o-t)):d+p}})},c607:function(t,e,a){"use strict";var i=a("83ab"),s=a("fce3"),n=a("c6b6"),r=a("edd0"),o=a("69f3").get,c=RegExp.prototype,l=TypeError;i&&s&&r(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===n(this))return!!o(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},c71e:function(t,e,a){"use strict";var i=a("313e"),s=a.n(i);i={name:"Index",props:{styles:{type:Object,default:null},optionData:{type:Object,default:null}},data:function(){return{myChart:null}},computed:{echarts:function(){return"echarts"+Math.ceil(100*Math.random())}},watch:{optionData:{handler:function(t,e){this.handleSetVisitChart()},deep:!0}},mounted:function(){var t=this,e=this;e.$nextTick((function(){e.handleSetVisitChart(),window.addEventListener("resize",t.wsFunc)}))},beforeDestroy:function(){window.removeEventListener("resize",this.wsFunc),this.myChart&&(this.myChart.dispose(),this.myChart=null)},methods:{wsFunc:function(){this.myChart.resize()},handleSetVisitChart:function(){this.myChart=s.a.init(document.getElementById(this.echarts));var t=this.optionData;this.myChart.setOption(t,!0)}}},a=a("2877"),a=Object(a.a)(i,(function(){var t=this._self._c;return t("div",[t("div",{style:this.styles,attrs:{id:this.echarts}})])}),[],!1,null,"4a0d7a27",null);e.a=a.exports},ce27:function(t,e,a){}}]);
|