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