(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d237cd8"],{fd59:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("div",{staticClass:"filter-item"},[i("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.datepicker,callback:function(e){t.datepicker=e},expression:"datepicker"}})],1),i("div",{staticClass:"filter-item"},[i("el-select",{attrs:{filterable:"",placeholder:"类型"},model:{value:t.listQuery.type,callback:function(e){t.$set(t.listQuery,"type",e)},expression:"listQuery.type"}},[i("el-option",{attrs:{label:"昵称",value:"1"}}),i("el-option",{attrs:{label:"姓名",value:"2"}}),i("el-option",{attrs:{label:"手机号",value:"3"}}),i("el-option",{attrs:{label:"用户ID",value:"4"}})],1)],1),i("div",{staticClass:"filter-item"},[i("el-input",{staticStyle:{width:"350px"},attrs:{placeholder:"请输入关键词搜索","prefix-icon":"el-icon-search"},model:{value:t.listQuery.keyword,callback:function(e){t.$set(t.listQuery,"keyword",e)},expression:"listQuery.keyword"}})],1),i("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.search}},[t._v("搜索")]),i("el-button",{staticClass:"filter-item",attrs:{type:"success",icon:"el-icon-refresh"},on:{click:t.refresh}},[t._v("刷新")])],1),i("div",{staticClass:"back-white padding-lg margin-top"},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#eef1f6",color:"#606266"},data:t.list,border:"",fit:"","highlight-current-row":""}},[i("el-table-column",{attrs:{label:"ID",align:"center",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[i("span",[t._v(t._s(a.id))])]}}])}),i("el-table-column",{attrs:{label:"用户信息",align:"center","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[i("div",{staticClass:"flex align-center"},[i("img",{staticStyle:{width:"50px",height:"50px"},attrs:{src:a.avatar}}),i("span",{staticClass:"padding-left-sm"},[t._v(t._s(a.nickname)+" [ID:"+t._s(a.user_id)+"]")])])]}}])}),i("el-table-column",{attrs:{label:t.contribute_vadded+"变动",property:"money",align:"center","min-width":"150px"}}),i("el-table-column",{attrs:{label:"变动前"+t.contribute_vadded,property:"befores",align:"center","min-width":"150px"}}),i("el-table-column",{attrs:{label:"变动后"+t.contribute_vadded,property:"afters",align:"center","min-width":"150px"}}),i("el-table-column",{attrs:{label:"说明",property:"remarks",align:"center","min-width":"180px"}}),i("el-table-column",{attrs:{label:"时间",property:"createtime",align:"center",width:"180"}})],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1),i("copyright")],1)},l=[],s=i("7f70"),r=i("333d"),n=i("8327"),o={name:"ContributeVaddedPoolLog",components:{Pagination:r["a"]},computed:Object(s["a"])(Object(s["a"])({},Object(n["b"])(["fenxiao"])),{},{contribute_vadded:function(){return this.fenxiao&&this.fenxiao.texts&&this.fenxiao.texts.contribute_vadded_score?this.fenxiao.texts&&this.fenxiao.texts.contribute_vadded_score:"贡献分"}}),data:function(){return{list:null,total:0,listLoading:!0,datepicker:[],listQuery:{page:1,type:"1",startTime:"",endTime:"",keyword:"",limit:10}}},created:function(){this.getList()},methods:{refresh:function(){this.getList()},search:function(){this.listQuery.page=1,this.getList()},getList:function(){var t=this;this.datepicker?(this.listQuery.startTime=this.datepicker[0],this.listQuery.endTime=this.datepicker[1]):(this.listQuery.startTime="",this.listQuery.endTime=""),this.listLoading=!0,this.api.get("contribute_vadded/contribute/getUserMoneyLog",this.listQuery).then((function(e){t.listLoading=!1,1==e.code?(t.total=parseInt(e.data.total),t.list=e.data.list):t.$util.error(e.message||e.msg||"数据异常")}))}}},c=o,d=i("3d7a"),u=Object(d["a"])(c,a,l,!1,null,null,null);e["default"]=u.exports}}]);