(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d229075"],{dc66: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("el-button",{staticClass:"filter-item",attrs:{type:"success",icon:"el-icon-refresh"},on:{click:t.refresh}},[t._v("刷新")])],1),i("div",{staticClass:"padding-lg margin-top back-white"},[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",sortable:"custom",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:"用户",property:"nickname",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[i("div",{staticClass:"flex flex-column align-start"},[i("div",[t._v(t._s(a.nickname))]),i("div",[t._v("ID:"+t._s(a.user_id))])])]}}])}),i("el-table-column",{attrs:{label:"用户头像",property:"avatar",align:"center"},scopedSlots:t._u([{key:"default",fn:function(t){var e=t.row;return[i("img",{staticStyle:{width:"50px",height:"50px"},attrs:{src:e.avatar}})]}}])}),i("el-table-column",{attrs:{label:"待返还",property:"surplus",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(" "+t._s(i.surplus)+t._s(1==i.type?t.balanceUnitText:t.scoreUnitText)+" ")]}}])}),i("el-table-column",{attrs:{label:t.sreturn_totalText,property:"total",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(" "+t._s(i.total)+t._s(1==i.type?t.balanceUnitText:t.scoreUnitText)+" ")]}}])}),i("el-table-column",{attrs:{label:"类型",property:"type",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(" "+t._s(1==i.type?t.balanceText+"返还":t.scoreText+"返还")+" ")]}}])}),i("el-table-column",{attrs:{label:"操作",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[1==a.type?i("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-view"},on:{click:function(e){return t.view(a.user_id)}}},[t._v(t._s(t.balanceText+"记录"))]):2==a.type?i("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-view"},on:{click:function(e){return t.viewScore(a.user_id)}}},[t._v(t._s(t.scoreText+"记录"))]):t._e()]}}])})],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)},n=[],r=i("7f70"),s=(i("e8d6"),i("8327")),l=i("333d"),o=i("3db1"),c={name:"CumulativeFanhuanUser",components:{Pagination:l["a"]},mixins:[o["a"]],data:function(){return{list:null,total:0,listLoading:!0,listQuery:{page:1,limit:10}}},computed:Object(r["a"])({},Object(s["b"])(["config"])),created:function(){this.getList()},methods:{refresh:function(){this.getList()},view:function(t){this.$router.push({path:"/sreturn/list",query:{id:t}})},viewScore:function(t){this.$router.push({path:"/sreturn/scoreList",query:{id:t}})},getList:function(){var t=this;this.listLoading=!0,this.api.get("sreturn/user/getList",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||"数据异常")}))}}},u=c,p=i("3d7a"),d=Object(p["a"])(u,a,n,!1,null,null,null);e["default"]=d.exports}}]);