启程易购后端代码
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.
qicheng_shop_backend/public/system/js/chunk-01480f32.ed9df5dd.js

1 line
17 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-01480f32"],{"17e9":function(t,n,e){"use strict";e("90cd")},"8c44":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("div",{staticClass:"selCard"},[e("el-form",{ref:"searchForm",attrs:{model:t.tableFromIssue,size:"small","label-width":"85px",inline:!0}},[e("el-form-item",{attrs:{label:"使用状态:",prop:"status"}},[e("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择状态"},on:{change:function(n){return t.getIssueList(1)}},model:{value:t.tableFromIssue.status,callback:function(n){t.$set(t.tableFromIssue,"status",n)},expression:"tableFromIssue.status"}},[e("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),e("el-option",{attrs:{label:"已使用",value:"1"}}),t._v(" "),e("el-option",{attrs:{label:"未使用",value:"0"}}),t._v(" "),e("el-option",{attrs:{label:"已过期",value:"2"}})],1)],1),t._v(" "),e("el-form-item",{attrs:{label:"领取人:",prop:"username"}},[e("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入领取人"},nativeOn:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.getIssueList(1)}},model:{value:t.tableFromIssue.username,callback:function(n){t.$set(t.tableFromIssue,"username",n)},expression:"tableFromIssue.username"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"优惠劵:",prop:"coupon_id"}},[e("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入优惠劵ID"},nativeOn:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.getIssueList(1)}},model:{value:t.tableFromIssue.coupon_id,callback:function(n){t.$set(t.tableFromIssue,"coupon_id",n)},expression:"tableFromIssue.coupon_id"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"获取方式:",prop:"type"}},[e("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(n){return t.getIssueList(1)}},model:{value:t.tableFromIssue.type,callback:function(n){t.$set(t.tableFromIssue,"type",n)},expression:"tableFromIssue.type"}},[e("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),e("el-option",{attrs:{label:"手动领取",value:"receive"}}),t._v(" "),e("el-option",{attrs:{label:"新人券",value:"new"}}),t._v(" "),e("el-option",{attrs:{label:"赠送券",value:"buy"}}),t._v(" "),e("el-option",{attrs:{label:"后台发送券",value:"send"}})],1)],1),t._v(" "),e("el-form-item",{attrs:{label:"优惠券类型",prop:"coupon_type"}},[e("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择状态"},on:{change:function(n){return t.getIssueList(1)}},model:{value:t.tableFromIssue.coupon_type,callback:function(n){t.$set(t.tableFromIssue,"coupon_type",n)},expression:"tableFromIssue.coupon_type"}},[e("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),e("el-option",{attrs:{label:"通用券",value:10}}),t._v(" "),e("el-option",{attrs:{label:"品类券",value:11}}),t._v(" "),e("el-option",{attrs:{label:"跨店券",value:12}})],1)],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return t.getIssueList(1)}}},[t._v("搜索")]),t._v(" "),e("el-button",{attrs:{size:"small"},on:{click:function(n){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),e("el-card",{staticClass:"mt14"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.Loading,expression:"Loading"}],attrs:{data:t.issueData.data,size:"small"}},[e("el-table-column",{attrs:{prop:"coupon_id",label:"ID","min-width":"80"}}),t._v(" "),e("el-table-column",{attrs:{prop:"coupon_title",label:"优惠券名称","min-width":"150"}}),t._v(" "),e("el-table-column",{attrs:{label:"领取人","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[n.row.user?e("span",[t._v(t._s(t._f("filterEmpty")(n.row.user.nickname)))]):e("span",[t._v("未知")])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"优惠券类型","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function