(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d231578"],{efab:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{data:t.tableData.data,size:"small","highlight-current-row":"","header-cell-style":{fontWeight:"bold"}}},[a("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"title",label:"标题","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{label:"用户昵称","min-width":"120",prop:"nickName"}}),t._v(" "),a("el-table-column",{attrs:{sortable:"",label:"明细数字","min-width":"120",prop:"integral","sort-method":function(t,e){return t.integral-e.integral}},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(1===e.row.type?"+":"-")+t._s(e.row.integral))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"关联号","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.linkId))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"关联类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("integralLinkTypeFilter")(e.row.linkType)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("integralStatusFilter")(e.row.status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"备注"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("filterEmpty")(e.row.mark)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"\t添加时间","min-width":"150"}})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},l=[],n=a("b7be"),s=a("0f56"),o=a("e350"),r={components:{cardsData:s["a"]},data:function(){return{loading:!1,options:[],fromList:this.$constants.fromList,listLoading:!1,tableData:{data:[],total:0},tableFrom:{page:1,limit:20,dateLimit:"",keywords:""},userIdList:[],userList:[],timeVal:[],values:[]}},mounted:function(){Object(o["a"])(["platform:integral:page:list"])&&this.getList()},methods:{checkPermi:o["a"],seachList:function(){this.tableFrom.page=1,this.getList()},selectChange:function(t){this.tableFrom.dateLimit=t,this.tableFrom.page=1,this.timeVal=[],this.getList()},onchangeTime:function(t){this.timeVal=t,this.tableFrom.dateLimit=t?this.timeVal.join(","):"",this.tableFrom.page=1,this.getList()},getList:function(){var t=this;this.listLoading=!0,Object(n["p"])({limit:this.tableFrom.limit,page:this.tableFrom.page},this.tableFrom).then((function(e){t.tableData.data=e.list,t.tableData.total=e.total,t.listLoading=!1})).catch((function(e){t.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()}}},c=r,u=a("2877"),m=Object(u["a"])(c,i,l,!1,null,"2809681b",null);e["default"]=m.exports}}]);