You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crmeb_php/public/system/js/chunk-7a2a054a.a87032bb.js

1 line
23 KiB

12 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a2a054a"],{1086:function(t,e,n){},"927d":function(t,e,n){"use strict";n("1086")},aaad:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"filter-container"},[a("el-form",{attrs:{size:"small",inline:"","label-width":"100px"}},[a("el-form-item",{staticClass:"width100",attrs:{label:"时间选择:"}},[a("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,n){return a("el-radio-button",{key:n,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),a("el-date-picker",{staticStyle:{width:"250px"},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",{staticClass:"width100",attrs:{label:"优惠券类型:"}},[a("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.coupon_type,callback:function(e){t.$set(t.tableFrom,"coupon_type",e)},expression:"tableFrom.coupon_type"}},[a("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),a("el-option",{attrs:{label:"通用券",value:10}}),t._v(" "),a("el-option",{attrs:{label:"品类券",value:11}}),t._v(" "),a("el-option",{attrs:{label:"跨店券",value:12}})],1)],1),t._v(" "),a("el-form-item",{staticClass:"width100",attrs:{label:"优惠券名称:"}},[a("el-input",{staticClass:"selWidth mr20",attrs:{placeholder:"请输入优惠券名称",clearable:""},on:{change:function(e){return t.getList(1)}},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.coupon_name,callback:function(e){t.$set(t.tableFrom,"coupon_name",e)},expression:"tableFrom.coupon_name"}},[a("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search",size:"small"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1)],1)],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"coupon_send_id",label:"ID","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"title",label:"优惠劵名称","min-width":"200"}}),t._v(" "),a("el-table-column",{attrs:{label:"优惠劵类型","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[10==n.type?a("span",[t._v("通用券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time","min-width":"200",label:"发送日期"}}),t._v(" "),a("el-table-column",{attrs:{"min-width":"200",label:"使用有效期"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[n.use_start_time&&n.use_end_time?a("div",[t._v("\n "+t._s(n.use_start_time)+" "),a("br"),t._v("- "+t._s(n.use_end_time)+"\n ")]):a("span",[t._v(t._s(n.coupon_time)+"天")])]}}])}),t._v(" "),a("el-table-column",{attrs:{"min-width":"200",label:"筛选条件"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[n.mark.search?a("div",[n.mark.search["用户标签"]?a("span",[t._v("\n 用户标签:"+t._s(n.mark.search["用户标签"])+"\n ")]):t._e(),t._v(" "),n.mark.search["用户类型"]?a("span",[t._v("\n 用户类型:"+t._s(n.mark.search["用户类型"])+"\n ")]):t._e(),t._v(" "),n.mark.search["性别"]?a("span",[t._v("\n