(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6dee1a0b"],{2792:function(t,a,e){},"84df":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:"info-table"},[e("div",{staticClass:"fx align-items justify-between mt-15 mb-15 ml-10 mr-10"},[e("div",{staticClass:"fs-18 fw-600"},[t._v("运营管理")]),e("div",{staticClass:"fx align-items"},[e("div",[t._v("日期：")]),e("div",[e("el-date-picker",{attrs:{type:"date",size:"small",placeholder:"选择日期时间"},model:{value:t.statisticsDate,callback:function(a){t.statisticsDate=a},expression:"statisticsDate"}})],1),0===t.isShow?e("div",{staticClass:"ml-10"},[t._v("渠道：")]):t._e(),0===t.isShow?e("div",[e("el-input",{staticStyle:{width:"100px"},attrs:{placeholder:"输入渠道进行搜索",size:"small"},model:{value:t.channel,callback:function(a){t.channel=a},expression:"channel"}})],1):t._e(),e("div",[e("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"},on:{click:function(a){return t.getInfo()}}},[t._v("查询")])],1)])]),0===t.isShow?e("table",{staticClass:"table"},[t._m(0),e("tr",[e("td",[t._v("官方")]),e("td",[t._v(t._s(t.tableData.registerAndroidSum))]),e("td",[t._v(t._s(t.tableData.registerH5Sum))]),e("td",[t._v(t._s(t.tableData.registerIosSum))]),e("td",[t._v(t._s(t.tableData.registerSum))]),e("td",[t._v(t._s(t.tableData.retentionOneDay))]),e("td",[t._v(t._s(t.tableData.retentionThreeDay))]),e("td",[t._v(t._s(t.tableData.toDayActiveH5))]),e("td",[t._v(t._s(t.tableData.toDayActiveApp))]),e("td",[t._v(t._s(t.tableData.toDayActive))])])]):t._e(),1===t.isShow?e("table",{staticClass:"table"},[t._m(1),e("tr",[e("td",[t._v(t._s(t.tableData.channel))]),e("td",[t._v(t._s(t.tableData.downNum))]),e("td",[t._v(t._s(t.tableData.registerNum))])])]):t._e()])},i=[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",[t._v("渠道名称")]),e("td",[t._v("Android注册人数")]),e("td",[t._v("H5注册人数")]),e("td",[t._v("IOS注册人数")]),e("td",[t._v("总注册人数")]),e("td",[t._v("次留")]),e("td",[t._v("三留")]),e("td",[t._v("h5活跃人数")]),e("td",[t._v("App活跃人数")]),e("td",[t._v("总活跃人数")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",[t._v("渠道名称")]),e("td",[t._v("总下载量")]),e("td",[t._v("总注册量")])])}],n={name:"index",data:function(){return{tableData:[],channel:"0",isShow:0,statisticsDate:""}},mounted:function(){this.getInfo()},methods:{getInfo:function(){var t=this,a="";if(""!==this.statisticsDate&&(a=this.fromDate(this.statisticsDate)),"0"!==sessionStorage.getItem("channel")){var e={statisticsDate:a};this.$axios("post","/V1/statistics/getAgentStatistics",e).then((function(a){200===a.code&&(t.tableData=a.data,t.isShow=1)}))}else{var s={statisticsDate:a,channel:this.channel};this.$axios("post","/V1/statistics/getStatistics",s).then((function(a){200===a.code&&(t.tableData=a.data,t.isShow=0)}))}},fromDate:function(t){var a=t.getFullYear(),e=t.getMonth()+1;e=e<10?"0"+e:e;var s=t.getDate();return s=s<10?"0"+s:s,a+"-"+e+"-"+s}}},l=n,c=(e("c78b"),e("2877")),r=Object(c["a"])(l,s,i,!1,null,"b1c675da",null);a["default"]=r.exports},c78b:function(t,a,e){"use strict";e("2792")}}]);
//# sourceMappingURL=chunk-6dee1a0b.3733431b.js.map