(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3d5e49b2"],{"0b65":function(t,e,n){"use strict";e.a={shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[e,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"上月",value:function(){var t=new Date,e=new Date,n=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,n))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]}},"0f3f":function(t,e,n){},"170a":function(t,e,n){},"586c":function(t,e,n){t.exports=n.p+"view_admin/img/yonghu.874cd27c.png"},"6b49":function(t,e,n){"use strict";var r=n("170a");n.n(r).a},"73f5":function(t,e,n){"use strict";n.d(e,"y",(function(){return a})),n.d(e,"r",(function(){return i})),n.d(e,"n",(function(){return o})),n.d(e,"q",(function(){return s})),n.d(e,"s",(function(){return c})),n.d(e,"t",(function(){return u})),n.d(e,"j",(function(){return l})),n.d(e,"i",(function(){return d})),n.d(e,"P",(function(){return f})),n.d(e,"h",(function(){return h})),n.d(e,"v",(function(){return m})),n.d(e,"u",(function(){return p})),n.d(e,"w",(function(){return b})),n.d(e,"p",(function(){return g})),n.d(e,"G",(function(){return y})),n.d(e,"H",(function(){return w})),n.d(e,"E",(function(){return x})),n.d(e,"F",(function(){return v})),n.d(e,"g",(function(){return D})),n.d(e,"B",(function(){return _})),n.d(e,"C",(function(){return O})),n.d(e,"D",(function(){return j})),n.d(e,"O",(function(){return L})),n.d(e,"J",(function(){return C})),n.d(e,"I",(function(){return F})),n.d(e,"e",(function(){return S})),n.d(e,"N",(function(){return k})),n.d(e,"l",(function(){return T})),n.d(e,"K",(function(){return A})),n.d(e,"L",(function(){return V})),n.d(e,"M",(function(){return M})),n.d(e,"k",(function(){return z})),n.d(e,"o",(function(){return P})),n.d(e,"z",(function(){return E})),n.d(e,"m",(function(){return W})),n.d(e,"x",(function(){return N})),n.d(e,"f",(function(){return Y})),n.d(e,"A",(function(){return B})),n.d(e,"b",(function(){return R})),n.d(e,"d",(function(){return $})),n.d(e,"c",(function(){return I})),n.d(e,"a",(function(){return J}));var r=n("b6bd");function a(t){return Object(r.a)({url:"merchant/store_list",method:"get",params:t})}function i(t){return Object(r.a)({url:"store/order/list",method:"get",params:t})}function o(t){return Object(r.a)({url:"store/order/chart",method:"get",params:t})}function s(t){return Object(r.a)({url:"store/order/header",method:"get"})}function c(t){return Object(r.a)({url:"store/recharge",method:"get",params:t})}function u(t){return Object(r.a)({url:"store/vip_order",method:"get",params:t})}function l(t){return Object(r.a)({url:"store/order/edit/".concat(t),method:"get"})}function d(t){return Object(r.a)({url:"store/order/distribution/".concat(t),method:"get"})}function f(t){return Object(r.a)({url:"store/order/write_update/".concat(t),method:"put"})}function h(t){return Object(r.a)({url:"store/order/info/".concat(t),method:"get"})}function m(t){return Object(r.a)({url:"order/remark/".concat(t.id),method:"put",data:t.remark})}function p(t){return Object(r.a)({url:"store/recharge/remark/".concat(t.id),method:"put",data:t.remark})}function b(t){return Object(r.a)({url:"store/vip/remark/".concat(t.id),method:"put",data:t.remark})}function g(t,e){return Object(r.a)({url:"store/order/export/".concat(e),method:"post",data:t})}function y(t){return Object(r.a)({url:"store/finance_flow/list",method:"get",params:t})}function w(t,e){return Object(r.a)({url:"store/finance_flow/mark/".concat(t),method:"put",params:e})}function x(t){return Object(r.a)({url:"store/finance_flow/fund_record",method:"get",params:t})}function v(t){return Object(r.a)({url:"store/finance_flow/fund_record_info",method:"get",params:t})}function D(t){return Object(r.a)({url:"/export/storeFinanceRecord",method:"get",params:t})}function _(t){return Object(r.a)({url:"/store/extract/list",method:"get",params:t})}function O(t,e){return Object(r.a)({url:"store/extract/mark/".concat(t),method:"post",data:e})}function j(t,e){return Object(r.a)({url:"store/extract/verify/".concat(t),method:"post",data:e})}function L(t){return Object(r.a)({url:"store/extract/transfer/".concat(t),method:"get"})}function C(t){return Object(r.a)({url:"store/store",method:"get",params:t})}function F(t){return Object(r.a)({url:"store/store/get_info/".concat(t),method:"get"})}function S(t){return Object(r.a)({url:"city",method:"get",params:t})}function k(t,e){return Object(r.a)({url:"store/store/".concat(t),method:"post",data:e})}function T(){return Object(r.a)({url:"store/store/address",method:"get"})}function A(t){return Object(r.a)({url:"store/store/login/".concat(t),method:"get"})}function V(t,e){return Object(r.a)({url:"store/store/set_show/".concat(t,"/").concat(e),method:"put"})}function M(t){return Object(r.a)({url:"store/share/order",method:"post",params:t})}function z(t){return Object(r.a)({url:"store/home/header",method:"get",params:t})}function P(t){return Object(r.a)({url:"store/home/orderChart",method:"get",params:t})}function E(t){return Object(r.a)({url:"store/home/store",method:"get",params:t})}function W(t){return Object(r.a)({url:"store/home/operate",method:"get",params:t})}function N(t){return Object(r.a)({url:"store/store/reset_admin/".concat(t),method:"get"})}function Y(t,e,n){return Object(r.a)({url:"export/storeFlowExport?store_id=".concat(t,"&keyword=").concat(e,"&data=").concat(n),method:"get"})}function B(t){return Object(r.a)({url:"/store/category",params:t,method:"get"})}function R(t){return Object(r.a)({url:"/store/category/create/".concat(t),method:"get"})}function $(t){return Object(r.a)({url:"/store/category/tree/".concat(t),method:"get"})}function I(t){return Object(r.a)({url:"/store/category/set_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function J(t){return Object(r.a)({url:"store/category/cascader_list/".concat(t),method:"get"})}},9901:function(t,e,n){"use strict";var r=n("313e"),a=n.n(r),i={name:"index",props:{infoList:{type:Object,default:null},styles:{type:Object,default:null},series:Array,echartsTitle:{type:String,default:""},yAxisData:{type:Array,default:function(){return[]}},bingXdata:Array},data:function(){return{infoLists:this.infoList,seriesArray:this.series}},watch:{infoList:{handler:function(t,e){this.infoLists=t,this.handleSetVisitChart()},deep:!0},series:{handler:function(t,e){this.seriesArray=t,this.handleSetVisitChart()},deep:!0}},computed:{echarts:function(){return"echarts"+Math.ceil(100*Math.random())}},mounted:function(){var t=this,e=this;e.$nextTick((function(){e.handleSetVisitChart(),window.addEventListener("resize",t.wsFunc)}))},methods:{wsFunc:function(){this.myChart.resize()},handleSetVisitChart:function(){var t=this;this.myChart=a.a.init(document.getElementById(this.echarts));var e=null;e="circle"===this.echartsTitle?{tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:this.infoLists.bing_xdata||[]},series:[{name:"",type:"pie",radius:"60%",center:["50%","50%"],data:this.infoLists.bing_data||[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}:"circle1"===this.echartsTitle?{tooltip:{trigger:"item",formatter:"{b} : {c} ({d}%)"},legend:{icon:"circle",top:"5%",left:"center",fontSize:"12",data:this.infoLists.bing_xdata||[]},series:[{name:"访问来源",type:"pie",radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!0,formatter:"{d}%",position:"inner",fontSize:"12"},emphasis:{label:{show:!0,fontSize:"15",fontWeight:"bold"}},labelLine:{show:!1},data:this.infoLists.bing_data||[]}]}:"inlie"===this.echartsTitle?{tooltip:{trigger:"axis"},toolbox:{},legend:{icon:"line",left:"left",fontWeight:"100",data:this.infoLists.legend||[]},color:["#1495EB","#00CC66","#F9D249","#ff9900","#9860DF"],grid:{left:16,right:25,bottom:10,top:40,containLabel:!0},xAxis:[{type:"category",axisLine:{lineStyle:{color:"#D7DDE4"}},axisTick:{alignWithLabel:!0,lineStyle:{color:"#D7DDE4"}},splitLine:{show:!1,lineStyle:{color:"#F5F7F9"}},axisLabel:{interval:0,rotate:40,textStyle:{color:"#7F8B9C"}},data:this.infoLists.xAxis}],yAxis:this.yAxisData.length?this.yAxisData:{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}},type:"value"},series:this.seriesArray}:{tooltip:{trigger:"axis"},toolbox:{},legend:{data:this.infoLists.legend||[]},color:["#1495EB","#00CC66","#F9D249","#ff9900","#9860DF"],grid:{left:16,right:25,bottom:10,top:40,containLabel:!0},xAxis:[{type:"category",axisLine:{lineStyle:{color:"#D7DDE4"}},axisTick:{alignWithLabel:!0,lineStyle:{color:"#D7DDE4"}},splitLine:{show:!1,lineStyle:{color:"#F5F7F9"}},axisLabel:{interval:0,rotate:40,textStyle:{color:"#7F8B9C"}},data:this.infoLists.xAxis}],yAxis:this.yAxisData.length?this.yAxisData:{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}},type:"value"},series:this.seriesArray},setTimeout((function(){t.wsFunc(),t.myChart.setOption(e,!0)}),200)},handleResize:function(){this.myChart.resize()}},beforeDestroy:function(){window.removeEventListener("resize",this.wsFunc),this.myChart&&(this.myChart.dispose(),this.myChart=null)}},o=(n("df86"),n("2877")),s=Object(o.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"styles",style:this.styles,attrs:{id:this.echarts}})])}),[],!1,null,"7b0883a1",null);e.a=s.exports},a584:function(t,e,n){"use strict";var r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=(a(r={name:"cards",data:function(){return{}},props:{cardLists:Array}},"data",(function(){return{}})),a(r,"methods",{}),a(r,"created",(function(){})),r),o=(n("bcf5"),n("2877")),s=Object(o.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Row",{staticClass:"ivu-mt",attrs:{type:"flex",align:"middle",gutter:16}},t._l(t.cardLists,(function(e,r){return n("Col",{key:r,staticClass:"ivu-mb",attrs:{xs:24,sm:24,md:24,lg:12,xl:8,xxl:{span:e.col}}},[n("Card",{staticClass:"card_cent",attrs:{shadow:"",padding:0}},[n("div",{staticClass:"card_box"},[n("div",{staticClass:"card_box_cir",class:{one:r%5==0,two:r%5==1,three:r%5==2,four:r%5==3,five:r%5==4}},[n("div",{staticClass:"card_box_cir1",class:{one1:r%5==0,two1:r%5==1,three1:r%5==2,four1:r%5==3,five1:r%5==4}},[e.type?n("span",{staticClass:"iconfont",class:e.className}):n("Icon",{attrs:{type:e.className}})],1)]),n("div",{staticClass:"card_box_txt"},[n("span",{staticClass:"sp1",domProps:{textContent:t._s(e.count||0)}}),n("span",{staticClass:"sp2",domProps:{textContent:t._s(e.name)}})])])])],1)})),1)],1)}),[],!1,null,"79aa0883",null);e.a=s.exports},b61c:function(t,e,n){"use strict";n.r(e);var r=n("2f62"),a=n("73f5"),i=n("9901"),o=n("a584"),s=n("0b65");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l={name:"home",components:{cardsData:o.a,echartsFrom:i.a},data:function(){return{loading:!1,optionData:{},formValidate:{status:"",extract_type:"",nireid:"",data:"thirtyday",page:1,limit:20},timeVal:[],options:s.a,cardLists:[],extractStatistics:{},series:[],yAxisData:[],infoList:{},infoLists:{},circle:"circle1",inlie:"inlie",columns:[{title:"门店名称",key:"name",minWidth:80},{title:"门店实际收款",width:180,key:"store_price"},{title:"门店商品销售额",key:"store_order_price",minWidth:100},{title:"门店商品销量",key:"store_product_count",minWidth:100},{title:"门店新增用户数",key:"store_user_count",minWidth:100}],columns2:[{title:"头像",slot:"avatar",minWidth:50},{title:"用户名称",minWidth:100,slot:"nickname"},{title:"订单号",key:"order_id",minWidth:100},{title:"交易金额",slot:"pay_price",minWidth:100},{title:"成交时间",slot:"pay_time",minWidth:100}],tabList:[],tabList2:[]}},computed:function(t){for(var e=1;e