webpackJsonp([27],{Awpy:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={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 e+"-"+a+"-"+(s=s<10?"0"+s:s)}}},i={render: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("运营管理")]),t._v(" "),a("div",{staticClass:"fx align-items"},[a("div",[t._v("日期：")]),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),t._v(" "),0===t.isShow?a("div",{staticClass:"ml-10"},[t._v("渠道：")]):t._e(),t._v(" "),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(),t._v(" "),a("div",[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getInfo()}}},[t._v("查询")])],1)])]),t._v(" "),0===t.isShow?a("table",{staticClass:"table"},[t._m(0),t._v(" "),a("tr",[a("td",[t._v("官方")]),t._v(" "),a("td",[t._v(t._s(t.tableData.registerAndroidSum))]),t._v(" "),a("td",[t._v(t._s(t.tableData.registerH5Sum))]),t._v(" "),a("td",[t._v(t._s(t.tableData.registerIosSum))]),t._v(" "),a("td",[t._v(t._s(t.tableData.registerSum))]),t._v(" "),a("td",[t._v(t._s(t.tableData.retentionOneDay))]),t._v(" "),a("td",[t._v(t._s(t.tableData.retentionThreeDay))]),t._v(" "),a("td",[t._v(t._s(t.tableData.toDayActive))])])]):t._e(),t._v(" "),1===t.isShow?a("table",{staticClass:"table"},[t._m(1),t._v(" "),a("tr",[a("td",[t._v(t._s(t.tableData.channel))]),t._v(" "),a("td",[t._v(t._s(t.tableData.downNum))]),t._v(" "),a("td",[t._v(t._s(t.tableData.registerNum))])])]):t._e()])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("渠道名称")]),t._v(" "),a("td",[t._v("Android注册人数")]),t._v(" "),a("td",[t._v("H5注册人数")]),t._v(" "),a("td",[t._v("IOS注册人数")]),t._v(" "),a("td",[t._v("总注册人数")]),t._v(" "),a("td",[t._v("次留")]),t._v(" "),a("td",[t._v("三留")]),t._v(" "),a("td",[t._v("活跃人数")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("渠道名称")]),this._v(" "),e("td",[this._v("总下载量")]),this._v(" "),e("td",[this._v("总注册量")])])}]};var n=a("VU/8")(s,i,!1,function(t){a("g/3R")},"data-v-5331706c",null);e.default=n.exports},"g/3R":function(t,e,a){var s=a("mUvh");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("rjj0")("1b190b06",s,!0,{})},mUvh:function(t,e,a){(t.exports=a("FZ+f")(!1)).push([t.i,"\n.table[data-v-5331706c]{\n  width: 100%;\n}\n.table tr td[data-v-5331706c]{\n  text-align: center;\n  line-height: 30px;\n}\n",""])}});