chunk-198abeb0.5f52a986.js 11.4 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-198abeb0"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,n){var o=i(),l=e-o,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var i=Math.easeInOutQuad(u,o,l,t);r(i),u<t?a(e):n&&"function"===typeof n&&n()};c()}},"1c31":function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return s}));var a=n("b775");function r(e){return Object(a["a"])({url:"/api/admin/report/report_list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/api/admin/report/report_channel_list",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/api/admin/report/report_keep_list",method:"get",params:e})}function l(e){return Object(a["a"])({url:"/api/admin/report/report_charts_data",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/api/admin/report/report_inpour_charts_data",method:"get",params:e})}},6724:function(e,t,n){"use strict";n("8d41");var a="@@wavesContext";function r(e,t){function n(n){var a=Object.assign({},t.value),r=Object.assign({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},a),i=r.ele;if(i){i.style.position="relative",i.style.overflow="hidden";var o=i.getBoundingClientRect(),l=i.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":(l=document.createElement("span"),l.className="waves-ripple",l.style.height=l.style.width=Math.max(o.width,o.height)+"px",i.appendChild(l)),r.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(n.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(n.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=r.color,l.className="waves-ripple z-active",!1}}return e[a]?e[a].removeHandle=n:e[a]={removeHandle:n},n}var i={bind:function(e,t){e.addEventListener("click",r(e,t),!1)},update:function(e,t){e.removeEventListener("click",e[a].removeHandle,!1),e.addEventListener("click",r(e,t),!1)},unbind:function(e){e.removeEventListener("click",e[a].removeHandle,!1),e[a]=null,delete e[a]}},o=function(e){e.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(o)),i.install=o;t["a"]=i},8996:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.listQuery}},[n("el-form-item",{attrs:{label:"渠道ID"}},[n("el-input",{staticStyle:{width:"130px"},attrs:{placeholder:"渠道ID"},model:{value:e.listQuery.channel,callback:function(t){e.$set(e.listQuery,"channel",t)},expression:"listQuery.channel"}})],1),n("el-form-item",{attrs:{label:"时间"}},[n("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",placeholder:"注册时间"},model:{value:e.listQuery.time_range,callback:function(t){e.$set(e.listQuery,"time_range",t)},expression:"listQuery.time_range"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(" 搜索 ")])],1)],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"sort-change":e.sortChange}},[n("el-table-column",{attrs:{label:"日期",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.date))])]}}])}),n("el-table-column",{attrs:{label:"总安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install))])]}}])}),n("el-table-column",{attrs:{label:"总收入",width:"100px",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour))])]}}])}),n("el-table-column",{attrs:{label:"总订单",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_order))])]}}])}),n("el-table-column",{attrs:{label:"总活跃",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.active))])]}}])}),n("el-table-column",{attrs:{label:"活跃ARPU",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.active_arpu))])]}}])}),n("el-table-column",{attrs:{label:"注册ARPU",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.arpu))])]}}])}),n("el-table-column",{attrs:{label:"老用户活跃",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.active_old))])]}}])}),n("el-table-column",{attrs:{label:"老用户续充",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_old))])]}}])}),n("el-table-column",{attrs:{label:"邀请推广安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_share))])]}}])}),n("el-table-column",{attrs:{label:"邀请推广收入",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_share))])]}}])}),n("el-table-column",{attrs:{label:"安卓安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_az))])]}}])}),n("el-table-column",{attrs:{label:"安卓总收入",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_az))])]}}])}),n("el-table-column",{attrs:{label:"苹果安装",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_ios))])]}}])}),n("el-table-column",{attrs:{label:"苹果总收入",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.inpour_ios))])]}}])}),n("el-table-column",{attrs:{label:"目前未到期会员",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[n("span",[e._v(e._s(a.install_vip))])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){return e.$set(e.listQuery,"page",t)},"update:limit":function(t){return e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},r=[],i=(n("c740"),n("13d5"),n("a434"),n("ff87")),o=n("1c31"),l=n("6724"),s=n("333d"),u=["下线","上线"],c=["普通","推荐"],d=["普通","首页"],p=[{key:"1",display_name:"电影"},{key:"2",display_name:"电视剧"},{key:"3",display_name:"短视频"}],f=p.reduce((function(e,t){return e[t.key]=t.display_name,e}),{}),m={name:"ReportList",components:{Pagination:s["a"]},directives:{waves:l["a"]},filters:{typeFilter:function(e){return f[e]},isCheckFilter:function(e){return u[e]},betterShowFilter:function(e){return c[e]},homeShowFilter:function(e){return d[e]}},data:function(){return{tableKey:0,list:null,total:0,listLoading:!0,listQuery:{page:1,limit:20,id:void 0,channel:void 0,time_range:void 0,sort:"id desc"},typesOptions:[],viewTypeOptions:p,showPlays:!1,showLikes:!1,showDislikes:!1,showTariffVip:!1,showTariffUsr:!1,showCreateTime:!1,showReleaseTime:!1,openSort:!1,newVideo:{},dialogFormVisible:!1,dialogStatus:"",textMap:{update:"编辑",create:"创建",coin:"金币充值"},rules:{name:[{required:!0,message:"请输入片名",trigger:"blur"}],coin_type:[{required:!0,message:"请选择类型",trigger:"blur"}]}}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(o["e"])(this.listQuery).then((function(t){e.total=t.data.total,e.list=t.data.list,e.listLoading=!1}))},takeViewType:function(e){return f[e]},handleFilter:function(){this.listQuery.page=1,this.getList()},sortChange:function(e){var t=e.prop,n=e.order;this.listQuery.sort="ascending"===n?t:t+" desc",this.handleFilter()},handleUpdate:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="update",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},handleCoin:function(e){var t=this;this.newVideo=Object.assign({},e),this.dialogStatus="coin",this.dialogFormVisible=!0,this.$nextTick((function(){t.$refs["dataForm"].clearValidate()}))},updateData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(i["j"])(n).then((function(){var t=e.list.findIndex((function(t){return t.id===e.newVideo.id}));e.list.splice(t,1,e.newVideo),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},updateCoinData:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var n=Object.assign({},e.newVideo);Object(i["k"])(n).then((function(){e.getList(),e.dialogFormVisible=!1,e.$notify({title:"Success",message:"操作成功",type:"success",duration:2e3})}))}}))},getSortClass:function(){var e=this.listQuery.sort;return"id"===e?"ascending":"descending"}}},h=m,y=n("2877"),v=Object(y["a"])(h,a,r,!1,null,null,null);t["default"]=v.exports},"8d41":function(e,t,n){},ff87:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"k",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"d",(function(){return m}));var a=n("b775");function r(e){return Object(a["a"])({url:"/api/admin/player/player_list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/api/admin/player/update_player",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/api/admin/player/express_player",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/api/admin/player/update_player_coin",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/api/admin/player/bindMobile",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/api/admin/player/player_history_list",method:"get",params:e})}function c(e){return Object(a["a"])({url:"/api/admin/player/player_inpour_list",method:"get",params:e})}function d(e){return Object(a["a"])({url:"/api/admin/player/supple",method:"post",data:e})}function p(e){return Object(a["a"])({url:"/api/admin/player/player_pay_list",method:"get",params:e})}function f(e){return Object(a["a"])({url:"/api/admin/cache/clearPlayerCache",method:"get",params:e})}function m(e){return Object(a["a"])({url:"/api/admin/player/express_player_password",method:"post",data:e})}}}]);