(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4d8ab75d"],{"3bbe":function(t,e,a){var i=a("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},7156:function(t,e,a){var i=a("861d"),n=a("d2bb");t.exports=function(t,e,a){var o,r;return n&&"function"==typeof(o=e.constructor)&&o!==a&&i(r=o.prototype)&&r!==a.prototype&&n(t,r),t}},a9e3:function(t,e,a){"use strict";var i=a("83ab"),n=a("da84"),o=a("94ca"),r=a("6eeb"),s=a("5135"),l=a("c6b6"),c=a("7156"),u=a("c04e"),d=a("d039"),p=a("7c73"),m=a("241c").f,f=a("06cf").f,h=a("9bf2").f,b=a("58a8").trim,g="Number",v=n[g],y=v.prototype,_=l(p(y))==g,w=function(t){var e,a,i,n,o,r,s,l,c=u(t,!1);if("string"==typeof c&&c.length>2)if(c=b(c),e=c.charCodeAt(0),43===e||45===e){if(a=c.charCodeAt(2),88===a||120===a)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:i=2,n=49;break;case 79:case 111:i=8,n=55;break;default:return+c}for(o=c.slice(2),r=o.length,s=0;sn)return NaN;return parseInt(o,i)}return+c};if(o(g,!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var x,I=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof I&&(_?d((function(){y.valueOf.call(a)})):l(a)!=g)?c(new v(w(e)),a,I):w(e)},D=i?m(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;D.length>C;C++)s(v,x=D[C])&&!s(I,x)&&h(I,x,f(v,x));I.prototype=y,y.constructor=I,r(n,g,I)}},b205:function(t,e,a){},bf19:function(t,e,a){"use strict";var i=a("23e7");i({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},d2bb:function(t,e,a){var i=a("825a"),n=a("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,a={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(a,[]),e=a instanceof Array}catch(o){}return function(a,o){return i(a),n(o),e?t.call(a,o):a.__proto__=o,a}}():void 0)},d3bb:function(t,e,a){"use strict";var i=a("b205"),n=a.n(i);n.a},d4ec: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",[a("div",{staticClass:"ba_f outmain"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleTabClick},model:{value:t.activeName1,callback:function(e){t.activeName1=e},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"外卖订单概况",name:"wmddgk"}}),a("el-tab-pane",{attrs:{label:"外卖支付概况",name:"wmzfgk"}}),a("el-tab-pane",{attrs:{label:"外卖商品概况",name:"wmspgk"}})],1),t._m(0),a("div",{staticClass:"main-icon flex t_l mar_t20"},[a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("商品总数")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.allGoods||0))])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("已上架商品")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.onGoods||0))])])])]),a("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",[a("p",{staticClass:"title6 fon_14"},[t._v("已下架商品")]),a("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.jeData.downGoods||0))])])])])])],1),a("div",{staticClass:"mar_t20 ba_f pad_20"},[t._m(1),a("div",{staticClass:"pad_20 flex-bet flex-y-top"},[a("el-form",{staticStyle:{width:"100%"},attrs:{inline:!0,model:t.formInline}},[a("el-form-item",{attrs:{label:"排行类型:"}},[a("el-select",{attrs:{placeholder:"请选择"},on:{change:t.selectType},model:{value:t.formInline.type,callback:function(e){t.$set(t.formInline,"type",e)},expression:"formInline.type"}},t._l(t.lyOptions,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),a("el-form-item",{staticClass:"mar_l20",attrs:{label:"查询日期:"}},[a("div",{staticClass:"flex-bet"},[a("div",[a("el-radio-group",{on:{change:t.selectType},model:{value:t.formInline.timeType,callback:function(e){t.$set(t.formInline,"timeType",e)},expression:"formInline.timeType"}},[a("el-radio-button",{attrs:{label:"1"}},[t._v("今天")]),a("el-radio-button",{attrs:{label:"2"}},[t._v("近七天")]),a("el-radio-button",{attrs:{label:"3"}},[t._v("近十五天")]),a("el-radio-button",{attrs:{label:"4"}},[t._v("自定义时间")])],1),"4"==t.formInline.timeType?a("span",{staticClass:"mar_l20"},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"yyyy年MM月dd日","picker-options":t.pickerOptions},on:{change:t.selectType},model:{value:t.formInline.time,callback:function(e){t.$set(t.formInline,"time",e)},expression:"formInline.time"}})],1):t._e()],1)])]),a("div",{staticClass:"flex ba_f"},[a("el-form-item",{attrs:{label:"商品导出:"}},[a("a",{staticClass:"mar_l10",attrs:{href:t.handelExport()}},[a("el-button",{attrs:{size:"medium",type:"primary"}},[t._v("导出商品")])],1)])],1)],1)],1),a("div",{staticClass:"flex-g-1 mar_r20"},[a("div",{staticClass:"mar_t10 shuju_table"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData2}},[a("el-table-column",{attrs:{type:"index",label:"排名",width:"300"}}),t._v(" > "),a("el-table-column",{attrs:{prop:"categoryName",label:"商品分类"}}),a("el-table-column",{attrs:{prop:"name",label:"商品名称"}}),t._v(" > "),a("el-table-column",{attrs:{prop:"num",label:"销量(件)"}}),a("el-table-column",{attrs:{prop:"money",label:"销售额(元)"}})],1)],1)])])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title mar_t20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("商品概况")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[t._v("商品排行")])])])}],o=(a("96cf"),a("1da1")),r=a("5530"),s=a("313e"),l=a.n(s),c=a("48fb"),u=a("ed08"),d=a("2f62"),p=a("365c"),m={mounted:function(){this.bus.$emit("loading",!0),this.init(),window.addEventListener("resize",this.initchart)},computed:Object(r["a"])({},Object(d["d"])(["storeId"])),data:function(){var t=this;return{formInline:{type:"1",timeType:"1",time:[new Date,new Date],Mtime:""},lyOptions:[{value:"1",label:"按商品销量排行"},{value:"2",label:"按商品销售额排行"}],activeName1:"wmspgk",selectData:"",pickerOptions:{onPick:function(e){var a=e.maxDate,i=e.minDate;t.selectData=i.getTime(),a&&(t.selectData="")},disabledDate:function(e){if(t.isNull(t.selectData))return!1;var a=new Date(t.selectData);return a.getMonth()>new Date(e).getMonth()||a.getMonth()