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/mer/js/chunk-cd8d615e.9373d560.js

1 line
16 KiB

12 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cd8d615e"],{"9b9e":function(t,a,e){"use strict";e("af1a")},a6b2:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"divBox"},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("div",{staticClass:"filter-container"},[s("el-form",{attrs:{size:"small",inline:"","label-width":"100px"}},[s("el-form-item",{staticClass:"width100",attrs:{label:"时间选择:"}},[s("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(a){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(a){t.$set(t.tableFrom,"date",a)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(a,e){return s("el-radio-button",{key:e,attrs:{label:a.val}},[t._v(t._s(a.text))])})),1),t._v(" "),s("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(a){t.timeVal=a},expression:"timeVal"}})],1),t._v(" "),s("el-form-item",{staticClass:"width100",attrs:{label:"优惠券类型:"}},[s("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择",clearable:""},on:{change:function(a){return t.getList(1)}},model:{value:t.tableFrom.coupon_type,callback:function(a){t.$set(t.tableFrom,"coupon_type",a)},expression:"tableFrom.coupon_type"}},[s("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),s("el-option",{attrs:{label:"店铺券",value:0}}),t._v(" "),s("el-option",{attrs:{label:"商品券",value:1}})],1)],1),t._v(" "),s("el-form-item",{staticClass:"width100",attrs:{label:"优惠券名称:"}},[s("el-input",{staticClass:"selWidth mr20",attrs:{placeholder:"请输入优惠券名称",clearable:""},on:{change:function(a){return t.getList(1)}},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.coupon_name,callback:function(a){t.$set(t.tableFrom,"coupon_name",a)},expression:"tableFrom.coupon_name"}},[s("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search",size:"small"},on:{click:function(a){return t.getList(1)}},slot:"append"})],1)],1)],1)],1)]),t._v(" "),s("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":""}},[s("el-table-column",{attrs:{prop:"coupon_send_id",label:"ID","min-width":"80"}}),t._v(" "),s("el-table-column",{attrs:{prop:"title",label:"优惠劵名称","min-width":"200"}}),t._v(" "),s("el-table-column",{attrs:{label:"优惠劵类型","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){var e=a.row;return[s("span",[t._v(t._s(t._f("couponTypeFilter")(e.type)))])]}}])}),t._v(" "),s("el-table-column",{attrs:{prop:"create_time","min-width":"200",label:"发送日期"}}),t._v(" "),s("el-table-column",{attrs:{"min-width":"200",label:"使用有效期"},scopedSlots:t._u([{key:"default",fn:function(a){var e=a.row;return[e.use_start_time&&e.use_end_time?s("div",[t._v("\n "+t._s(e.use_start_time)+" "),s("br"),t._v("- "+t._s(e.use_end_time)+"\n ")]):s("span",[t._v(t._s(e.coupon_time)+"天")])]}}])}),t._v(" "),s("el-table-column",{attrs:{"min-width":"200",label:"筛选条件"},scopedSlots:t._u([{key:"default",fn:function(a){var e=a.row;return[e.mark.search?s("div",[e.mark.search["用户标签"]?s("span",[t._v("\n 用户标签:"+t._s(e.mark.search["用户标签"])+"\n ")]):t._e(),t._v(" "),e.mark.search["用户类型"]?s("span",[t._v("\n 用户类型:"+t._s(e.mark.search["用户类型"])+"\n ")]):t._e(),t._v(" "),e.mark.search["性别"]?s("span",[t._v("\n 性别:"+t._s(e.mark.search["性别"])+"\n ")]):