1 line
6.9 KiB
JavaScript
1 line
6.9 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-33cb570e"],{"3bbe":function(e,t,a){var n=a("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},7156:function(e,t,a){var n=a("861d"),r=a("d2bb");e.exports=function(e,t,a){var o,i;return r&&"function"==typeof(o=t.constructor)&&o!==a&&n(i=o.prototype)&&i!==a.prototype&&r(e,i),e}},a269:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ba_f pad_20"},[a("el-tabs",{staticStyle:{"margin-bottom":"20px"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"奖励金明细",name:"1"}}),a("el-tab-pane",{attrs:{label:"积分奖励明细",name:"2"}})],1),a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},["1"==e.activeName?a("span",[e._v("奖励金明细")]):e._e(),"2"==e.activeName?a("span",[e._v("积分明细")]):e._e()])]),a("div",{staticClass:"pad_20 flex-bet"},[a("el-form",{staticClass:"demo-form-inline searchform",attrs:{inline:!0,model:e.formInline}},[a("el-form-item",{attrs:{label:"昵称/手机号"}},[a("el-input",{attrs:{size:"medium",placeholder:"昵称/手机号"},on:{input:e.selach},model:{value:e.formInline.keyword,callback:function(t){e.$set(e.formInline,"keyword",t)},expression:"formInline.keyword"}})],1),a("el-form-item",{attrs:{label:"时间范围"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.selach},model:{value:e.formInline.region,callback:function(t){e.$set(e.formInline,"region",t)},expression:"formInline.region"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.selach}},[e._v("搜索")])],1)],1),a("div",{staticClass:"flex"})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.list,"element-loading-text":e.elementLoadingText,stripe:""}},[a("el-table-column",{attrs:{prop:"outTradeNo",label:"用户信息"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-y-top"},[a("div",{},[a("img",{staticClass:"goodlogo bor_rad50",attrs:{src:t.row.portrait}})]),a("div",{staticClass:"mar_l10"},[a("div",{staticClass:"flex"},[a("div",[a("div",[e._v(e._s(t.row.userName))]),a("div",[a("el-tag",{staticClass:"mar_l5",attrs:{size:"mini",type:"info"}},[e._v("(ID:"+e._s(t.row.userId)+") ")])],1)])])])])]}}])}),"1"==e.activeName?a("el-table-column",{attrs:{prop:"money",label:"奖金"}}):e._e(),"2"==e.activeName?a("el-table-column",{attrs:{prop:"integral",label:"积分"}}):e._e(),a("el-table-column",{attrs:{prop:"note",label:"备注"}}),a("el-table-column",{attrs:{prop:"createdAt",label:"创建时间"}})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:e.page.total,"page-size":e.page.pagesize,"current-page":e.page.currentPage},on:{"update:currentPage":function(t){return e.$set(e.page,"currentPage",t)},"update:current-page":function(t){return e.$set(e.page,"currentPage",t)},"current-change":e.handleCurrentChange}})],1)},r=[],o=(a("96cf"),a("1da1")),i=a("7cb7"),s=a("ed08"),l={created:function(){this.fetchData()},data:function(){return{elementLoadingText:"123",page:{total:0,pagesize:10,currentPage:1},list:[],listLoading:!1,activeName:"1",form:{shopValue:"1",timeType:"1",time:[new Date,new Date],Mtime:""},formInline:{keyword:"",region:[]}}},methods:{selach:function(){this.fetchData()},handleCurrentChange:function(e){this.page.currentPage=e,this.fetchData()},handleClick:function(){this.fetchData()},fetchData:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.listLoading=!0,t.next=3,Object(i["e"])({page:e.page.currentPage,type:e.activeName,keyword:e.formInline.keyword,
|