Commit 1193cf4d by 无尘

fix: 修改提示

parent 08ccbbf9
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.a379d58342c10cabc7c1f0dcd8e92ae4.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.cb0ceb83ee8bbae24eb5.js></script><script type=text/javascript src=./static/js/vendor.eba504b5417c438bb1ca.js></script><script type=text/javascript src=./static/js/app.0f2bf82fc0f645bdc1ca.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.a379d58342c10cabc7c1f0dcd8e92ae4.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.b2852f3b3cb05a9ffc70.js></script><script type=text/javascript src=./static/js/vendor.eba504b5417c438bb1ca.js></script><script type=text/javascript src=./static/js/app.0b462e9f90e379f91bd2.js></script></body></html>
\ No newline at end of file
webpackJsonp([18],{"9QdT":function(e,t){},MdqQ:function(e,t){},xDJN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),i=a("exGp"),r=a.n(i),c=a("P9l9"),s=a("Ch4/"),l=a("PI0u"),d={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,loading:!1,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0,loadingBtn:!1}},methods:{exportExcel:Object(l.a)(function(){this.loadingBtn=!0,this.conditionObj.dateRange||(this.conditionObj.dateRange=[]);var e={cardId:this.coupCardId,search:this.conditionObj.searchInput||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",gicEnterpriseId:this.brandId};this.postExcel(e)},300),postExcel:function(e){var t=this;Object(c.d)("/haoban-app-customer-web/cardCoupon/export-consume-card",e).then(function(e){var a=e.data;if(t.loadingBtn=!1,1==a.errorCode)return t.$confirm("核销记录正在生成中,次日可前往GIC报表中心下载","温馨提示",{confirmButtonText:"立即前往",showCancelButton:!1,type:"warning",center:!0}).then(function(){if(-1!=window.location.href.indexOf("gicdev"))return window.open("http://gicdev.demogic.com/gic-web/#/reportCenter"),!1;window.open("https://hope.demogic.com/gic-web/#/reportCenter")}).catch(function(){}),!1;s.a.errorMsg(a)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleClose:function(e){this.$emit("closeGetRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},300),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(c.d)("/haoban-app-customer-web/cardCoupon/find-receive-card-page",i).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"领取记录",visible:e.dialogVisible,width:"864px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-336",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10 w-330",staticStyle:{width:"330px"},attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}}),a("el-button",{staticClass:"m-l-10 export-btn",attrs:{disabled:!e.tableData.length,type:"primary",loading:e.loadingBtn},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出核销记录")])],1)]),e._v(" "),a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"领取时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("z4nX")},"data-v-7a394380",null).exports,h={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}},cardName:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,loading:!1,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0,loadingBtn:!1}},methods:{exportExcel:Object(l.a)(function(){this.loadingBtn=!0,this.conditionObj.dateRange||(this.conditionObj.dateRange=[]);var e={coupCardId:this.coupCardId,searchType:this.conditionObj.searchType,search:this.conditionObj.searchInput||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",gicEnterpriseId:this.brandId};this.postExcelData(e)},300),postExcelData:function(e){var t=this;Object(c.b)("/haoban-app-customer-web/cardCoupon/export-send-card-page",e).then(function(e){if(t.loadingBtn=!1,!e)return s.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=t.cardName+"发送记录.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleClose:function(e){this.$emit("closeSendRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},300),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(c.d)("/haoban-app-customer-web/cardCoupon/find-send-card-page",i).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"发送记录",visible:e.dialogVisible,width:"820px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",[a("div",{staticClass:"el-alert el-alert--info m-b-20",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title"},[e._v("导购进行卡券赠送,给用户分享卡券链接后,用户打开卡券链接,即会生成一条“发送记录”,"),a("br"),e._v("如果用户不打开卡券链接,不会有记录生成;"),a("br"),e._v("非会员打开后,领取记录显示为非会员。")])])])]),e._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-345",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"272px"},attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}}),a("el-button",{staticClass:"m-l-10 export-btn",attrs:{disabled:!e.tableData.length,type:"primary",loading:e.loadingBtn},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出发送记录")])],1)]),e._v(" "),a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark",height:"450"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"发送时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.sendTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.sendTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var b={components:{cardGetRecord:p,cardSendRecord:a("VU/8")(h,g,!1,function(e){a("9QdT")},"data-v-1f6b438e",null).exports},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",searchInput:"",tableData:[],loading:!1,currentPage:1,pageSize:20,total:0,getRecordShow:!1,sendRecordShow:!1,coupCardId:"",cardName:""}},filters:{percenteNum:function(e){return e>0?Number(100*e).toFixed(2)+"%":Number(e).toFixed(2)+"%"}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{showGetRecord:function(e,t){this.coupCardId=t.coupCardId,this.getRecordShow=!0},closeGetRecord:function(){this.getRecordShow=!1},showSendRecord:function(e,t){this.coupCardId=t.coupCardId,this.cardName=t.cardName,this.sendRecordShow=!0},closeSendRecord:function(){this.sendRecordShow=!1},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var e=this;return r()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(a=e).loading=!0,n={gicEnterpriseId:a.brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(c.d)("/haoban-app-customer-web/cardCoupon/find-card-log-page",n).then(function(e){var t=e.data;if(a.loading=!1,1==t.errorCode)return a.tableData=t.result.list||[],void(a.total=t.result.pageInfo.total);s.a.errorMsg(t)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})});case 4:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"",width:"96"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券数量,包含扫码发券数",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("发送数量")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.issuingQuantity)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.getedQuantity))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("percenteNum")(t.row.getedRate)))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.usageQuantity))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("percenteNum")(t.row.verificationRate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"销售额"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.saleAmount))])]}}])}),e._v(" "),a("el-table-column",{attrs:{width:"150"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券的导购总人数,次日刷新",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购人数")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.sendMemberCount)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",width:"200",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showSendRecord(t.$index,t.row,"1")}}},[e._v("发送记录")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showGetRecord(t.$index,t.row,"2")}}},[e._v("领取记录")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),e.getRecordShow?a("card-get-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeGetRecord:e.closeGetRecord}}):e._e(),e._v(" "),e.sendRecordShow?a("card-send-record",{attrs:{brandId:e.brandId,cardName:e.cardName,coupCardId:e.coupCardId},on:{closeSendRecord:e.closeSendRecord}}):e._e()],1)},staticRenderFns:[]};var m=a("VU/8")(b,f,!1,function(e){a("MdqQ")},"data-v-c3effabe",null);t.default=m.exports},z4nX:function(e,t){}});
\ No newline at end of file
webpackJsonp([18],{"9QdT":function(e,t){},MdqQ:function(e,t){},xDJN:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Xxa5"),o=a.n(n),i=a("exGp"),r=a.n(i),c=a("P9l9"),s=a("Ch4/"),l=a("PI0u"),d={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,loading:!1,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0,loadingBtn:!1}},methods:{exportExcel:Object(l.a)(function(){this.loadingBtn=!0,this.conditionObj.dateRange||(this.conditionObj.dateRange=[]);var e={cardId:this.coupCardId,search:this.conditionObj.searchInput||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",gicEnterpriseId:this.brandId};this.postExcel(e)},300),postExcel:function(e){var t=this;Object(c.d)("/haoban-app-customer-web/cardCoupon/export-consume-card",e).then(function(e){var a=e.data;if(t.loadingBtn=!1,1==a.errorCode)return t.$confirm("核销记录正在生成中,次日可前往GIC报表中心下载","温馨提示",{confirmButtonText:"立即前往",showCancelButton:!1,type:"warning",center:!0}).then(function(){if(-1!=window.location.href.indexOf("gicdev"))return window.open("http://gicdev.demogic.com/gic-web/#/reportCenter"),!1;window.open("https://hope.demogic.com/gic-web/#/reportCenter")}).catch(function(){}),!1;s.a.errorMsg(a)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleClose:function(e){this.$emit("closeGetRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},300),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(c.d)("/haoban-app-customer-web/cardCoupon/find-receive-card-page",i).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"领取记录",visible:e.dialogVisible,width:"864px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-336",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10 w-330",staticStyle:{width:"330px"},attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}}),a("el-button",{staticClass:"m-l-10 export-btn",attrs:{disabled:!e.tableData.length,type:"primary",loading:e.loadingBtn},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出核销记录")])],1)]),e._v(" "),a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"领取时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.receiveTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.receiveTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(e){a("z4nX")},"data-v-7a394380",null).exports,h={props:{brandId:{type:String,default:function(){return""}},coupCardId:{type:String,default:function(){return""}},cardName:{type:String,default:function(){return""}}},data:function(){var e=this;return{dialogVisible:!0,loading:!1,tableData:[],conditionObj:{searchInput:"",searchType:"1",storeGroup:[],dateRange:[]},choiceDateCopy:[],pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}],onPick:function(t){var a=t.maxDate,n=t.minDate;e.choiceDateCopy=[n.getTime()],a&&(e.choiceDateCopy=[])},disabledDate:function(t){if(e.choiceDateCopy.length){var a=e.choiceDateCopy[0]-31536e6,n=e.choiceDateCopy[0]+31536e6;return t.getTime()<a||t.getTime()>n||t.getTime()>Date.now()-864e4}return t.getTime()>Date.now()-864e4}},currentPage:1,pageSize:20,total:0,loadingBtn:!1}},methods:{exportExcel:Object(l.a)(function(){this.loadingBtn=!0,this.conditionObj.dateRange||(this.conditionObj.dateRange=[]);var e={coupCardId:this.coupCardId,searchType:this.conditionObj.searchType,search:this.conditionObj.searchInput||"",startDate:this.conditionObj.dateRange[0]||"",endDate:this.conditionObj.dateRange[1]||"",gicEnterpriseId:this.brandId};this.postExcelData(e)},300),postExcelData:function(e){var t=this;Object(c.b)("/haoban-app-customer-web/cardCoupon/export-send-card-page",e).then(function(e){if(t.loadingBtn=!1,!e)return s.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=t.cardName+"发送记录.csv",o=document.createElement("a");o.download=n,o.style.display="none",o.href=URL.createObjectURL(a),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleClose:function(e){this.$emit("closeSendRecord")},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList()},300),clearInput:function(){this.currentPage=1,this.getTableList()},changeDate:function(e){e||(this.choiceDateCopy=[],this.conditionObj.dateRange=[]),this.getTableList()},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=[],n=[],o=[];t.conditionObj.storeGroup.forEach(function(e){1==e.type&&o.push(e.employeeClerkId),2==e.type&&a.push(e.groupId),3==e.type&&n.push(e.storeId)}),t.conditionObj.dateRange||(t.conditionObj.dateRange=[]);var i={coupCardId:t.coupCardId,searchType:t.conditionObj.searchType,search:t.conditionObj.searchInput||"",groupIds:a.join(",")||"",storeIds:n.join(",")||"",clerkIds:o.join(",")||"",startDate:t.conditionObj.dateRange[0]||"",endDate:t.conditionObj.dateRange[1]||"",pageNum:t.currentPage,pageSize:t.pageSize,gicEnterpriseId:t.brandId};Object(c.d)("/haoban-app-customer-web/cardCoupon/find-send-card-page",i).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.list||[],t.total=a.result.pageInfo.total,!1;s.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getTableList())},coupCardId:function(e,t){e&&this.getTableList()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},g={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"发送记录",visible:e.dialogVisible,width:"820px","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",[a("div",{staticClass:"el-alert el-alert--info m-b-20",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title"},[e._v("导购进行卡券赠送,给用户分享卡券链接后,用户打开卡券链接,即会生成一条“发送记录”,"),a("br"),e._v("如果用户不打开卡券链接,不会有记录生成;非会员打开后,领取记录显示为非会员。")])])])]),e._v(" "),a("div",{staticClass:"table-condition flex flex-space-between m-b-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-345",attrs:{placeholder:2==e.conditionObj.searchType?"请输入会员手机号/卡号 ":"请输入导购姓名/手机号/code",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.conditionObj.searchInput);var a}},model:{value:e.conditionObj.searchInput,callback:function(t){e.$set(e.conditionObj,"searchInput",t)},expression:"conditionObj.searchInput"}},[a("el-select",{staticClass:"w-103",attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.conditionObj.searchType,callback:function(t){e.$set(e.conditionObj,"searchType",t)},expression:"conditionObj.searchType"}},[a("el-option",{attrs:{label:"按导购",value:"1"}})],1)],1),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"272px"},attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.conditionObj.dateRange,callback:function(t){e.$set(e.conditionObj,"dateRange",t)},expression:"conditionObj.dateRange"}}),a("el-button",{staticClass:"m-l-10 export-btn",attrs:{disabled:!e.tableData.length,type:"primary",loading:e.loadingBtn},on:{click:e.exportExcel}},[a("i",{staticClass:"iconfont icon-icon_yunxiazai p-r-6"}),e._v("导出发送记录")])],1)]),e._v(" "),a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{data:e.tableData,"tooltip-effect":"dark",height:"450"}},[a("el-table-column",{attrs:{label:"导购信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.clerkName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"导购手机号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.clerkPhone||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName||"--")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员卡号","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.memberCardNo||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"发送时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToYmd")(t.row.sendTime)))]),e._v(" "),a("div",{staticClass:"color-606266 line-18"},[e._v(e._s(e._f("timeStampToHms")(t.row.sendTime)))])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])},staticRenderFns:[]};var b={components:{cardGetRecord:p,cardSendRecord:a("VU/8")(h,g,!1,function(e){a("9QdT")},"data-v-1f6b438e",null).exports},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",searchInput:"",tableData:[],loading:!1,currentPage:1,pageSize:20,total:0,getRecordShow:!1,sendRecordShow:!1,coupCardId:"",cardName:""}},filters:{percenteNum:function(e){return e>0?Number(100*e).toFixed(2)+"%":Number(e).toFixed(2)+"%"}},watch:{brandId:function(e){e&&this.getTableList()}},methods:{showGetRecord:function(e,t){this.coupCardId=t.coupCardId,this.getRecordShow=!0},closeGetRecord:function(){this.getRecordShow=!1},showSendRecord:function(e,t){this.coupCardId=t.coupCardId,this.cardName=t.cardName,this.sendRecordShow=!0},closeSendRecord:function(){this.sendRecordShow=!1},toInput:Object(l.a)(function(e,t){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.currentPage=e,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var e=this;return r()(o.a.mark(function t(){var a,n;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(a=e).loading=!0,n={gicEnterpriseId:a.brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(c.d)("/haoban-app-customer-web/cardCoupon/find-card-log-page",n).then(function(e){var t=e.data;if(a.loading=!1,1==t.errorCode)return a.tableData=t.result.list||[],void(a.total=t.result.pageInfo.total);s.a.errorMsg(t)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})});case 4:case"end":return t.stop()}},t,e)}))()}},mounted:function(){this.$emit("showTab","2"),this.brandId&&this.getTableList()}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:e.clearInput},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.cardName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"",width:"96"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券数量,包含扫码发券数",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("发送数量")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.issuingQuantity)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.getedQuantity))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("percenteNum")(t.row.getedRate)))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"使用数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.usageQuantity))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销率"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("percenteNum")(t.row.verificationRate)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"销售额"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.saleAmount))])]}}])}),e._v(" "),a("el-table-column",{attrs:{width:"150"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"发送卡券的导购总人数,次日刷新",placement:"right"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购人数")])])]}},{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.sendMemberCount)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",width:"200",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showSendRecord(t.$index,t.row,"1")}}},[e._v("发送记录")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){e.showGetRecord(t.$index,t.row,"2")}}},[e._v("领取记录")])]}}])})],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1),e._v(" "),e.getRecordShow?a("card-get-record",{attrs:{brandId:e.brandId,coupCardId:e.coupCardId},on:{closeGetRecord:e.closeGetRecord}}):e._e(),e._v(" "),e.sendRecordShow?a("card-send-record",{attrs:{brandId:e.brandId,cardName:e.cardName,coupCardId:e.coupCardId},on:{closeSendRecord:e.closeSendRecord}}):e._e()],1)},staticRenderFns:[]};var m=a("VU/8")(b,f,!1,function(e){a("MdqQ")},"data-v-c3effabe",null);t.default=m.exports},z4nX:function(e,t){}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(d,b,n){for(var r,t,o,i=0,u=[];i<d.length;i++)t=d[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(d,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var d={},a={90:0};function f(c){if(d[c])return d[c].exports;var a=d[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,f),a.l=!0,a.exports}f.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var d=new Promise(function(d,f){c=a[e]=[d,f]});c[2]=d;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"b70288de8bc283ecde4d",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"bdfd1dea1968b59c4721",4:"d9188c5ef11d148a9172",5:"d3f88d7a7ab12a0c3ee3",6:"07ad6c3877ec1cf93f38",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"a5f9a2b161799c2c5bb9",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"5145c587ec0a653fd73e",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"d40560c522c8c26d79d2",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"f1937bdc9b58f02047ba",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"0542c39c04f998333558",39:"2bb602426d304fcd7094",40:"db819bd27dc38965bea1",41:"3cb068afd8ac14727454",42:"1353238a90cf41857acd",43:"d3b1480cc3da06f0e5ad",44:"c3c053883f6e1a8bc5b5",45:"3e3c2814f2f4dd046509",46:"9fdc2afb9afcb2febfff",47:"f285e67e8e1c64e62f98",48:"86d8f05f428187b8cbb5",49:"257788bb0df441b53012",50:"47021614c317a7887445",51:"16a6ad4cd62038a8e7f5",52:"2d7171cb51a511e3c9d7",53:"ca67cc9462193af0a5b0",54:"ae3dde631a8a551ebb99",55:"3e1030263a334927802b",56:"19d7d91cdee929782a7b",57:"a2c026b3f95f859b9e14",58:"f099b7cf189020e78d5c",59:"fbdf692d4d60874dbc72",60:"f4ccd1a957338c1fac1d",61:"bd012bc42649c4354ab6",62:"9d2c7a0219c01d18680c",63:"43127785681a412ff10e",64:"ddadfb520817e737b7ba",65:"8cc800e31738b5e6ec04",66:"d96b50c60d1318b9cd5e",67:"3217c7fb038b3607490e",68:"10019405023074d8884d",69:"e8bb4a2dc30748f8c86f",70:"be0ace71c4ab70921bf2",71:"3b76393d37e218db1edc",72:"87361d87caa3c4b6c414",73:"a9cb9070eb6f88b67de0",74:"ed4697a92f8f1214de4d",75:"edd89ba2b2d753c494cc",76:"968e9276b0a38016d558",77:"16af377178647ebac827",78:"483fad30b165a7d4b355",79:"510a6d59b3808c0ba62c",80:"080b532cea2b17b0ede7",81:"c4163ef5fac02ab01e3e",82:"fcbb6ef04a6f77624db4",83:"32b1d7c9ef64aff93dd3",84:"7828f9a76760d609f2a2",85:"af97159587cda007ae6c",86:"31c91be5699d4c6698ad",87:"3cdfa496ad47fb7e6ffd"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),d},f.m=e,f.c=d,f.d=function(e,c,d){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:d})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={90:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"eb1f52972608bd9967cf",1:"2fe1fea28b338647500e",2:"1ee388c2d99a13efc1ce",3:"bdfd1dea1968b59c4721",4:"d9188c5ef11d148a9172",5:"d3f88d7a7ab12a0c3ee3",6:"cf4f110f64b799ced49f",7:"c7a7f149b9bda67ba206",8:"44ef777174215bae215b",9:"a62fb8970e3ef30127ce",10:"546b16617e8d45a97acd",11:"fce5fcc498c4ce97d798",12:"8a665f79cc4474704639",13:"acdad5e4c434690dabb4",14:"0515ff16e22ad1985252",15:"a4a185ec9ed403c3f32c",16:"7400088166b56885fd23",17:"df7d17412a0cb4c4d42f",18:"073f7939c28c60afaa0c",19:"f11c386818436323fde4",20:"e3adbfd3e776cf2e8f9f",21:"d78352462bc271cf6c69",22:"b775cd5a3407a1f4c844",23:"ed8ffa7851cf7b93d55d",24:"76079e07f55c773e8ebe",25:"755d295db713955f70d0",26:"033c6e723fba9da08a93",27:"8ae3986881568fb833a3",28:"f1937bdc9b58f02047ba",29:"9fc187d28f0558e31cb3",30:"a383e23152f401e14903",31:"a81d5594ab762bad1101",32:"18695c9f2b46cc400c85",33:"0a4442de53039502010e",34:"e1c92d68f0bd271d5f80",35:"ea6b99a3057b0b403906",36:"47f03b8472e95e8be943",37:"e3388332c83433feb21d",38:"f8e2f796215394d1dd6a",39:"2bb602426d304fcd7094",40:"db819bd27dc38965bea1",41:"3cb068afd8ac14727454",42:"1353238a90cf41857acd",43:"d3b1480cc3da06f0e5ad",44:"595fa35caeb741bcf3da",45:"3e3c2814f2f4dd046509",46:"9fdc2afb9afcb2febfff",47:"f285e67e8e1c64e62f98",48:"86d8f05f428187b8cbb5",49:"38316599239c9e48ed95",50:"9d6554dc39ea90f0a05b",51:"16a6ad4cd62038a8e7f5",52:"2d7171cb51a511e3c9d7",53:"ca67cc9462193af0a5b0",54:"ae3dde631a8a551ebb99",55:"3e1030263a334927802b",56:"19d7d91cdee929782a7b",57:"18b980f798b56f000a04",58:"f099b7cf189020e78d5c",59:"fbdf692d4d60874dbc72",60:"f4ccd1a957338c1fac1d",61:"bd012bc42649c4354ab6",62:"9d2c7a0219c01d18680c",63:"43127785681a412ff10e",64:"ddadfb520817e737b7ba",65:"8cc800e31738b5e6ec04",66:"d96b50c60d1318b9cd5e",67:"3217c7fb038b3607490e",68:"10019405023074d8884d",69:"e8bb4a2dc30748f8c86f",70:"be0ace71c4ab70921bf2",71:"3b76393d37e218db1edc",72:"87361d87caa3c4b6c414",73:"a9cb9070eb6f88b67de0",74:"ed4697a92f8f1214de4d",75:"edd89ba2b2d753c494cc",76:"968e9276b0a38016d558",77:"16af377178647ebac827",78:"483fad30b165a7d4b355",79:"510a6d59b3808c0ba62c",80:"080b532cea2b17b0ede7",81:"c4163ef5fac02ab01e3e",82:"fcbb6ef04a6f77624db4",83:"32b1d7c9ef64aff93dd3",84:"7828f9a76760d609f2a2",85:"af97159587cda007ae6c",86:"31c91be5699d4c6698ad",87:"3cdfa496ad47fb7e6ffd"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2021-01-04 17:09:22
* @LastEditTime: 2021-01-04 17:12:22
-->
<!--
<card-send-record @closeSendRecord="closeSendRecord"></card-send-record>
......@@ -16,7 +16,7 @@
<div role="alert" class="el-alert el-alert--info m-b-20">
<i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content">
<span class="el-alert__title">导购进行卡券赠送,给用户分享卡券链接后,用户打开卡券链接,即会生成一条“发送记录”,<br />如果用户不打开卡券链接,不会有记录生成;<br />非会员打开后,领取记录显示为非会员。</span>
<span class="el-alert__title">导购进行卡券赠送,给用户分享卡券链接后,用户打开卡券链接,即会生成一条“发送记录”,<br />如果用户不打开卡券链接,不会有记录生成;非会员打开后,领取记录显示为非会员。</span>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment