canyin-project/ybcy/views/channel/index/static/js/chunk-4ad0b30e.359a45ef.js
2024-11-01 16:07:54 +08:00

1 line
23 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4ad0b30e"],{"178b":function(t,a,e){"use strict";var s=e("66d3"),i=e.n(s);i.a},"3bbe":function(t,a,e){var s=e("861d");t.exports=function(t){if(!s(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"578a":function(t,a,e){"use strict";var s=e("61f1"),i=e.n(s);i.a},"61f1":function(t,a,e){},"66d3":function(t,a,e){},7007:function(t,a,e){},7156:function(t,a,e){var s=e("861d"),i=e("d2bb");t.exports=function(t,a,e){var n,o;return i&&"function"==typeof(n=a.constructor)&&n!==e&&s(o=n.prototype)&&o!==e.prototype&&i(t,o),t}},a9e3:function(t,a,e){"use strict";var s=e("83ab"),i=e("da84"),n=e("94ca"),o=e("6eeb"),l=e("5135"),r=e("c6b6"),d=e("7156"),c=e("c04e"),_=e("d039"),u=e("7c73"),f=e("241c").f,v=e("06cf").f,p=e("9bf2").f,m=e("58a8").trim,h="Number",C=i[h],y=C.prototype,b=r(u(y))==h,x=function(t){var a,e,s,i,n,o,l,r,d=c(t,!1);if("string"==typeof d&&d.length>2)if(d=m(d),a=d.charCodeAt(0),43===a||45===a){if(e=d.charCodeAt(2),88===e||120===e)return NaN}else if(48===a){switch(d.charCodeAt(1)){case 66:case 98:s=2,i=49;break;case 79:case 111:s=8,i=55;break;default:return+d}for(n=d.slice(2),o=n.length,l=0;l<o;l++)if(r=n.charCodeAt(l),r<48||r>i)return NaN;return parseInt(n,s)}return+d};if(n(h,!C(" 0o1")||!C("0b1")||C("+0x1"))){for(var g,w=function(t){var a=arguments.length<1?0:t,e=this;return e instanceof w&&(b?_((function(){y.valueOf.call(e)})):r(e)!=h)?d(new C(x(a)),e,w):x(a)},S=s?f(C):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;S.length>E;E++)l(C,g=S[E])&&!l(w,g)&&p(w,g,v(C,g));w.prototype=y,y.constructor=w,o(i,h,w)}},b67d:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"shuju"},[2==t.expireStatus?e("div",{},[t._m(0)]):t._e(),e("div",{staticClass:"body flex-bet flex-y-top"},[e("div",{staticClass:"flex-g-1"},[e("div",{staticClass:"flex bor_rad5"},[e("div",{staticClass:"flex-g-0 t_l wid30 color_1d fon_16 wei ba_f pad_15 bor_rad5",staticStyle:{height:"105px"}},[e("div",{staticClass:"mar_t10"},[e("span",[t._v(t._s(t.greet())+" !")]),t._v(" 管理员")]),e("div",{staticClass:"mar_t10"},[t._v(" 欢迎登入后台管理系统")])]),e("div",{staticClass:"flex-g-1 t_l wid70 ba_f mar_l20 pad_15 bor_rad5",staticStyle:{height:"105px"}},[t._m(1),e("div",{staticClass:"flex mar_t10"},[e("div",{staticClass:"flex-g-1 flex pad_l_20"},[t._m(2),e("div",{staticClass:"maincolor fon_14 marb_l15 wei"},[t._v(t._s(t.dddata.peedCount||0))])]),e("div",{staticClass:"flex-g-1 flex pad_l_20"},[t._m(3),e("div",{staticClass:"maincolor fon_14 marb_l15 wei"},[t._v(t._s(t.dddata.completedCount||0))])]),e("div",{staticClass:"flex-g-1 flex pad_l_20"},[t._m(4),e("div",{staticClass:"maincolor fon_14 marb_l15 wei"},[t._v(t._s(t.dddata.raisedCount||0))])]),e("div",{staticClass:"flex-g-1 flex pad_l_20"},[t._m(5),e("div",{staticClass:"maincolor fon_14 marb_l15 wei"},[t._v(t._s(t.dddata.safeCount||0))])])])])]),e("div",{staticClass:"ba_f bor_rad5 mar_t20"},[e("div",{staticClass:"tit flex pad_10"},[e("div",{staticClass:"shuju_title"},[e("div",{staticClass:"shuju_title_text"},[e("span",[t._v("实时概况")]),e("span",{staticClass:"fnormal fon_14 color_9 mar_l10"},[t._v("更新时间:"+t._s(t.dateFormat(t.date)))])])])]),e("div",{staticClass:"tongji_con flex pad_tb_20"},[e("div",{staticClass:"flex-g-1 pad_l_30"},[t._m(6),e("div",{staticClass:"fon_30 title35 mar_t10 wei mar_l20"},[t._v(t._s(t.dddata.todayTotal||0))]),e("div",{staticClass:"fon_12 title6 lh25 mar_t10 mar_l20"},[t._v("昨日:"+t._s(t.dddata.yesterdayTotal||0))])]),e("div",{staticClass:"flex-g-1 pad_l_30"},[t._m(7),e("div",{staticClass:"fon_30 title35 mar_t10 wei mar_l20"},[t._v(t._s(t.dddata.yujiSum||0))]),e("div",{staticClass:"fon_12 title6 lh25 mar_t10 mar_l20"},[t._v("昨日:"+t._s(t.dddata.yesterSum||0))])]),e("div",{staticClass:"flex-g-1 pad_l_30"},[t._m(8),e("div",{staticClass:"fon_30 title35 mar_t10 wei mar_l20"},[t._v(t._s(t.dddata.payCount||0))]),e("div",{staticClass:"fon_12 title6 lh25 mar_t10 mar_l20"},[t._v("昨日:"+t._s(t.dddata.yesPayCount||0))])]),e("div",{staticClass:"flex-g-1 pad_l_30"},[t._m(9),e("div",{staticClass:"fon_30 title35 mar_t10 wei mar_l20"},[t._v(t._s(t.dddata.userCount||0))]),e("div",{staticClass:"fon_12 title6 lh25 mar_t10 mar_l20"},[t._v("昨日:"+t._s(t.dddata.yesuserCount||0))])]),e("div",{staticClass:"flex-g-1 pad_l_30"},[t._m(10),e("div",{staticClass:"fon_30 title35 mar_t10 wei mar_l20"},[t._v(t._s(t.dddata.safeCount||0))]),e("div",{staticClass:"fon_12 title6 lh25 mar_t10 mar_l20"},[t._v("昨日:"+t._s(t.dddata.yesSafeCount||0))])]),e("div",{staticClass:"flex-g-1 pad_l_30"},[t._m(11),e("div",{staticClass:"fon_30 title35 mar_t10 wei mar_l20"},[t._v(t._s(t.dddata.conversion||0))]),e("div",{staticClass:"fon_12 title6 lh25 mar_t10 mar_l20"},[t._v("昨日:"+t._s(t.dddata.yesConversion||0))])])])])])]),t._m(12),e("div",{staticClass:"outmain pad_20 ba_f bor_rad5 mar_t20"},[t._m(13),e("div",{staticClass:"main-icon flex t_l mar_t20"},[e("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[e("div",{staticClass:"flex-bet flex-y-top"},[e("div",[e("p",{staticClass:"title6 fon_14"},[t._v("外卖有效订单")]),e("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.dddata.outCount||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("营业金额:"+t._s(t.dddata.outMoney||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("退款售后订单:"+t._s(t.dddata.outRefundMoney||0))])])])]),e("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[e("div",{staticClass:"flex-bet flex-y-top"},[e("div",[e("p",{staticClass:"title6 fon_14"},[t._v("堂食有效订单")]),e("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.dddata.inCount||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("营业金额:"+t._s(t.dddata.inMoney||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("退款售后订单:"+t._s(t.dddata.inRefundMoney||0))])])])]),e("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[e("div",{staticClass:"flex-bet flex-y-top"},[e("div",[e("p",{staticClass:"title6 fon_14"},[t._v("快餐有效订单")]),e("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.dddata.fastCount||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("营业金额:"+t._s(t.dddata.fastMoney||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("退款售后订单:"+t._s(t.dddata.fastRefundMoney||0))])])])]),e("div",{staticClass:"flex-1 t_l pad_20 borderBG mar_r20"},[e("div",{staticClass:"flex-bet flex-y-top"},[e("div",[e("p",{staticClass:"title6 fon_14"},[t._v("当面付有效订单")]),e("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.dddata.payFaceCount||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("营业金额:"+t._s(t.dddata.payFaceMoney||0))]),e("p",{staticClass:"fon_12 title6 lh25 yc"},[t._v("退款售后订单:"+t._s(t.dddata.payFaceRefundMoney||0))])])])]),e("div",{staticClass:"flex-1 t_l pad_20 borderBG"},[e("div",{staticClass:"flex-bet flex-y-top"},[e("div",[e("p",{staticClass:"title6 fon_14"},[t._v("其他订单")]),e("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.dddata.otherCount||0))]),e("p",{staticClass:"fon_12 title6 lh25"},[t._v("营业金额:"+t._s(t.dddata.otherMoney||0))]),e("p",{staticClass:"fon_12 title6 lh25 yc"},[t._v("退款售后订单:"+t._s(t.dddata.otherCount||0))])])])])])]),e("div",{staticClass:"mar_t20 ba_f outmain pad_20 "},[t._m(14),e("div",{staticClass:"flex-bet"},[t._m(15),e("div",{staticClass:"bflex-3 mar_l20"},[e("div",{staticClass:"flex-bet pad_20 flex-y-top"},[e("div",[e("p",{staticClass:"title6 fon_14"},[t._v("今日浏览量(pv)")]),e("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.lldata.visitTotal))]),e("div",{staticClass:"flex"},[e("p",{staticClass:"fon_12 title6 lh25"},[t._v("昨日: "+t._s(t.lldata.visitYesCount))])])])]),e("div",{staticClass:"flex-bet pad_20 flex-y-top mar_t20"},[e("div",[e("p",{staticClass:"title6 fon_14"},[t._v("今日访客数(uv)")]),e("p",{staticClass:"fon_30 title35 lh16 pad_tb_20 wei"},[t._v(t._s(t.lldata.totalVisitCount))]),e("div",{staticClass:"flex"},[e("p",{staticClass:"fon_12 title6 lh25"},[t._v("昨日: "+t._s(t.lldata.visitSumCount))])])])])])])]),e("div",{staticClass:"mar_t20 pad_20 ba_f outmain"},[t._m(16),e("div",{staticClass:"mar_t20 flex-bet"},[e("div",{staticClass:"flex-g-1",staticStyle:{height:"520px"}},[t._m(17),e("div",{staticClass:"mar_t10 shuju_table"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.goodsData,stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:"排名"}}),t._v(" > "),e("el-table-column",{attrs:{prop:"name",label:"商品名称"}}),t._v(" > "),e("el-table-column",{attrs:{prop:"num",label:"商品销量数"}}),e("el-table-column",{attrs:{prop:"money",label:"销售额"}})],1)],1)]),e("div",{staticClass:"flex-g-1 mar_l20",staticStyle:{height:"520px"}},[t._m(18),e("div",{staticClass:"mar_t10 shuju_table"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.orderData,stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:"排名"}}),t._v(" > "),e("el-table-column",{attrs:{prop:"name",label:"商品名称"}}),t._v(" > "),e("el-table-column",{attrs:{prop:"totalMoney",label:"销售额"}}),e("el-table-column",{attrs:{prop:"num",label:"商品销量"}})],1)],1)])])]),e("edit",{ref:"edit"})],1)},i=[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"shuju_tips color_f flex bor_rad5"},[e("div",{staticClass:"mar_r20"},[t._v("温馨提示:店铺即将到期,到期后店铺仍可访问,但店铺功能不可使用,建议尽快联系您的商务经理进行续费!")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"shuju_title"},[e("div",{staticClass:"shuju_title_text"},[e("span",[t._v("待办事项")])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("span",{staticClass:"iconfont iconshanghu fon_14 mar_r5"}),e("span",{staticClass:"fon_14 color_9"},[t._v("待接单:")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("span",{staticClass:"iconfont iconshanghu fon_14 mar_r5"}),e("span",{staticClass:"fon_14 color_9"},[t._v("待完成:")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("span",{staticClass:"iconfont iconshanghu fon_14 mar_r5"}),e("span",{staticClass:"fon_14 color_9"},[t._v("待核销:")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("span",{staticClass:"iconfont iconshanghu fon_14 mar_r5"}),e("span",{staticClass:"fon_14 color_9"},[t._v("售后/维权订单:")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex"},[e("div",{staticClass:"title6 mar_l20"},[t._v("营业总额(元)")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex"},[e("div",{staticClass:"title6 mar_l20"},[t._v("预计收入(元)")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex"},[e("div",{staticClass:"title6 mar_l20"},[t._v("有效订单数(单)")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex"},[e("div",{staticClass:"title6 mar_l20"},[t._v("支付人数(人)")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex"},[e("div",{staticClass:"title6 mar_l20"},[t._v("取消/售后订单(单)")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex"},[e("div",{staticClass:"title6 mar_l20"},[t._v("下单转化率(%)")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"outmain pad_20 ba_f mar_t20"},[e("div",{staticClass:"flex-bet"},[e("div",{staticClass:"bflex-5"},[e("div",{staticClass:"shuju_title"},[e("div",{staticClass:"shuju_title_text"},[e("span",[t._v("营业概况")])])]),e("div",[e("div",{staticStyle:{height:"320px"},attrs:{id:"mainEch3"}})])]),e("div",{staticClass:"bflex-5"},[e("div",{staticClass:"shuju_title"},[e("div",{staticClass:"shuju_title_text"},[e("span",[t._v("支付概况")])])]),e("div",{staticClass:"flex-bet pad_r_20"},[e("div",{staticClass:"mar_r20",staticStyle:{height:"280px",width:"400px","margin-top":"40px"},attrs:{id:"mainEch32"}}),e("div",{staticStyle:{height:"280px",width:"380px","margin-top":"40px"},attrs:{id:"mainEch42"}})])])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"shuju_title"},[e("div",{staticClass:"shuju_title_text"},[e("span",[t._v("订单概况")])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"shuju_title"},[e("div",{staticClass:"shuju_title_text"},[e("span",[t._v("流量看板")])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"bflex-7 outmain",staticStyle:{height:"390px"}},[e("div",{staticStyle:{height:"360px"},attrs:{id:"mainEch"}})])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"shuju_title"},[e("div",{staticClass:"shuju_title_text"},[e("span",[t._v("商品看板")])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex t_l"},[e("div",{staticClass:"title35"},[t._v("销量TOP10商品")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex t_l"},[e("div",{staticClass:"title35"},[t._v("支付TOP10商品")])])}],n=(e("d81d"),e("b0c0"),e("a9e3"),e("96cf"),e("1da1")),o=e("313e"),l=e.n(o),r=e("48fb"),d=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"body drawer"},[e("el-drawer",{attrs:{title:t.form.title,visible:t.drawer,direction:t.direction},on:{"update:visible":function(a){t.drawer=a}}},[e("div",{staticClass:"t_c pad_r_20 color_9 fon_12"},[t._v(" 发布时间:"+t._s(t.form.createdAt)+" "),e("span",{staticClass:"mar_l20"},[t._v("发布人:管理员")])]),e("div",{staticClass:"pad_20 drContent",domProps:{innerHTML:t._s(t.form.body)}})])],1)},c=[],_={name:"goodlistedit",created:function(){},data:function(){return{drawer:!1,direction:"rtl",form:{body:"",createdAt:"",introduction:"",title:""},type:"",title:""}},components:{},methods:{showEdit:function(t){t&&(this.form=Object.assign({},t)),this.drawer=!0},close:function(){this.$refs["form"].resetFields(),this.form=this.$options.data().form,this.dialogFormVisible=!1}}},u=_,f=(e("ffd1"),e("2877")),v=Object(f["a"])(u,d,c,!1,null,null,null),p=v.exports,m={components:{Edit:p},mounted:function(){this.bus.$emit("loading",!0),this.init()},data:function(){return{notice:{},infoList:[],shopData:{receiveStatus:"2"},shopInfoArr:{},timeArr:[],ssdata:{},dddata:{},lldata:{},goodsData:[],orderData:[],echarts1_option:{color:["#4284ED","#42CCF0"],tooltip:{trigger:"axis",formatter:function(t){for(var a="时间:"+(Number(t[0].name)-1)+":00~"+Number(t[0].name)+":00",e=0;e<t.length;e++){var s="</br>"+t[e].seriesName+""+t[e].value;a+=s}return a}},legend:{data:["浏览量","访客数"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,axisTick:{show:!1,lineStyle:{color:"#ccc",type:"dashed"}},axisLabel:{show:!0,textStyle:{color:"#333",fontSize:"12"}},axisLine:{lineStyle:{color:"#f7f7f7",width:2}},data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,textStyle:{color:"#333",fontSize:"12"}},splitLine:{lineStyle:{type:"dotted",color:"#DDDDDD"},show:!0}},series:[{name:"浏览量",type:"line",stack:"总量",smooth:!0,data:[]},{name:"访客数",type:"line",stack:"总量",smooth:!0,data:[]}]},echarts1_option3:{color:["#1890FF","#2FC25B"],tooltip:{trigger:"axis",formatter:function(t){for(var a="时间:"+(Number(t[0].name)-1)+":00~"+Number(t[0].name)+":00",e=0;e<t.length;e++){var s="</br>"+t[e].seriesName+""+t[e].value;a+=s}return a}},legend:{data:["今日营业额"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,axisTick:{show:!1,lineStyle:{color:"#ccc",type:"dashed"}},axisLabel:{show:!0,textStyle:{color:"#333",fontSize:"12"}},axisLine:{lineStyle:{color:"#F7F7F7",width:2}},data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,textStyle:{color:"#333",fontSize:"12"}},splitLine:{lineStyle:{type:"dotted",color:"#DDDDDD"},show:!0}},series:[{name:"今日营业额",type:"line",stack:"总量",smooth:!0,data:[]}]},echarts1_option2:{color:["#1890FF","#2FC25B","#FBD44B","#F4667C","#EBA675"],title:{},tooltip:{trigger:"axis",axisPointer:{type:"line",color:"#aaa"}},legend:{data:["结算金额","访客数","支付订单数","浏览量","客单价"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,axisTick:{show:!1,lineStyle:{color:"#ccc",type:"dashed"}},axisLabel:{show:!0,textStyle:{color:"#333",fontSize:"12"}},axisLine:{lineStyle:{color:"#4ECB73",width:2}},data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,textStyle:{color:"#333",fontSize:"12"}},splitLine:{lineStyle:{type:"dotted",color:"#DDDDDD"},show:!0}},series:[{name:"结算金额",type:"line",stack:"总量",data:[],smooth:!0},{name:"访客数",type:"line",stack:"总量",data:[],smooth:!0},{name:"支付订单数",type:"line",stack:"总量",data:[],smooth:!0},{name:"浏览量",type:"line",stack:"总量",data:[],smooth:!0},{name:"客单价",type:"line",stack:"总量",data:[],smooth:!0}]},date:new Date,expireStatus:"",echarts3_option:{color:["#5654F5","#4CA8FF","#4EC478","#FBA33F","#EBA675","#FF7E3B"],tooltip:{trigger:"item"},legend:{orient:"vertical",right:0,data:["微信支付","支付宝支付","余额支付","货到付款","现金支付","自有支付方式"]},series:[{name:"支付方式",type:"pie",radius:["40%","60%"],avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:"20",fontWeight:"bold"},itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}},labelLine:{show:!1},data:[{value:35,name:"微信支付"},{value:20,name:"支付宝支付"},{value:20,name:"余额支付"},{value:20,name:"货到付款"},{value:20,name:"现金支付"},{value:20,name:"自有支付方式"}]}]},echarts4_option:{color:["#5654F5","#4CA8FF","#4EC478","#FBA33F","#EBA675"],tooltip:{trigger:"item"},legend:{orient:"vertical",right:0,data:["外卖","堂食","快餐","当面付","其他"]},series:[{name:"支付渠道",type:"pie",radius:["40%","60%"],avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:"20",fontWeight:"bold"},itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}},labelLine:{show:!1},data:[{value:35,name:"外卖"},{value:20,name:"堂食"},{value:20,name:"快餐"},{value:20,name:"当面付"},{value:20,name:"其他"}]}]}}},methods:{init:function(){this.realProfit()},realProfit:function(){var t=this;return Object(n["a"])(regeneratorRuntime.mark((function a(){var e,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(r["A"])();case 2:e=a.sent,s=e.data,s&&(console.log(123,s),t.echarts1_option3.series[0].data=s.todayChar.map((function(t){return t.money})),t.echarts1_option3.xAxis.data=s.todayChar.map((function(t){return t.hours})),t.jrgk(),t.dddata.peedCount=s.peedCount,t.dddata.completedCount=s.completedCount,t.dddata.raisedCount=s.raisedCount,t.dddata.safeCount=s.safeCount,t.dddata.yesSafeCount=s.yesSafeCount,t.dddata.todayTotal=s.todayTotal,t.dddata.yesterdayTotal=s.yesterdayTotal,t.dddata.yujiSum=s.yujiSum,t.dddata.yesterSum=s.yesterSum,t.dddata.payCount=s.payCount,t.dddata.yesPayCount=s.yesPayCount,t.dddata.userCount=s.userCount,t.dddata.yesuserCount=s.yesuserCount,t.dddata.conversion=s.conversion,t.dddata.yesConversion=s.yesConversion,t.dddata.outCount=s.outCount,t.dddata.outMoney=s.outMoney,t.dddata.outRefundMoney=s.outRefundMoney,t.dddata.inCount=s.inCount,t.dddata.inMoney=s.inMoney,t.dddata.inRefundMoney=s.inRefundMoney,t.dddata.fastCount=s.fastCount,t.dddata.fastMoney=s.fastMoney,t.dddata.fastRefundMoney=s.fastRefundMoney,t.dddata.payFaceCount=s.payFaceCount,t.dddata.payFaceMoney=s.payFaceMoney,t.dddata.payFaceRefundMoney=s.payFaceRefundMoney,t.dddata.otherCount=s.otherCount,t.dddata.otherMoney=s.otherMoney,t.lldata.visitTotal=s.visitTotal,t.lldata.totalVisitCount=s.totalVisitCount,t.lldata.visitYesCount=s.visitYesCount,t.lldata.visitSumCount=s.visitSumCount,t.echarts1_option.series[0].data=s.visitArr.map((function(t){return t.money})),t.echarts1_option.series[1].data=s.visitGroupArr.map((function(t){return t.money})),t.echarts1_option.xAxis.data=s.visitArr.map((function(t){return t.hours})),t.llkb(),t.goodsData=s.goodsData,t.orderData=s.orderData,t.expireStatus=s.expireStatus,t.echarts3_option.series[0].data[0].value=+s.wxPayMoney,t.echarts3_option.series[0].data[1].value=+s.aliPayMoney,t.echarts3_option.series[0].data[2].value=+s.balanceMoneyy,t.echarts3_option.series[0].data[3].value=+s.deliveryMoney,t.echarts3_option.series[0].data[4].value=+s.offlineMoney,t.echarts3_option.series[0].data[5].value=+s.offlineMoney,t.mainEch32(),t.echarts4_option.series[0].data[0].value=+s.outMoney,t.echarts4_option.series[0].data[1].value=+s.inMoney,t.echarts4_option.series[0].data[2].value=+s.fastMoney,t.echarts4_option.series[0].data[3].value=+s.payFaceMoney,t.echarts4_option.series[0].data[4].value=+s.otherMoney,t.mainEch42(),t.bus.$emit("loading",!1));case 5:case"end":return a.stop()}}),a)})))()},jrgk:function(){var t=l.a.init(document.getElementById("mainEch3"));t.setOption(this.echarts1_option3,!0)},llkb:function(){var t=l.a.init(document.getElementById("mainEch"));t.setOption(this.echarts1_option,!0)},changeSwitch:function(t,a){var e=this;return Object(n["a"])(regeneratorRuntime.mark((function s(){var i,n;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,Object(r["j"])({storeOpen:t,type:a});case 2:i=s.sent,n=i.msg,e.$baseMessage(n,"success"),e.init();case 6:case"end":return s.stop()}}),s)})))()},changeSwitch2:function(t,a){var e=this;return Object(n["a"])(regeneratorRuntime.mark((function s(){var i,n;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,Object(r["j"])({receiveStatus:t,type:a});case 2:i=s.sent,n=i.msg,e.$baseMessage(n,"success"),e.init();case 6:case"end":return s.stop()}}),s)})))()},handleEdit:function(t){t&&this.$refs["edit"].showEdit(t)},mainEch32:function(){var t=l.a.init(document.getElementById("mainEch32"));t.setOption(this.echarts3_option,!0)},mainEch42:function(){var t=l.a.init(document.getElementById("mainEch42"));t.setOption(this.echarts4_option,!0)},greet:function(){var t="",a=new Date,e=a.getHours();return t=e>=6&&e<12?"上午好":e>=12&&e<18?"下午好":"晚上好",t},dateFormat:function(t){var a=new Date(t),e=a.getFullYear(),s=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate()<10?"0"+a.getDate():a.getDate(),n=a.getHours()<10?"0"+a.getHours():a.getHours(),o=a.getMinutes()<10?"0"+a.getMinutes():a.getMinutes(),l=a.getSeconds()<10?"0"+a.getSeconds():a.getSeconds();return e+"-"+s+"-"+i+" "+n+":"+o+":"+l}}},h=m,C=(e("578a"),e("178b"),Object(f["a"])(h,s,i,!1,null,"455bc78f",null));a["default"]=C.exports},d2bb:function(t,a,e){var s=e("825a"),i=e("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,a=!1,e={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(e,[]),a=e instanceof Array}catch(n){}return function(e,n){return s(e),i(n),a?t.call(e,n):e.__proto__=n,e}}():void 0)},ffd1:function(t,a,e){"use strict";var s=e("7007"),i=e.n(s);i.a}}]);