webpackJsonp([35],{Dkpx:function(e,t){},Js13:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Dd8w"),s=a.n(n),i=a("2Uyi"),r={name:"data_register",data:function(){return{count:0,pindex:1,dataRegisterData:[],dataRegisterList:[{title:"ID",width:90,key:"id"},{title:"玩家账号",key:"user_account"},{title:"游戏名称",key:"game_name"},{title:"注册时间",width:180,render:function(e,t){return e("span",Object(i.b)(t.row.register_time))}},{title:"注册IP",key:"register_ip"},{title:"员工",key:"manager_name"},{title:"平台账号",key:"channel_name"}],bg_date_op:{disabledDate:function(e){return e&&e.valueOf()>=Date.now()}},ed_date_op:{disabledDate:function(e){return e&&e.valueOf()>=Date.now()}},search:{manager_name:"",channel_name:"",start_time:"",end_time:"",user_account:"",game_name:""}}},watch:{"search.start_time":function(e){if(e){var t=Object(i.e)(e);this.ed_date_op={disabledDate:function(e){return e&&e.valueOf()<new Date(t)}}}else this.ed_date_op={}},"search.end_time":function(e){this.bg_date_op=e?{disabledDate:function(t){return t&&t.valueOf()>new Date(e)}}:{}}},methods:{getDataRegisterList:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.pindex=t,this.$store.commit("changeloading",!0),this.$api.getDataRegisterList(s()({limit:10,page:this.pindex},this.search)).then(function(t){200==t.code?(e.dataRegisterData=t.data,e.count=t.count,e.$store.commit("changeloading",!1)):(e.$store.commit("changeloading",!1),e.$Message.info(t.msg))})},bgdatechange:function(e){this.search.start_time=e},eddatechange:function(e){this.search.end_time=e},removeSearch:function(){this.search=s()({},Object(i.f)(s()({},this.search)))}},created:function(){this.getDataRegisterList()},mounted:function(){}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"right_con"},[a("div",{staticClass:"news_info_fgx fl"}),e._v(" "),a("p",{staticClass:"date_recharge fl"},[e._v("注册明细")]),e._v(" "),a("p",{staticClass:"date_recharge_title_summny fl"},[e._v("说明：对所有平台用户玩家产生的注册信息，进行记录的功能")]),e._v(" "),a("div",{staticClass:"fr search mar_T_15"},[a("Input",{staticClass:"wid_120",attrs:{placeholder:"玩家账号"},on:{"on-enter":function(t){return e.getDataRegisterList()}},model:{value:e.search.user_account,callback:function(t){e.$set(e.search,"user_account",t)},expression:"search.user_account"}}),e._v(" "),a("Input",{staticClass:"wid_120",attrs:{placeholder:"游戏"},on:{"on-enter":function(t){return e.getDataRegisterList()}},model:{value:e.search.game_name,callback:function(t){e.$set(e.search,"game_name",t)},expression:"search.game_name"}}),e._v(" "),a("Input",{staticClass:"wid_120",attrs:{placeholder:"员工账号"},on:{"on-enter":function(t){return e.getDataRegisterList()}},model:{value:e.search.manager_name,callback:function(t){e.$set(e.search,"manager_name",t)},expression:"search.manager_name"}}),e._v(" "),a("Input",{staticClass:"wid_120",attrs:{placeholder:"平台账号"},on:{"on-enter":function(t){return e.getDataRegisterList()}},model:{value:e.search.channel_name,callback:function(t){e.$set(e.search,"channel_name",t)},expression:"search.channel_name"}}),e._v(" "),a("DatePicker",{staticClass:"wid_120",attrs:{type:"date",transfer:!0,value:e.search.start_time,options:e.bg_date_op,placeholder:"开始时间"},on:{"on-change":e.bgdatechange}}),e._v(" -\n    "),a("DatePicker",{staticClass:"wid_120",attrs:{type:"date",transfer:!0,value:e.search.end_time,options:e.ed_date_op,placeholder:"结束时间"},on:{"on-change":e.eddatechange}}),e._v(" "),a("Button",{staticClass:"mar_L_5",attrs:{type:"primary"},on:{click:function(t){return e.getDataRegisterList()}}},[e._v("搜索")]),e._v(" "),a("Button",{staticClass:"clear_btn",on:{click:e.removeSearch}},[e._v("清空")])],1),e._v(" "),a("Table",{staticClass:"tables clear",attrs:{columns:e.dataRegisterList,data:e.dataRegisterData,border:""}}),e._v(" "),a("div",{staticClass:"page"},[a("Page",{attrs:{total:e.count,"page-size":10,size:"small","show-total":"","show-elevator":""},on:{"on-change":e.getDataRegisterList}})],1)],1)},staticRenderFns:[]};var o=a("VU/8")(r,c,!1,function(e){a("Dkpx")},null,null);t.default=o.exports}});