(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0289c8ef"],{"365c":function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"d",(function(){return s})),a.d(e,"b",(function(){return o}));var i=a("b6bd");function n(t){return Object(i["a"])({url:"home/header",method:"get",params:t})}function r(t){return Object(i["a"])({url:"home/orderChart",method:"get",params:t})}function s(t){return Object(i["a"])({url:"home/staff",method:"get",params:t})}function o(t){return Object(i["a"])({url:"home/operate",method:"get",params:t})}},5370:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"resize",rawName:"v-resize",value:t.handleResize,expression:"handleResize"}]},[a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition}},[a("FormItem",{attrs:{label:"时间筛选:"}},[a("Select",{staticClass:"mr15",attrs:{placeholder:"请选择时间类型",clearable:""},on:{"on-change":t.searchs},model:{value:t.formValidate.time_key,callback:function(e){t.$set(t.formValidate,"time_key",e)},expression:"formValidate.time_key"}},[a("Option",{attrs:{value:"add_time"}},[t._v("交易时间")]),a("Option",{attrs:{value:"delivery_time"}},[t._v("发货时间")]),a("Option",{attrs:{value:"write_time"}},[t._v("核销时间")])],1),a("DatePicker",{staticClass:"mr15",staticStyle:{width:"250px"},attrs:{editable:!1,clearable:!0,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}}),a("Select",{staticClass:"mr15",attrs:{placeholder:"请选择类型",clearable:""},on:{"on-change":t.searchs},model:{value:t.formValidate.type,callback:function(e){t.$set(t.formValidate,"type",e)},expression:"formValidate.type"}},[a("Option",{attrs:{value:"0"}},[t._v("全部订单")]),a("Option",{attrs:{value:"7"}},[t._v("充值订单")]),a("Option",{attrs:{value:"8"}},[t._v("付费订单")]),a("Option",{attrs:{value:"9"}},[t._v("收银订单")]),a("Option",{attrs:{value:"10"}},[t._v("核销订单")]),a("Option",{attrs:{value:"11"}},[t._v("配送订单")])],1),a("Select",{attrs:{placeholder:"请选择店员",clearable:""},on:{"on-change":t.searchs},model:{value:t.formValidate.staff_id,callback:function(e){t.$set(t.formValidate,"staff_id",e)},expression:"formValidate.staff_id"}},[a("Option",{attrs:{value:"0"}},[t._v("全部店员")]),t._l(t.staff,(function(e,i){return a("Option",{attrs:{value:e.value}},[t._v(t._s(e.label))])}))],2)],1)],1)],1),a("Row",{staticClass:"ivu-mt Box",attrs:{gutter:24}},[a("Col",{staticClass:"cardpad",attrs:{xl:16,lg:12,md:24,sm:24,xs:24}},[t.infoList?a("echarts-from",{ref:"userChart",attrs:{series:t.series,echartsTitle:t.inlie,infoList:t.infoList,yAxisData:t.yAxisData}}):t._e()],1),a("Col",{staticClass:"cardpad",attrs:{xl:8,lg:12,md:24,sm:24,xs:24}},[a("echarts-from",{ref:"visitChart",attrs:{infoList:t.infoLists,echartsTitle:t.circle}})],1)],1),a("Card",{staticClass:"ivu-mt box",attrs:{bordered:!1,"dis-hover":""}},[a("div",{staticClass:"fonts"},[t._v("交易数据")]),a("Table",{ref:"selection",attrs:{columns:t.columns4,data:t.tabList,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"user_nickname",fn:function(e){var i=e.row;e.index;return[a("span",[t._v(t._s(i.uid?i.user_nickname:"游客"))])]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1)],1)},n=[],r=a("a34a"),s=a.n(r),o=a("2f62"),c=a("8745"),l=a("b4ea"),f=(a("365c"),a("9901")),d=a("0b65"),u=a("61f7");function h(t,e,a,i,n,r,s){try{var o=t[r](s),c=o.value}catch(l){return void a(l)}o.done?e(c):Promise.resolve(c).then(i,n)}function m(t){return function(){var e=this,a=arguments;return new Promise((function(i,n){var r=t.apply(e,a);function s(t){h(r,i,n,s,o,"next",t)}function o(t){h(r,i,n,s,o,"throw",t)}s(void 0)}))}}function p(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function b(t){for(var e=1;e