1 line
4.5 KiB
JavaScript
1 line
4.5 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c08f3"],{"41ff":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard"},[a("el-form",{attrs:{inline:"",size:"small","label-width":"85px"}},[a("el-form-item",{staticClass:"width100",attrs:{label:"时间选择:"}},[a("el-date-picker",{staticClass:"selWidth",attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"会员类别:"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList()}},model:{value:t.tableFrom.svip_type,callback:function(e){t.$set(t.tableFrom,"svip_type",e)},expression:"tableFrom.svip_type"}},[a("el-option",{attrs:{label:"试用期",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"有限期",value:"2"}}),t._v(" "),a("el-option",{attrs:{label:"用久期",value:"3"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"支付方式:"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList()}},model:{value:t.tableFrom.pay_type,callback:function(e){t.$set(t.tableFrom,"pay_type",e)},expression:"tableFrom.pay_type"}},[a("el-option",{attrs:{label:"微信",value:"weixin"}}),t._v(" "),a("el-option",{attrs:{label:"支付宝",value:"alipay"}}),t._v(" "),a("el-option",{attrs:{label:"小程序",value:"routine"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"会员卡名称:"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入会员卡名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList()}},model:{value:t.tableFrom.title,callback:function(e){t.$set(t.tableFrom,"title",e)},expression:"tableFrom.title"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"搜索:"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入用户名称搜索"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}})],1)],1)],1),t._v(" "),a("el-card",{staticClass:"box-card"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small"}},[a("el-table-column",{attrs:{prop:"order_sn",label:"订单号","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"user.nickname",label:"用户名","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"user.phone",label:"手机号码","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"title",label:"会员卡名称","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"pay_price",label:"支付金额(元)","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"price",label:"支付方式","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("span")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"购买时间","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"user.svip_endtime",label:"到期时间","min-width":"60"}})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},i=[],n=a("c24f"),s={name:"LabelList",data:function(){return{listLoading:!0,timeVal:[],tableData:{data:[],total:0},tableFrom:{page:1,limit:20}}},mounted:function(){this.getList("")},methods:{onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("
|