(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-582e4c70"],{"23ad":function(t,s,a){"use strict";a("8e5f")},"37f9":function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"dashboard-editor-container"},[i("el-row",{attrs:{gutter:32}},[i("el-col",{attrs:{xs:24,sm:24,lg:8}},[i("div",{staticClass:"bottom_itemBox"},[i("div",{staticClass:"flex_bbox"},[i("div",{staticClass:"rank_title"},[t._v("销量排行TOP5")])]),i("div",[i("table",{staticClass:"rank_tableBox"},[i("thead",[i("tr",[i("td",{staticStyle:{width:"10%"}},[t._v("排序")]),i("td",{staticStyle:{width:"80%"}},[t._v("名称")]),i("td",{staticStyle:{width:"10%","text-align":"right"}},[t._v("销量")])])]),i("tbody",{staticClass:"select1_box",attrs:{id:"select1_tbody1"}},t._l(t.goodssaletop5,(function(s,a){return i("tr",{key:a},[i("td",{staticStyle:{color:"#fd0e3b"}},[t._v(t._s(a+1))]),i("td",{staticClass:"rank_tbody_td"},[t._v(t._s(s.name))]),i("td",{staticStyle:{"text-align":"right"}},[t._v(t._s(s.sale_count))])])})),0)])])])]),i("el-col",{attrs:{xs:24,sm:24,lg:8}},["v3"==t.version?i("div",{staticClass:"bottom_itemBox"},[i("div",{staticClass:"flex_bbox"},[i("div",{staticClass:"rank_title"},[t._v("服务排行TOP5")])]),i("div",[i("table",{staticClass:"rank_tableBox"},[i("thead",[i("tr",[i("td",{staticStyle:{width:"15%"}},[t._v("排序")]),i("td",{staticStyle:{width:"65%"}},[t._v("姓名")]),i("td",{staticStyle:{width:"20%","text-align":"right"}},[t._v("服务次数")])])]),i("tbody",{staticClass:"select1_box",attrs:{id:"select1_tbody1"}},t._l(t.service_timestop5,(function(s,a){return i("tr",{key:a},[i("td",{staticStyle:{color:"#fd0e3b"}},[t._v(t._s(a+1))]),i("td",{staticClass:"rank_tbody_td"},[t._v(t._s(s.title))]),i("td",{staticStyle:{"text-align":"right"}},[t._v(t._s(s.service_times))])])})),0)])])]):i("div",{staticClass:"bottom_itemBox"},[i("div",{staticClass:"flex_bbox"},[i("div",{staticClass:"rank_title"},[t._v("会员付款排行TOP5")])]),i("div",[i("table",{staticClass:"rank_tableBox"},[i("thead",[i("tr",[i("td",{staticStyle:{width:"15%"}},[t._v("排序")]),i("td",{staticStyle:{width:"65%"}},[t._v("姓名")]),i("td",{staticStyle:{width:"20%","text-align":"right"}},[t._v("付款金额")])])]),i("tbody",{staticClass:"select1_box",attrs:{id:"select1_tbody1"}},t._l(t.consumedop5,(function(s,a){return i("tr",{key:a},[i("td",{staticStyle:{color:"#fd0e3b"}},[t._v(t._s(a+1))]),i("td",{staticClass:"rank_tbody_td"},[t._v(t._s(s.nickname))]),i("td",{staticStyle:{"text-align":"right"}},[t._v(t._s(s.totleconsumed))])])})),0)])])])]),i("el-col",{attrs:{xs:24,sm:24,lg:8}},[i("div",{staticClass:"bottom_itemBox"},[i("div",{staticClass:"flex_bbox"},[i("div",{staticClass:"rank_title"},[t._v("昨天转化")])]),i("div",{staticClass:"databox_show-right",style:"background: url("+a("fc19")+") no-repeat top;"},[i("div",{staticClass:"title-list"},[i("div",{staticClass:"li"},[t._v("访问人数")]),i("div",{staticClass:"li"},[t._v("下单人数")]),i("div",{staticClass:"li"},[t._v("支付订单数")])]),i("div",{staticClass:"part1"},[i("div",[t._v("访问-支付")]),i("span",[t._v("转化率 "+t._s(t.statistical.accessTopay_conversionrate)+"%")])]),i("div",{staticClass:"part2"},[i("div",[t._v("访问-下单")]),i("span",[t._v("转化率 "+t._s(t.statistical.accessToorder_conversionrate)+"%")])]),i("div",{staticClass:"part3"},[i("div",[t._v("下单-支付")]),i("span",[t._v("转化率 "+t._s(t.statistical.orderTopay_conversionrate)+"%")])])])])])],1),i("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-top":"32px","border-radius":"10px"}})],1)},e=[],o={name:"indexindex",data(){return{version:"",statistical:{},goodssaletop5:{},consumedop5:{},service_timestop5:{}}},mounted(){this.$api.post("/Dashboard/index").then(t=>{this.version=t.data.version,this.statistical=t.data.statistical,this.goodssaletop5=t.data.goodssaletop5,this.consumedop5=t.data.consumedop5,this.service_timestop5=t.data.service_timestop5}),this.$api.get("/Dashboard/datainitial")},methods:{gotoapge(t){this.$router.push({path:t})},gotoorder(){var t="/order/goods";"v3"==this.version&&(t="/order/service"),this.$router.push({path:t})}}},d=o,l=(a("23ad"),a("2877")),c=Object(l["a"])(d,i,e,!1,null,"b540074c",null);s["default"]=c.exports},"8e5f":function(t,s,a){},fc19:function(t,s,a){t.exports=a.p+"static/img/data.3c12545e.png"}}]);