(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4d3f5c13"],{"50fc":function(t,s,i){"use strict";i.d(s,"d",(function(){return e})),i.d(s,"e",(function(){return r})),i.d(s,"c",(function(){return a})),i.d(s,"h",(function(){return o})),i.d(s,"i",(function(){return c})),i.d(s,"b",(function(){return u})),i.d(s,"a",(function(){return d})),i.d(s,"g",(function(){return l})),i.d(s,"f",(function(){return v})),i.d(s,"j",(function(){return m})),i.d(s,"k",(function(){return _}));var n=i("b775");function e(){return n["a"].get("/admin/order/statistics",{},{login:!0})}function r(t){return n["a"].get("/admin/order/data",t,{login:!0})}function a(t){return n["a"].get("/admin/order/list",t,{login:!0})}function o(t){return n["a"].post("/admin/order/price",t,{login:!0})}function c(t){return n["a"].post("/admin/order/remark",t,{login:!0})}function u(t){return n["a"].get("/admin/order/detail/"+t,{},{login:!0})}function d(t){return n["a"].get("/admin/order/delivery/gain/"+t,{},{login:!0})}function l(t){return n["a"].post("/admin/order/delivery/keep",t,{login:!0})}function v(t){return n["a"].get("/admin/order/time",t,{login:!0})}function m(t){return n["a"].post("/admin/order/offline",t,{login:!0})}function _(t){return n["a"].post("/admin/order/refund",t,{login:!0})}},"9c15":function(t,s,i){"use strict";i.r(s);var n=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{ref:"container",staticClass:"order-index"},[i("div",{staticClass:"header acea-row"},[i("router-link",{staticClass:"item",attrs:{to:"/customer/orders/0"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.unpaid_count))]),i("div",[t._v("待付款")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/orders/1"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.unshipped_count))]),i("div",[t._v("待发货")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/orders/2"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.received_count))]),i("div",[t._v("待收货")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/orders/3"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.evaluated_count))]),i("div",[t._v("待评价")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/orders/-3"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.refund_count))]),i("div",[t._v("退款")])])],1),i("div",{staticClass:"wrapper"},[t._m(0),i("div",{staticClass:"list acea-row"},[i("router-link",{staticClass:"item",attrs:{to:"/customer/statistics/price/today"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.todayPrice))]),i("div",[t._v("今日成交额")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/statistics/price/yesterday"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.proPrice))]),i("div",[t._v("昨日成交额")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/statistics/price/month"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.monthPrice))]),i("div",[t._v("本月成交额")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/statistics/order/today"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.todayCount))]),i("div",[t._v("今日订单数")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/statistics/order/yesterday"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.proCount))]),i("div",[t._v("昨日订单数")])]),i("router-link",{staticClass:"item",attrs:{to:"/customer/statistics/order/month"}},[i("div",{staticClass:"num"},[t._v(t._s(t.census.monthCount))]),i("div",[t._v("本月订单数")])])],1)]),i("div",{staticClass:"public-wrapper"},[t._m(1),t._m(2),i("div",{staticClass:"conter"},t._l(t.list,(function(s,n){return i("div",{key:n,staticClass:"item acea-row row-between-wrapper"},[i("div",{staticClass:"data"},[t._v(t._s(s.time))]),i("div",{staticClass:"browse"},[t._v(t._s(s.count))]),i("div",{staticClass:"turnover"},[t._v(t._s(s.price))])])})),0)]),i("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},e=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"title"},[i("span",{staticClass:"iconfont icon-shujutongji"}),t._v("数据统计\n ")])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"title"},[i("span",{staticClass:"iconfont icon-xiangxishuju"}),t._v("详细数据\n ")])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"nav acea-row row-between-wrapper"},[i("div",{staticClass:"data"},[t._v("日期")]),i("div",{staticClass:"browse"},[t._v("订单数")]),i("div",{staticClass:"turnover"},[t._v("成交额")])])}],r=i("50fc"),a=i("3a5e"),o={name:"OrderIndex",components:{Loading:a["a"]},props:{},data:function(){return{census:{},list:[],where:{page:1,limit:15},loaded:!1,loading:!1}},mounted:function(){var t=this;this.getIndex(),this.getList(),this.$scroll(this.$refs.container,(function(){!t.loading&&t.getList()}))},methods:{getIndex:function(){var t=this;Object(r["d"])().then((function(s){t.census=s.data}),(function(s){t.$dialog.message(s.msg)}))},getList:function(){var t=this;t.loading||t.loaded||(t.loading=!0,Object(r["e"])(t.where).then((function(s){t.loading=!1,t.loaded=s.data.length