Commit 3f7e5b27 by dingdang

update: dist

parent f797d320
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=./static/img/favicon.ico><title></title><link rel=stylesheet type=text/css href=static/css/common.css><link rel=stylesheet href=//at.alicdn.com/t/font_688955_2dxzdzrb3a7.css><script src=//at.alicdn.com/t/font_688955_2dxzdzrb3a7.js></script><link rel=stylesheet href=//at.alicdn.com/t/c/font_3380872_b9qubgdi1ic.css><link src=//at.alicdn.com/t/font_2859043_udehp133w1.css><script src=//at.alicdn.com/t/font_2859043_udehp133w1.js></script><link rel=stylesheet href=//at.alicdn.com/t/font_2996579_dv9vctk5vdt.css><script src=//at.alicdn.com/t/font_2996579_dv9vctk5vdt.js></script><link rel=stylesheet href=//at.alicdn.com/t/c/font_3380872_hsi60jw7bi7.css><script src=//at.alicdn.com/t/c/font_3380872_hsi60jw7bi7.js></script><link href=/marketing/static/css/main.e48bea8f183b32e00e0d27b24a178e65.css rel=stylesheet></head><body><div id=app><div class=el-loading-spinner style="width: 98%;"><svg viewBox="25 25 50 50" class=circular><circle cx=50 cy=50 r=20 fill=none class=path></circle></svg></div></div><script>(function() {
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=./static/img/favicon.ico><title></title><link rel=stylesheet type=text/css href=static/css/common.css><link rel=stylesheet href=//at.alicdn.com/t/font_688955_2dxzdzrb3a7.css><script src=//at.alicdn.com/t/font_688955_2dxzdzrb3a7.js></script><link rel=stylesheet href=//at.alicdn.com/t/c/font_3380872_b9qubgdi1ic.css><link src=//at.alicdn.com/t/font_2859043_udehp133w1.css><script src=//at.alicdn.com/t/font_2859043_udehp133w1.js></script><link rel=stylesheet href=//at.alicdn.com/t/font_2996579_dv9vctk5vdt.css><script src=//at.alicdn.com/t/font_2996579_dv9vctk5vdt.js></script><link rel=stylesheet href=//at.alicdn.com/t/c/font_3380872_hsi60jw7bi7.css><script src=//at.alicdn.com/t/c/font_3380872_hsi60jw7bi7.js></script><link href=/marketing/static/css/main.41e065845b387a85cfc7149ef6a521e8.css rel=stylesheet></head><body><div id=app><div class=el-loading-spinner style="width: 98%;"><svg viewBox="25 25 50 50" class=circular><circle cx=50 cy=50 r=20 fill=none class=path></circle></svg></div></div><script>(function() {
var src = '/component/static/import-component.js?timestrap=' + new Date().getTime();
var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'www.gicdev.com' : host;
document.write('<script src="//' + host + src + '"><\/script>');
})();</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/upload-file.1.0.10.js></script><script type=text/javascript src=/marketing/static/js/manifest.e464e222f188aba4b287.js></script><script type=text/javascript src=/marketing/static/js/vendor.56171c224a18ddaa2a5b.js></script><script type=text/javascript src=/marketing/static/js/main.ccdd3742b734cd36dd94.js></script></body></html>
\ No newline at end of file
})();</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=//web-1251519181.file.myqcloud.com/components/track.1.0.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/upload-file.1.0.10.js></script><script type=text/javascript src=/marketing/static/js/manifest.df9fefb0d04826a5e94b.js></script><script type=text/javascript src=/marketing/static/js/vendor.e0ebad0c4fec1c8f90bf.js></script><script type=text/javascript src=/marketing/static/js/main.6e48362b5cb668d37572.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([17],{8146:function(t,e){},A8XR:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),i=a("exGp"),o=a.n(i),s=a("Dd8w"),l=a.n(s),c=a("Qb7/"),u=a("Fb9P"),p=a("0xDb"),d=[{label:"上级分组",minWidth:"150",prop:"storeGroupName",formatter:function(t){return'<span class="ellipsis-l2">'+(t.storeGroupName?t.storeGroupName:"- -")+"</span>"}},{label:"营销人数",prop:"marketingNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.marketingNumber)?"- -":t.marketingNumber.toLocaleString())+"</span>"}},{label:"触达人数",prop:"reachNumber",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.reachNumber)?"- -":t.reachNumber.toLocaleString())+"</span>"}},{label:"触达率",prop:"reachRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.reachRate)?"- -":t.reachRate+"%")+"</span>"}},{label:"转化人数",prop:"conversionNumber",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.conversionNumber)?"- -":t.conversionNumber.toLocaleString())+"</span>"}},{label:"转化率",prop:"conversionRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.conversionRate)?"- -":t.conversionRate+"%")+"</span>"}},{label:"活动转化金额(实付)",prop:"actualSale",width:"180",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.actualSale)?"- -":t.actualSale.toLocaleString())+"</span>"}},{label:"客单价(元)",prop:"perCustomerTransaction",width:"160",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.perCustomerTransaction)?"- -":t.perCustomerTransaction.toLocaleString())+"</span>"}},{label:"连带率",prop:"associatedPurchaseRate",width:"120",sortable:"custom",fixed:"right"}],m={data:function(){return{numFormat:p.i,form:{search:"",storeGroupId:"",storeGroupLevel:"",orderBy:"",activityId:this.$route.params.id,pageNum:1,pageSize:20},dimension:"门店维度",selectVal:1,tableData:[],selectOptions:[{label:"第一层级",value:1},{label:"第二层级",value:2},{label:"第三层级",value:3},{label:"第四层级",value:4},{label:"第五层级",value:5}],options:{selectOptions:{allCheckText:"全部选中111",width:260,placeholder:"请选择",clearable:!0,data:[]},treeOptions:{data:[],isDefalutExpandAll:!0,nodeClickRule:{leafOnly:!0,includeHalfChecked:!1},props:{label:"storeGroupName",value:"storeGroupId",children:"children"},filter:function(t,e,a){return a.label.indexOf(t)>-1}},searchAble:!0},fixedTableData:[],total:0,cardLoading:!1,loading:!1,dialogVisible:!1,excelUrl:"",originTargetList:[[{label:"营销人数",tips:"根据每天外呼人数累加",value:"",key:"marketingNumber",type:"number"},{label:"触达人数",value:"",key:"reachNumber",type:"number"},{label:"触达率",value:"",key:"reachRate",type:"rate"}],[{label:"转化人数",value:"",key:"conversionNumber",type:"number"},{label:"转化率",tips:"",value:"",key:"conversionRate",type:"rate"}],[{label:"活动转化金额(实付)",value:"",unit:"元",key:"actualSale",type:"moneyNum"}],[{label:"客单价",value:"",key:"perCustomerTransaction",type:"moneyNum",unit:"元"},{label:"连带率",value:"",key:"associatedPurchaseRate",type:"number"}]],activityData:{},targetData:{},tableHeader:[]}},components:{TargetGroup:u.a},mounted:function(){this.getActivityDetail(),this.aiStoreTransfer(),this.aiStoreTransferStatistics()},computed:{targetList:function(){var t=this;return this.originTargetList.map(function(e){return e.filter(function(e){var a=t.targetData[e.key];switch(e.type){case"number":e.value=Object(p.i)(a);break;case"time":if(e.value="--","number"==typeof a){var r=Math.floor(a/3600),n=Math.floor(a%3600/60),i=a%60;e.value=r+":"+n+":"+i}break;case"moneyNum":e.value=Object(p.i)(a);break;case"rate":e.value=isNaN(a)?"- -":a+"%"}return!0})}).filter(function(t){return t.length>0})},exportParams:function(){var t=this.form,e=t.search,a=t.storeGroupId,r=t.storeGroupLevel,n=t.orderBy,i={};return i="分组维度"==this.dimension?1==this.selectVal?l()({},this.activityData,{storeGroupLevel:r,orderBy:n}):l()({},this.activityData,{storeGroupId:a,orderBy:n}):l()({},this.activityData,{search:e,storeGroupId:a,orderBy:n}),l()({},this.activityData,i)}},methods:{aiStoreTransfer:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,m,f;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"门店名称",width:"250",prop:"storeName",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.storeName?t.storeName:"- -")+"</span>"}},t.tableHeader=[a].concat(d),t.loading=!0,r=t.form,i=r.activityId,o=r.search,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,e.prev=4,e.next=7,Object(c.k)({activityId:i,search:o,storeGroupId:s,orderBy:p},"&pageNum="+l+"&pageSize="+u);case 7:if(m=e.sent,f=m.result){e.next=11;break}return e.abrupt("return");case 11:t.tableData=f.result||[],t.total=f.totalCount,s||o||t.aiStoreTransferNoBelong();case 14:return e.prev=14,t.loading=!1,e.finish(14);case 17:case"end":return e.stop()}},e,t,[[4,,14,17]])}))()},aiStoreTransferNoBelong:function(){var t=this;return o()(n.a.mark(function e(){var a,r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.l)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:r.numSort=0,t.tableData.unshift(r);case 9:return e.prev=9,t.loading=!1,e.finish(9);case 12:case"end":return e.stop()}},e,t,[[0,,9,12]])}))()},aiStoreTransferStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.search,o=a.storeGroupId,e.next=5,Object(c.m)({activityId:r,search:i,storeGroupId:o});case 5:if(s=e.sent,l=s.result){e.next=9;break}return e.abrupt("return");case 9:t.targetData=l;case 10:return e.prev=10,t.cardLoading=!1,e.finish(10);case 13:case"end":return e.stop()}},e,t,[[0,,10,13]])}))()},aiStoreGroupTransfer:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,m,f,b;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"分组名称",prop:"name",width:"150",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.name?t.name:"- -")+"</span>"}},t.tableHeader=[a].concat(d),t.loading=!0,r=t.form,i=r.activityId,o=r.storeGroupLevel,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,m={},m=1==t.selectVal?{activityId:i,storeGroupLevel:o,orderBy:p}:{activityId:i,storeGroupId:s,orderBy:p},e.prev=6,e.next=9,Object(c.f)(m,"&pageNum="+l+"&pageSize="+u);case 9:if(f=e.sent,b=f.result){e.next=13;break}return e.abrupt("return");case 13:t.tableData=b.result||[],t.total=b.totalCount;case 15:return e.prev=15,t.loading=!1,e.finish(15);case 18:case"end":return e.stop()}},e,t,[[6,,15,18]])}))()},aiStoreGroupTransferStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.storeGroupLevel,o=a.storeGroupId,s={},s=1==t.selectVal?{activityId:r,storeGroupLevel:i}:{activityId:r,storeGroupId:o},e.next=7,Object(c.g)(s);case 7:if(l=e.sent,u=l.result){e.next=11;break}return e.abrupt("return");case 11:t.targetData=u;case 12:return e.prev=12,t.cardLoading=!1,e.finish(12);case 15:case"end":return e.stop()}},e,t,[[0,,12,15]])}))()},aiTransformStoreGroupSplit:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.activityData,r=a.activityId,i=a.planId,e.next=3,Object(c.n)({activityId:r,planId:i});case 3:o=e.sent,t.options.treeOptions.data=o.result||[];case 5:case"end":return e.stop()}},e,t)}))()},getActivityDetail:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.u)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:i=r.startDate,o=r.endDate,s=r.activityName,l=r.activityId,u=r.activityPlanList[0].activityEventList[0].smsFlag,p=r.activityPlanList[0].planId,t.activityData={startTime:i,endTime:o,smsFlag:u,activityName:s,activityId:l,planId:p},t.aiTransformStoreGroupSplit(),e.next=16;break;case 14:e.prev=14,e.t0=e.catch(0);case 16:case"end":return e.stop()}},e,t,[[0,14]])}))()},radioChange:function(t){this.form={search:"",storeGroupId:"",storeGroupLevel:"",activityId:this.$route.params.id,pageNum:1,pageSize:20,orderBy:""},"分组维度"==t&&(this.form.storeGroupLevel=1,this.selectVal=1);try{this.$refs.selectTree.onClearSelect()}catch(t){console.log(t)}},handleSizeChange:function(t){this.form.pageSize=t,this.form.pageNum=1,this.getListData()},groupSelectChange:function(t){this.aiStoreGroupTransfer(),this.aiStoreGroupTransferStatistics()},handleSearch:function(){this.form.pageNum=1,this.getStaticListData()},getListData:function(){"门店维度"==this.dimension?this.aiStoreTransfer():"分组维度"==this.dimension&&this.aiStoreGroupTransfer()},getStaticListData:function(){"门店维度"==this.dimension?(this.aiStoreTransfer(),this.aiStoreTransferStatistics()):"分组维度"==this.dimension&&(this.aiStoreGroupTransfer(),this.aiStoreGroupTransferStatistics())},onChange:function(t){console.log(t),this.form.storeGroupId=t?t.storeGroupId:void 0,this.getStaticListData()},handleExport:function(){this.dialogVisible=!0,"门店维度"==this.dimension?this.excelUrl=c.t:"分组维度"==this.dimension&&(this.excelUrl=c.r)},handleSortChange:function(t){var e=t.prop,a=t.order;console.log(a),this.form.orderBy="descending"==a?e+" desc":"ascending"===a?e+" asc":void 0,this.form.pageNum=1,this.getListData()}}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"aiCall"},[a("div",{staticClass:"radioButton"},[a("el-radio-group",{staticClass:"customize",on:{change:t.radioChange},model:{value:t.dimension,callback:function(e){t.dimension=e},expression:"dimension"}},[a("el-radio-button",{attrs:{label:"门店维度"}}),t._v(" "),a("el-radio-button",{attrs:{label:"分组维度"}})],1),t._v(" "),a("div",{staticClass:"tips ml10"},[t._v("\n 数据每天更新一次,按营销触发时客户所在服务门店进行统计\n ")])],1),t._v(" "),a("div",{staticClass:"searchWarp"},[a("div",{directives:[{name:"show",rawName:"v-show",value:"门店维度"==t.dimension,expression:"dimension == '门店维度'"}],staticClass:"pb20 clearfix"},[a("el-input",{staticClass:"w260",attrs:{placeholder:"请输入门店名称/code",clearable:""},on:{change:t.handleSearch},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}}),t._v(" "),"门店维度"==t.dimension?a("vue-gic-select-tree",{ref:"selectTree",staticClass:"inline",attrs:{options:t.options},on:{change:t.onChange}}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiExport)?a("el-button",{staticClass:"fr",attrs:{icon:"iconfont fz14 icon-cp-xiazai","limit-code":t.$buttonCode.marketingAiExport,type:"primary",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")]):t._e()],1),t._v(" "),a("el-form",{directives:[{name:"show",rawName:"v-show",value:"分组维度"==t.dimension,expression:"dimension == '分组维度'"}],staticClass:"table-page-search-wrapper",attrs:{inline:"true",size:"small"}},[a("el-form-item",[a("el-select",{staticClass:"w100",on:{change:t.groupSelectChange},model:{value:t.selectVal,callback:function(e){t.selectVal=e},expression:"selectVal"}},[a("el-option",{attrs:{label:"分组层级",value:1}}),t._v(" "),a("el-option",{attrs:{label:"分组名称",value:2}})],1),t._v(" "),1==t.selectVal?a("el-select",{staticClass:"w260",on:{change:t.handleSearch},model:{value:t.form.storeGroupLevel,callback:function(e){t.$set(t.form,"storeGroupLevel",e)},expression:"form.storeGroupLevel"}},t._l(t.selectOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1):t._e(),t._v(" "),2==t.selectVal?a("vue-gic-select-tree",{ref:"selectTree",attrs:{options:t.options},on:{change:t.onChange}}):t._e()],1),t._v(" "),a("el-button",{staticClass:"fr",attrs:{icon:"iconfont icon-cp-xiazai",type:"primary",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")])],1)],1),t._v(" "),a("div",{staticClass:"cardContent"},[a("el-row",{directives:[{name:"loading",rawName:"v-loading",value:t.cardLoading,expression:"cardLoading"}],attrs:{gutter:20}},t._l(t.targetList,function(t,e){return a("el-col",{key:e,attrs:{span:6}},[a("target-group",{attrs:{"data-list":t}})],1)}),1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],key:t.dimension,staticStyle:{width:"100%"},attrs:{data:t.tableData},on:{"sort-change":t.handleSortChange}},[a("el-table-column",{attrs:{align:"center",prop:"date",label:"排名",width:"80px",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{"line-height":"1"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.row.numSort,expression:"scope.row.numSort"}],staticClass:"rank-icon"},[a("span",{class:e.row.numSort<4?"rank1":"rank2"},[t._v(t._s(e.row.numSort||"-"))])])])]}}])}),t._v(" "),t._l(t.tableHeader,function(e){return a("el-table-column",{key:e.prop,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter,sortable:e.sortable,fixed:e.fixed},scopedSlots:t._u([{key:"default",fn:function(r){return[e.formatter?a("span",{domProps:{innerHTML:t._s(e.formatter(r.row))}}):a("span",[t._v(t._s(r.row[e.prop]))])]}}])})})],2),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length,expression:"tableData.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.getListData,"update:currentPage":function(e){return t.$set(t.form,"pageNum",e)},"update:current-page":function(e){return t.$set(t.form,"pageNum",e)},"update:pageSize":function(e){return t.$set(t.form,"pageSize",e)},"update:page-size":function(e){return t.$set(t.form,"pageSize",e)}}}),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,type:2,excelUrl:t.excelUrl,params:t.exportParams,projectName:"marketing"},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},staticRenderFns:[]};var b=a("VU/8")(m,f,!1,function(t){a("8146")},"data-v-057d821d",null).exports,v=[{label:"上级分组",prop:"storeGroupName",minWidth:"180",formatter:function(t){return'<span class="ellipsis-l2">'+(t.storeGroupName?t.storeGroupName:"- -")+"</span>"}},{label:"营销人数",prop:"marketingNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.marketingNumber)?"- -":t.marketingNumber.toLocaleString())+"</span>"}},{label:"已外呼数",prop:"outboundNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.outboundNumber)?"- -":t.outboundNumber.toLocaleString())+"</span>"}},{label:"总接通数",prop:"totalConnectionNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.totalConnectionNumber)?"- -":t.totalConnectionNumber.toLocaleString())+"</span>"}},{label:"接通率",prop:"telephoneConnectionRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.telephoneConnectionRate)?"- -":t.telephoneConnectionRate+"%")+"</span>"}},{label:"A/B类客户意向数",prop:"customerIntentionsNumber",width:"160",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.customerIntentionsNumber)?"- -":t.customerIntentionsNumber.toLocaleString())+"</span>"}},{label:"接通意向率",prop:"connectionIntentionRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.connectionIntentionRate)?"- -":t.connectionIntentionRate+"%")+"</span>"}}],h=[{label:"短信发送总数",prop:"sentMessagesNumber",width:"160",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.sentMessagesNumber)?"- -":t.sentMessagesNumber.toLocaleString())+"</span>"}},{label:"发送成功数",prop:"sentSuccessfullyNumber",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.sentSuccessfullyNumber)?"- -":t.sentSuccessfullyNumber.toLocaleString())+"</span>"},fixed:"right"}],g={data:function(){return{numFormat:p.i,form:{search:"",storeGroupId:"",storeGroupLevel:"",orderBy:"",activityId:this.$route.params.id,pageNum:1,pageSize:20},dimension:"门店维度",selectVal:1,tableData:[],selectOptions:[{label:"第一层级",value:1},{label:"第二层级",value:2},{label:"第三层级",value:3},{label:"第四层级",value:4},{label:"第五层级",value:5}],options:{selectOptions:{allCheckText:"全部选中111",width:260,placeholder:"请选择",clearable:!0,data:[]},treeOptions:{data:[],isDefalutExpandAll:!0,nodeClickRule:{leafOnly:!0,includeHalfChecked:!1},props:{label:"storeGroupName",value:"storeGroupId",children:"children"},filter:function(t,e,a){return a.label.indexOf(t)>-1}},searchAble:!0},fixedTableData:[],total:0,loading:!1,cardLoading:!1,dialogVisible:!1,excelUrl:"",originTargetList:[[{label:"营销人数",tips:"根据每天外呼人数累加",value:"",key:"marketingNumber",type:"number"},{label:"已外呼数",value:"",key:"outboundNumber",type:"number"}],[{label:"总接通数",value:"",key:"totalConnectionNumber",type:"number"},{label:"电话接通率",tips:"电话接通率:表示任务中接通号码的占比<br/>计算公式为:接通的电话通数/已经外呼的电话通数",value:"",key:"telephoneConnectionRate",type:"rate"}],[{label:"A/B类客户意向数",value:"",key:"customerIntentionsNumber",type:"number"},{label:"接通意向率",tips:"接通意向率:表示所有已接通的通话中意向客户占比,其中A类和B类客户为意向客户<br/>计算公式为:A/B类客户意向数/已接通的电话数",value:"",key:"connectionIntentionRate",type:"rate"}],[{label:"短信发送总数",value:"",key:"sentMessagesNumber",type:"number"},{label:"发送成功数",value:"",key:"sentSuccessfullyNumber",type:"number"}]],activityData:{},targetData:{},tableHeader:[]}},components:{TargetGroup:u.a},mounted:function(){this.aiStoreOutboundStatistics(),this.getActivityDetail()},computed:{targetList:function(){var t=this;return this.originTargetList.map(function(e){return e.filter(function(e){var a=t.targetData[e.key];switch(e.type){case"number":e.value=Object(p.i)(a);break;case"time":if(e.value="--","number"==typeof a){var r=Math.floor(a/3600),n=Math.floor(a%3600/60),i=a%60;e.value=r+":"+n+":"+i}break;case"amount":e.value=Object(p.i)(a);break;case"rate":e.value=isNaN(a)?"- -":a+"%"}return!(0==t.activityData.smsFlag&&"sentMessagesNumber"==e.key||0==t.activityData.smsFlag&&"sentSuccessfullyNumber"==e.key)})}).filter(function(t){return t.length>0})},exportParams:function(){var t=this.form,e=t.search,a=t.storeGroupId,r=t.storeGroupLevel,n=t.orderBy,i={};return i="分组维度"==this.dimension?1==this.selectVal?l()({},this.activityData,{storeGroupLevel:r,orderBy:n}):l()({},this.activityData,{storeGroupId:a,orderBy:n}):l()({},this.activityData,{search:e,storeGroupId:a,orderBy:n}),l()({},this.activityData,i)}},methods:{aiStoreOutboundRank:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,d,m;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"门店名称",prop:"storeName",width:"250",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.storeName?t.storeName:"- -")+"</span>"}},t.tableHeader=[].concat(v),t.tableHeader.unshift(a),t.activityData.smsFlag&&(t.tableHeader=t.tableHeader.concat(h)),t.loading=!0,r=t.form,i=r.activityId,o=r.search,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,e.prev=6,e.next=9,Object(c.h)({activityId:i,search:o,storeGroupId:s,orderBy:p},"&pageNum="+l+"&pageSize="+u);case 9:if(d=e.sent,m=d.result){e.next=13;break}return e.abrupt("return");case 13:t.tableData=m.result||[],t.total=m.totalCount,s||o||t.aiStoreOutboundRankNoBelong();case 16:return e.prev=16,t.loading=!1,e.finish(16);case 19:case"end":return e.stop()}},e,t,[[6,,16,19]])}))()},aiStoreOutboundRankNoBelong:function(){var t=this;return o()(n.a.mark(function e(){var a,r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.i)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:r.numSort=0,t.tableData.unshift(r);case 9:return e.prev=9,t.loading=!1,e.finish(9);case 12:case"end":return e.stop()}},e,t,[[0,,9,12]])}))()},aiStoreOutboundStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.search,o=a.storeGroupId,e.next=5,Object(c.j)({activityId:r,search:i,storeGroupId:o});case 5:if(s=e.sent,l=s.result){e.next=9;break}return e.abrupt("return");case 9:t.targetData=l;case 10:return e.prev=10,t.cardLoading=!1,e.finish(10);case 13:case"end":return e.stop()}},e,t,[[0,,10,13]])}))()},aiStoreGroupOutboundRank:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,d,m,f;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"分组名称",prop:"name",width:"150",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.name?t.name:"- -")+"</span>"}},t.tableHeader=[].concat(v),t.tableHeader.unshift(a),t.activityData.smsFlag&&(t.tableHeader=t.tableHeader.concat(h)),t.loading=!0,r=t.form,i=r.activityId,o=r.storeGroupLevel,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,d={},d=1==t.selectVal?{activityId:i,storeGroupLevel:o,orderBy:p}:{activityId:i,storeGroupId:s,orderBy:p},e.prev=8,e.next=11,Object(c.d)(d,"&pageNum="+l+"&pageSize="+u);case 11:if(m=e.sent,f=m.result){e.next=15;break}return e.abrupt("return");case 15:t.tableData=f.result||[],t.total=f.totalCount;case 17:return e.prev=17,t.loading=!1,e.finish(17);case 20:case"end":return e.stop()}},e,t,[[8,,17,20]])}))()},aiStoreGroupOutboundStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.storeGroupLevel,o=a.storeGroupId,s={},s=1==t.selectVal?{activityId:r,storeGroupLevel:i}:{activityId:r,storeGroupId:o},e.next=7,Object(c.e)(s);case 7:if(l=e.sent,u=l.result){e.next=11;break}return e.abrupt("return");case 11:t.targetData=u;case 12:return e.prev=12,t.cardLoading=!1,e.finish(12);case 15:case"end":return e.stop()}},e,t,[[0,,12,15]])}))()},aiOutboundStoreGroupSplit:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.activityData,r=a.activityId,i=a.planId,e.next=3,Object(c.c)({activityId:r,planId:i});case 3:o=e.sent,t.options.treeOptions.data=o.result||[];case 5:case"end":return e.stop()}},e,t)}))()},getActivityDetail:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.u)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:i=r.startDate,o=r.endDate,s=r.activityName,l=r.activityId,u=r.activityPlanList[0].activityEventList[0].smsFlag,p=r.activityPlanList[0].planId,t.activityData={startTime:i,endTime:o,smsFlag:u,activityName:s,activityId:l,planId:p},t.aiStoreOutboundRank(),t.aiOutboundStoreGroupSplit(),e.next=17;break;case 15:e.prev=15,e.t0=e.catch(0);case 17:case"end":return e.stop()}},e,t,[[0,15]])}))()},radioChange:function(t){this.form={search:"",storeGroupId:"",storeGroupLevel:"",orderBy:"",activityId:this.$route.params.id,pageNum:1,pageSize:20},"分组维度"==t&&(this.form.storeGroupLevel=1,this.selectVal=1);try{this.$refs.selectTree.onClearSelect()}catch(t){console.log(t)}},handleSizeChange:function(t){this.form.pageSize=t,this.form.pageNum=1,this.getListData()},groupSelectChange:function(t){this.aiStoreGroupOutboundRank(),this.aiStoreGroupOutboundStatistics()},handleSearch:function(){this.form.pageNum=1,this.getStaticListData()},getListData:function(){"门店维度"==this.dimension?this.aiStoreOutboundRank():"分组维度"==this.dimension&&this.aiStoreGroupOutboundRank()},getStaticListData:function(){"门店维度"==this.dimension?(this.aiStoreOutboundRank(),this.aiStoreOutboundStatistics()):"分组维度"==this.dimension&&(this.aiStoreGroupOutboundRank(),this.aiStoreGroupOutboundStatistics())},onChange:function(t){t||this.aiOutboundStoreGroupSplit(),this.form.storeGroupId=t?t.storeGroupId:void 0,this.getStaticListData()},handleExport:function(){this.dialogVisible=!0,"门店维度"==this.dimension?this.excelUrl=c.s:"分组维度"==this.dimension&&(this.excelUrl=c.q)},handleSortChange:function(t){var e=t.prop,a=t.order;console.log(a),this.form.orderBy="descending"==a?e+" desc":"ascending"===a?e+" asc":void 0,this.form.pageNum=1,this.getListData()}}},y={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"aiCall"},[a("div",{staticClass:"radioButton"},[a("el-radio-group",{staticClass:"customize",on:{change:t.radioChange},model:{value:t.dimension,callback:function(e){t.dimension=e},expression:"dimension"}},[a("el-radio-button",{attrs:{label:"门店维度"}}),t._v(" "),a("el-radio-button",{attrs:{label:"分组维度"}})],1),t._v(" "),a("div",{staticClass:"tips ml10"},[t._v("\n 数据每天更新一次,按营销触发时客户所在服务门店进行统计\n ")])],1),t._v(" "),a("div",{staticClass:"searchWarp"},[a("div",{directives:[{name:"show",rawName:"v-show",value:"门店维度"==t.dimension,expression:"dimension == '门店维度'"}],staticClass:"pb20 clearfix"},[a("el-input",{staticClass:"w260",attrs:{placeholder:"请输入门店名称/code",clearable:""},on:{change:t.handleSearch},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}}),t._v(" "),"门店维度"==t.dimension?a("vue-gic-select-tree",{ref:"selectTree",staticClass:"inline",attrs:{options:t.options},on:{change:t.onChange}}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiExport)?a("el-button",{staticClass:"fr",attrs:{icon:"iconfont fz14 icon-cp-xiazai","limit-code":t.$buttonCode.marketingAiExport,type:"primary",size:"small",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")]):t._e()],1),t._v(" "),a("el-form",{directives:[{name:"show",rawName:"v-show",value:"分组维度"==t.dimension,expression:"dimension == '分组维度'"}],staticClass:"table-page-search-wrapper",attrs:{inline:"true",size:"small"}},[a("el-form-item",[a("el-select",{staticClass:"w100",on:{change:t.groupSelectChange},model:{value:t.selectVal,callback:function(e){t.selectVal=e},expression:"selectVal"}},[a("el-option",{attrs:{label:"分组层级",value:1}}),t._v(" "),a("el-option",{attrs:{label:"分组名称",value:2}})],1),t._v(" "),1==t.selectVal?a("el-select",{staticClass:"w260",on:{change:t.handleSearch},model:{value:t.form.storeGroupLevel,callback:function(e){t.$set(t.form,"storeGroupLevel",e)},expression:"form.storeGroupLevel"}},t._l(t.selectOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1):t._e(),t._v(" "),2==t.selectVal?a("vue-gic-select-tree",{attrs:{options:t.options},on:{change:t.onChange}}):t._e()],1),t._v(" "),a("el-button",{staticClass:"fr",attrs:{icon:"iconfont icon-cp-xiazai",type:"primary",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")])],1)],1),t._v(" "),a("div",{staticClass:"cardContent"},[a("el-row",{directives:[{name:"loading",rawName:"v-loading",value:t.cardLoading,expression:"cardLoading"}],attrs:{gutter:20}},t._l(t.targetList,function(t,e){return a("el-col",{key:e,attrs:{span:6}},[a("target-group",{attrs:{"data-list":t}})],1)}),1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],key:t.dimension,staticStyle:{width:"100%"},attrs:{data:t.tableData},on:{"sort-change":t.handleSortChange}},[a("el-table-column",{attrs:{align:"center",prop:"date",label:"排名",width:"80px",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{"line-height":"1"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.row.numSort,expression:"scope.row.numSort"}],staticClass:"rank-icon"},[a("span",{class:e.row.numSort<4?"rank1":"rank2"},[t._v(t._s(e.row.numSort||"-"))])])])]}}])}),t._v(" "),t._l(t.tableHeader,function(e){return a("el-table-column",{key:e.prop,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter,sortable:e.sortable,fixed:e.fixed},scopedSlots:t._u([{key:"default",fn:function(r){return[e.formatter?a("span",{domProps:{innerHTML:t._s(e.formatter(r.row))}}):a("span",[t._v(t._s(r.row[e.prop]))])]}}])})})],2),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length,expression:"tableData.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.getListData,"update:currentPage":function(e){return t.$set(t.form,"pageNum",e)},"update:current-page":function(e){return t.$set(t.form,"pageNum",e)},"update:pageSize":function(e){return t.$set(t.form,"pageSize",e)},"update:page-size":function(e){return t.$set(t.form,"pageSize",e)}}}),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,type:2,excelUrl:t.excelUrl,params:t.exportParams,projectName:"marketing"},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},staticRenderFns:[]};var x=a("VU/8")(g,y,!1,function(t){a("qN1A")},"data-v-1c64515d",null).exports,k=new Audio,S={name:"AiDataDetail",data:function(){return{formatDateTimeByType:p.f,showSendTime:!1,analyseFlag:!1,aiTelRecordText:"",recordVisible:!1,search:{activityId:"",search:"",pageNum:1,pageSize:20,orderBy:""},scene:"",tableData:[],total:0,loading:!1,dialogVisible:!1,excelUrl:"",params:{}}},created:function(){this.search.activityId=this.$route.params.id,this.showSendTime=1==this.$route.query.flag,this.analyseFlag=1==this.$route.query.analyseFlag,this.scene=this.$route.query.scene,this.getData()},mounted:function(){var t=this;k.addEventListener("ended",function(){k.currentTime=0,t.tableData.forEach(function(t){t.isPlay=!1}),t.tableData=t.tableData.splice(0),console.log(t.tableData)}),document.addEventListener("visibilitychange",function(){t.tableData.filter(function(t){return 1==t.isPlay}).forEach(function(t){t.isPlay=!1}),t.tableData=t.tableData.splice(0),k.pause()})},methods:{exportExcel:function(){this.params={search:this.search.search,analyseFlag:this.analyseFlag?1:0,smsFlag:this.showSendTime?1:0,activityId:this.search.activityId,orderBy:this.search.orderBy},this.dialogVisible=!0,this.excelUrl=c.p},handleRecord:function(t){this.recordVisible=!0,this.aiTelRecordText=t.aiTelRecordText},handleListen:function(t){var e=this;this.tableData.filter(function(e){return e.id!=t.id}).forEach(function(t){t.isPlay=!1});var a=t.isPlay;a=!a,k.src=t.aiTelRecordUrl,a?k.play().then(function(a){t.isPlay=!t.isPlay,e.tableData=e.tableData.splice(0)}).catch(function(t){e.$message.warning("录音链接已失效,有效期90天")}):(k.pause(),t.isPlay=!t.isPlay,this.tableData=this.tableData.splice(0))},handleSortChange:function(t){var e=t.prop,a=t.order;console.log(a),this.search.orderBy="descending"==a?e+" desc":"ascending"===a?e+" asc":void 0,this.search.pageNum=1,this.getData()},getData:function(){var t=this;this.loading=!0,Object(c.A)(this.search).then(function(e){var a=e.result||{},r=a.result,n=a.totalCount;t.total=n,t.tableData=r,t.tableData.forEach(function(t,e){t.isPlay=!1,t.id=e})}).finally(function(){t.loading=!1,k.pause()})},handleCurrentChange:function(t){this.search.pageNum=t,this.getData()},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)},formatAiStatus:function(t){return{0:"已接听",1:"拒接",2:"无法接通",3:"外呼失败",4:"空号",5:"关机",6:"占线",7:"停机",8:"未接",9:"主叫欠费",10:"呼损",11:"黑名单",12:"天盾拦截",22:"线路盲区",23:"呼出拦截",25:"无可用线路"}[t]||"--"}},destroyed:function(){k.pause()}},N={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-detail"},[t.analyseFlag?a("div",{staticClass:"page-tip"},[t._v("活动转化金额每天更新 1 次")]):t._e(),t._v(" "),a("el-input",{staticClass:"search-bar",attrs:{type:"text",placeholder:"请输入姓名/昵称/手机号/会员卡号","prefix-icon":"el-icon-search",clearable:""},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.search,callback:function(e){t.$set(t.search,"search",e)},expression:"search.search"}}),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiDetailExport)?a("el-button",{staticClass:"fr",attrs:{type:"primary",icon:"iconfont fz14 icon-cp-xiazai","limit-code":t.$buttonCode.marketingAiDetailExport,size:"small",disabled:!t.total},on:{click:t.exportExcel}},[t._v(" 查询结果导出")]):t._e(),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableData},on:{"sort-change":t.handleSortChange}},[5!=t.scene?a("el-table-column",{attrs:{label:"基本信息","min-width":"200px","show-overflow-tooltip":"",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return a("div",{staticClass:"member-info"},[r.memberImage?a("img",{staticClass:"member-logo",attrs:{src:r.memberImage,alt:""}}):a("svg",{staticClass:"member-logo",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-user-default"}})]),t._v(" "),a("div",[a("p",{staticClass:"member-name"},[r.memberNick?[t._v("\n "+t._s(r.memberNick||"--")+"\n ")]:t._e(),t._v(" "),r.memberName?a("span",{staticClass:"member-subname"},[t._v("\n "+t._s(r.memberNick?"("+r.memberName+")":r.memberName)+"\n ")]):t._e()],2),t._v(" "),r.memberMobile?a("p",{staticClass:"member-name"},[t._v(t._s(r.memberMobile))]):t._e()])])}}])}):a("el-table-column",{attrs:{label:"手机号码","min-width":"146px",prop:"memberMobile","show-overflow-tooltip":"",fixed:"left"}}),t._v(" "),5==t.scene?a("el-table-column",{attrs:{"min-width":"113px"},scopedSlots:t._u([{key:"header",fn:function(){return[t._v("\n 新会员\n "),a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",[t._v("1、是:通过本次活动开卡新会员")]),t._v(" "),a("p",[t._v("2、否:未开卡注册会员或老会员;")])]),t._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined"})])]},proxy:!0},{key:"default",fn:function(e){var r=e.row;return a("div",{staticStyle:{"line-height":"20px"}},[t._v("\n "+t._s(1==r.isNewMember?"是":"否")+"\n ")])}}])}):t._e(),t._v(" "),a("el-table-column",{attrs:{label:"会员卡号","min-width":"130px",prop:"memberCard","show-overflow-tooltip":"",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),5!=t.scene?a("el-table-column",{attrs:{label:"会员等级","min-width":"90px",prop:"memberGradeName",formatter:function(t,e,a){return a||"--"}}}):t._e(),t._v(" "),a("el-table-column",{attrs:{label:"服务门店","min-width":"190px",prop:"mainStoreName",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),a("el-table-column",{attrs:{label:"通话状态","min-width":"80px",prop:"aiThirdStatus","show-overflow-tooltip":"",formatter:function(e,a,r){return t.formatAiStatus(r)}}}),t._v(" "),a("el-table-column",{attrs:{label:"通话时长","min-width":"80px",prop:"aiDurationSec",formatter:function(t,e,a){return a>0?a+"s":"0s"}}}),t._v(" "),a("el-table-column",{attrs:{label:"意向标签","min-width":"130px",prop:"aiLabel",sortable:"custom",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),t.analyseFlag?a("el-table-column",{attrs:{label:"活动转化金额(实付)","min-width":"180px",prop:"orderPayAmount",sortable:"custom",formatter:function(t,e,a){return null==a?"--":a}}}):t._e(),t._v(" "),a("el-table-column",{attrs:{label:"外呼时间","min-width":"100px",prop:"aiTime"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return a("div",{staticStyle:{"line-height":"20px"}},[a("p",[t._v(t._s(t.formatDateTimeByType(r.aiTime,"yyyy-MM-dd")||"--"))]),t._v(" "),a("p",[t._v(t._s(t.formatDateTimeByType(r.aiTime,"HH:mm:ss")||"--"))])])}}])}),t._v(" "),t.showSendTime?a("el-table-column",{attrs:{label:"短信发送时间","min-width":"110px",prop:"smsSendTime",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return a("div",{staticStyle:{"line-height":"20px"}},[a("p",[t._v(t._s(t.formatDateTimeByType(r.smsSendTime,"yyyy-MM-dd")||"--"))]),t._v(" "),a("p",[t._v(t._s(t.formatDateTimeByType(r.smsSendTime,"HH:mm:ss")||"--"))])])}}])}):t._e(),t._v(" "),a("el-table-column",{attrs:{"min-width":"100px",fixed:"right"},scopedSlots:t._u([{key:"header",fn:function(){return[t._v("\n 通话记录\n "),a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 录音有效期90天,失效后按钮置灰\n ")]),t._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined"})])]},proxy:!0},{key:"default",fn:function(e){var r=e.row;return[a("div",{staticClass:"flex"},[a("div",{staticClass:"btnBg"},[a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 查看记录\n ")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"text",disabled:!r.aiTelRecordText},on:{click:function(e){return t.handleRecord(r)}}},[a("i",{staticClass:"iconfont fz16 icon-chakanxiangqing-copy "})])],1)],1),t._v(" "),a("div",{staticClass:"btnBg",staticStyle:{"margin-left":"12px"}},[a("el-tooltip",{attrs:{placement:"top",disabled:!r.aiTelRecordText}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n "+t._s(r.isPlay?"暂停播放":"播放录音")+"\n ")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"text",disabled:!r.aiTelRecordText||r.aiTelRecordText&&!r.aiTelRecordUrl},on:{click:function(e){return t.handleListen(r)}}},[a("i",{class:["iconfont fz16",r.isPlay?"icon-tingzhi":"icon-bofang"]})])],1)],1)])]}}])})],1),t._v(" "),a("el-dialog",{staticClass:"dialog-wrap",attrs:{title:"通话记录",visible:t.recordVisible,width:"600px"},on:{"update:visible":function(e){t.recordVisible=e}}},[a("div",{staticClass:"recordContent",domProps:{innerHTML:t._s(t.aiTelRecordText)}})]),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,type:2,excelUrl:t.excelUrl,params:t.params,projectName:t.projectName},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}}),t._v(" "),t.total>0?a("dm-pagination",{attrs:{background:"",total:t.total,"current-page":t.search.pageNum,"page-size":t.search.pageSize,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e()],1)},staticRenderFns:[]};var _={data:function(){return{activeName:"1"}},components:{aiDataActiveDetail:b,aiDataAiCall:x,aiDataDetail:a("VU/8")(S,N,!1,function(t){a("NCne")},"data-v-28198c07",null).exports},created:function(){console.log(this.$route.query.name),this.activeName=this.$route.query.name}},w={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"aiDataIndex"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"AI外呼数据",name:"1"}},["1"==t.activeName?a("aiDataAiCall"):t._e()],1),t._v(" "),1==this.$route.query.analyseFlag?a("el-tab-pane",{attrs:{label:"活动转化数据",name:"2"}},["2"==t.activeName?a("aiDataActiveDetail"):t._e()],1):t._e(),t._v(" "),a("el-tab-pane",{attrs:{label:"客户明细",name:"3"}},["3"==t.activeName?a("aiDataDetail"):t._e()],1)],1)],1)},staticRenderFns:[]};var C=a("VU/8")(_,w,!1,function(t){a("XgxB")},"data-v-5a788c36",null);e.default=C.exports},Fb9P:function(t,e,a){"use strict";var r={name:"TargetGroup",props:{dataList:{type:Array,default:function(){return[]}}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"target-group"},t._l(t.dataList,function(e,r){return a("div",{key:r,staticClass:"target",style:{width:100/t.dataList.length+"%"}},[a("div",{staticClass:"target-label"},[t._v("\n "+t._s(e.label)+"\n "),e.tips?a("el-tooltip",{attrs:{placement:"top","popper-class":"target-tooltip"}},[a("div",{staticStyle:{"max-width":"450px"},attrs:{slot:"content"},domProps:{innerHTML:t._s(e.tips)},slot:"content"}),t._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined target-label-icon"})]):t._e()],1),t._v(" "),a("div",{staticClass:"target-value"},[t._v("\n "+t._s(e.value)),e.unit?a("span",{staticClass:"target-value-unit"},[t._v(t._s(e.unit))]):t._e()])])}),0)},staticRenderFns:[]};var i=a("VU/8")(r,n,!1,function(t){a("ZPdQ")},"data-v-d9e8cd40",null);e.a=i.exports},NCne:function(t,e){},"Qb7/":function(t,e,a){"use strict";a.d(e,"M",function(){return i}),a.d(e,"L",function(){return o}),a.d(e,"N",function(){return s}),a.d(e,"T",function(){return l}),a.d(e,"b",function(){return c}),a.d(e,"J",function(){return u}),a.d(e,"P",function(){return p}),a.d(e,"O",function(){return d}),a.d(e,"u",function(){return m}),a.d(e,"S",function(){return f}),a.d(e,"R",function(){return b}),a.d(e,"K",function(){return v}),a.d(e,"D",function(){return h}),a.d(e,"C",function(){return g}),a.d(e,"A",function(){return y}),a.d(e,"v",function(){return x}),a.d(e,"H",function(){return k}),a.d(e,"a",function(){return S}),a.d(e,"F",function(){return N}),a.d(e,"B",function(){return _}),a.d(e,"x",function(){return w}),a.d(e,"y",function(){return C}),a.d(e,"z",function(){return D}),a.d(e,"E",function(){return O}),a.d(e,"G",function(){return I}),a.d(e,"w",function(){return L}),a.d(e,"h",function(){return G}),a.d(e,"i",function(){return T}),a.d(e,"j",function(){return j}),a.d(e,"s",function(){return z}),a.d(e,"d",function(){return B}),a.d(e,"e",function(){return V}),a.d(e,"q",function(){return R}),a.d(e,"k",function(){return $}),a.d(e,"l",function(){return A}),a.d(e,"m",function(){return P}),a.d(e,"t",function(){return E}),a.d(e,"f",function(){return F}),a.d(e,"g",function(){return H}),a.d(e,"r",function(){return M}),a.d(e,"c",function(){return U}),a.d(e,"n",function(){return q}),a.d(e,"p",function(){return Q}),a.d(e,"o",function(){return W}),a.d(e,"Q",function(){return X}),a.d(e,"I",function(){return J});var r=a("6Hqf"),n="api-marketing/ai/",i=function(t){return Object(r.b)(n+"page-statistics",t,!0)},o=function(t){return Object(r.b)(n+"page",t,!0)},s=function(t){return Object(r.b)("/api-marketing/recharge-center",t)},l=function(t){return Object(r.b)(n+"get-template-list",t,!0)},c=function(t){return Object(r.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},u=function(t){return Object(r.b)(n+"/init-activity",t,!0)},p=function(t){return Object(r.b)(n+"stop-activity-plan",t,!0,!1,"get")},d=function(t){return Object(r.b)(n+"start-activity-plan",t,!0,!1,"get")},m=function(t){return Object(r.b)(n+"get-activity-detail",t,!0,!1,"get")},f=function(t){return Object(r.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},b=function(t){return Object(r.b)("/api-marketing/template/query",t,!0,!1,"get")},v=function(t){return Object(r.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},h=function(t){return Object(r.b)(n+"/get-member-count",t,!0,!1,"get")},g=function(t){return Object(r.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},y=function(t){return Object(r.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},x=function(t){return Object(r.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},k=function(t){return Object(r.b)("/api-marketing/get-sms-template-echo",t,!0)},S=function(t){return Object(r.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},N=function(t){return Object(r.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},_=function(t){return Object(r.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},w=function(t){return Object(r.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},C=function(t){return Object(r.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},D=function(t){return Object(r.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},O=function(t){return Object(r.b)("/api-plug/query-member-crowd-new",t,!0)},I=function(t){return Object(r.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},L=function(t){return Object(r.b)(n+"/ai-calc-single",t,!0,!1,"get")},G=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},T=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},j=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},z="/api-marketing/statistics/export-ai-store-outbound",B=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},V=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},R="/api-marketing/statistics/export-ai-store-group-outbound",$=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},A=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},P=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},E="/api-marketing/statistics/export-ai-store-transfer",F=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},H=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},M="/api-marketing/statistics/export-ai-store-group-transfer",U=function(t){return Object(r.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},q=function(t){return Object(r.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},Q="/api-marketing/statistics/export-ai-custom-detail",W=function(t){return Object(r.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},X=function(t){return Object(r.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},J=function(t){return Object(r.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},XgxB:function(t,e){},ZPdQ:function(t,e){},qN1A:function(t,e){}});
\ No newline at end of file
webpackJsonp([17],{"0FIY":function(t,e){},A8XR:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),i=a("exGp"),o=a.n(i),s=a("Dd8w"),l=a.n(s),c=a("Qb7/"),u=a("Fb9P"),p=a("0xDb"),d=[{label:"上级分组",minWidth:"150",prop:"storeGroupName",formatter:function(t){return'<span class="ellipsis-l2">'+(t.storeGroupName?t.storeGroupName:"- -")+"</span>"}},{label:"营销人数",prop:"marketingNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.marketingNumber)?"- -":t.marketingNumber.toLocaleString())+"</span>"}},{label:"触达人数",prop:"reachNumber",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.reachNumber)?"- -":t.reachNumber.toLocaleString())+"</span>"}},{label:"触达率",prop:"reachRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.reachRate)?"- -":t.reachRate+"%")+"</span>"}},{label:"转化人数",prop:"conversionNumber",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.conversionNumber)?"- -":t.conversionNumber.toLocaleString())+"</span>"}},{label:"转化率",prop:"conversionRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.conversionRate)?"- -":t.conversionRate+"%")+"</span>"}},{label:"活动转化金额(实付)",prop:"actualSale",width:"180",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.actualSale)?"- -":t.actualSale.toLocaleString())+"</span>"}},{label:"客单价(元)",prop:"perCustomerTransaction",width:"160",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.perCustomerTransaction)?"- -":t.perCustomerTransaction.toLocaleString())+"</span>"}},{label:"连带率",prop:"associatedPurchaseRate",width:"120",sortable:"custom",fixed:"right"}],m={data:function(){return{numFormat:p.i,form:{search:"",storeGroupId:"",storeGroupLevel:"",orderBy:"",activityId:this.$route.params.id,pageNum:1,pageSize:20},dimension:"门店维度",selectVal:1,tableData:[],selectOptions:[{label:"第一层级",value:1},{label:"第二层级",value:2},{label:"第三层级",value:3},{label:"第四层级",value:4},{label:"第五层级",value:5}],options:{selectOptions:{allCheckText:"全部选中111",width:260,placeholder:"请选择",clearable:!0,data:[]},treeOptions:{data:[],isDefalutExpandAll:!0,nodeClickRule:{leafOnly:!0,includeHalfChecked:!1},props:{label:"storeGroupName",value:"storeGroupId",children:"children"},filter:function(t,e,a){return a.label.indexOf(t)>-1}},searchAble:!0},fixedTableData:[],total:0,cardLoading:!1,loading:!1,dialogVisible:!1,excelUrl:"",originTargetList:[[{label:"营销人数",tips:"根据每天外呼人数累加",value:"",key:"marketingNumber",type:"number"},{label:"触达人数",value:"",key:"reachNumber",type:"number"},{label:"触达率",value:"",key:"reachRate",type:"rate"}],[{label:"转化人数",value:"",key:"conversionNumber",type:"number"},{label:"转化率",tips:"",value:"",key:"conversionRate",type:"rate"}],[{label:"活动转化金额(实付)",value:"",unit:"元",key:"actualSale",type:"moneyNum"}],[{label:"客单价",value:"",key:"perCustomerTransaction",type:"moneyNum",unit:"元"},{label:"连带率",value:"",key:"associatedPurchaseRate",type:"number"}]],activityData:{},targetData:{},tableHeader:[]}},components:{TargetGroup:u.a},mounted:function(){this.getActivityDetail(),this.aiStoreTransfer(),this.aiStoreTransferStatistics()},computed:{targetList:function(){var t=this;return this.originTargetList.map(function(e){return e.filter(function(e){var a=t.targetData[e.key];switch(e.type){case"number":e.value=Object(p.i)(a);break;case"time":if(e.value="--","number"==typeof a){var r=Math.floor(a/3600),n=Math.floor(a%3600/60),i=a%60;e.value=r+":"+n+":"+i}break;case"moneyNum":e.value=Object(p.i)(a);break;case"rate":e.value=isNaN(a)?"- -":a+"%"}return!0})}).filter(function(t){return t.length>0})},exportParams:function(){var t=this.form,e=t.search,a=t.storeGroupId,r=t.storeGroupLevel,n=t.orderBy,i={};return i="分组维度"==this.dimension?1==this.selectVal?l()({},this.activityData,{storeGroupLevel:r,orderBy:n}):l()({},this.activityData,{storeGroupId:a,orderBy:n}):l()({},this.activityData,{search:e,storeGroupId:a,orderBy:n}),l()({},this.activityData,i)}},methods:{aiStoreTransfer:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,m,f;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"门店名称",width:"250",prop:"storeName",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.storeName?t.storeName:"- -")+"</span>"}},t.tableHeader=[a].concat(d),t.loading=!0,r=t.form,i=r.activityId,o=r.search,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,e.prev=4,e.next=7,Object(c.k)({activityId:i,search:o,storeGroupId:s,orderBy:p},"&pageNum="+l+"&pageSize="+u);case 7:if(m=e.sent,f=m.result){e.next=11;break}return e.abrupt("return");case 11:t.tableData=f.result||[],t.total=f.totalCount,s||o||t.aiStoreTransferNoBelong();case 14:return e.prev=14,t.loading=!1,e.finish(14);case 17:case"end":return e.stop()}},e,t,[[4,,14,17]])}))()},aiStoreTransferNoBelong:function(){var t=this;return o()(n.a.mark(function e(){var a,r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.l)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:r.numSort=0,t.tableData.unshift(r);case 9:return e.prev=9,t.loading=!1,e.finish(9);case 12:case"end":return e.stop()}},e,t,[[0,,9,12]])}))()},aiStoreTransferStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.search,o=a.storeGroupId,e.next=5,Object(c.m)({activityId:r,search:i,storeGroupId:o});case 5:if(s=e.sent,l=s.result){e.next=9;break}return e.abrupt("return");case 9:t.targetData=l;case 10:return e.prev=10,t.cardLoading=!1,e.finish(10);case 13:case"end":return e.stop()}},e,t,[[0,,10,13]])}))()},aiStoreGroupTransfer:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,m,f,b;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"分组名称",prop:"name",width:"150",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.name?t.name:"- -")+"</span>"}},t.tableHeader=[a].concat(d),t.loading=!0,r=t.form,i=r.activityId,o=r.storeGroupLevel,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,m={},m=1==t.selectVal?{activityId:i,storeGroupLevel:o,orderBy:p}:{activityId:i,storeGroupId:s,orderBy:p},e.prev=6,e.next=9,Object(c.f)(m,"&pageNum="+l+"&pageSize="+u);case 9:if(f=e.sent,b=f.result){e.next=13;break}return e.abrupt("return");case 13:t.tableData=b.result||[],t.total=b.totalCount;case 15:return e.prev=15,t.loading=!1,e.finish(15);case 18:case"end":return e.stop()}},e,t,[[6,,15,18]])}))()},aiStoreGroupTransferStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.storeGroupLevel,o=a.storeGroupId,s={},s=1==t.selectVal?{activityId:r,storeGroupLevel:i}:{activityId:r,storeGroupId:o},e.next=7,Object(c.g)(s);case 7:if(l=e.sent,u=l.result){e.next=11;break}return e.abrupt("return");case 11:t.targetData=u;case 12:return e.prev=12,t.cardLoading=!1,e.finish(12);case 15:case"end":return e.stop()}},e,t,[[0,,12,15]])}))()},aiTransformStoreGroupSplit:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.activityData,r=a.activityId,i=a.planId,e.next=3,Object(c.n)({activityId:r,planId:i});case 3:o=e.sent,t.options.treeOptions.data=o.result||[];case 5:case"end":return e.stop()}},e,t)}))()},getActivityDetail:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.u)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:i=r.startDate,o=r.endDate,s=r.activityName,l=r.activityId,u=r.activityPlanList[0].activityEventList[0].smsFlag,p=r.activityPlanList[0].planId,t.activityData={startTime:i,endTime:o,smsFlag:u,activityName:s,activityId:l,planId:p},t.aiTransformStoreGroupSplit(),e.next=16;break;case 14:e.prev=14,e.t0=e.catch(0);case 16:case"end":return e.stop()}},e,t,[[0,14]])}))()},radioChange:function(t){this.form={search:"",storeGroupId:"",storeGroupLevel:"",activityId:this.$route.params.id,pageNum:1,pageSize:20,orderBy:""},"分组维度"==t&&(this.form.storeGroupLevel=1,this.selectVal=1);try{this.$refs.selectTree.onClearSelect()}catch(t){console.log(t)}},handleSizeChange:function(t){this.form.pageSize=t,this.form.pageNum=1,this.getListData()},groupSelectChange:function(t){this.aiStoreGroupTransfer(),this.aiStoreGroupTransferStatistics()},handleSearch:function(){this.form.pageNum=1,this.getStaticListData()},getListData:function(){"门店维度"==this.dimension?this.aiStoreTransfer():"分组维度"==this.dimension&&this.aiStoreGroupTransfer()},getStaticListData:function(){"门店维度"==this.dimension?(this.aiStoreTransfer(),this.aiStoreTransferStatistics()):"分组维度"==this.dimension&&(this.aiStoreGroupTransfer(),this.aiStoreGroupTransferStatistics())},onChange:function(t){console.log(t),this.form.storeGroupId=t?t.storeGroupId:void 0,this.getStaticListData()},handleExport:function(){this.dialogVisible=!0,"门店维度"==this.dimension?this.excelUrl=c.t:"分组维度"==this.dimension&&(this.excelUrl=c.r)},handleSortChange:function(t){var e=t.prop,a=t.order;console.log(a),this.form.orderBy="descending"==a?e+" desc":"ascending"===a?e+" asc":void 0,this.form.pageNum=1,this.getListData()}}},f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"aiCall"},[a("div",{staticClass:"radioButton"},[a("el-radio-group",{staticClass:"customize",on:{change:t.radioChange},model:{value:t.dimension,callback:function(e){t.dimension=e},expression:"dimension"}},[a("el-radio-button",{attrs:{label:"门店维度"}}),t._v(" "),a("el-radio-button",{attrs:{label:"分组维度"}})],1),t._v(" "),a("div",{staticClass:"tips ml10"},[t._v("\n 数据每天更新一次,按营销触发时客户所在服务门店进行统计\n ")])],1),t._v(" "),a("div",{staticClass:"searchWarp"},[a("div",{directives:[{name:"show",rawName:"v-show",value:"门店维度"==t.dimension,expression:"dimension == '门店维度'"}],staticClass:"pb20 clearfix"},[a("el-input",{staticClass:"w260",attrs:{placeholder:"请输入门店名称/code",clearable:""},on:{change:t.handleSearch},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}}),t._v(" "),"门店维度"==t.dimension?a("vue-gic-select-tree",{ref:"selectTree",staticClass:"inline",attrs:{options:t.options},on:{change:t.onChange}}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiExport)?a("el-button",{staticClass:"fr",attrs:{icon:"iconfont fz14 icon-cp-xiazai","limit-code":t.$buttonCode.marketingAiExport,type:"primary",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")]):t._e()],1),t._v(" "),a("el-form",{directives:[{name:"show",rawName:"v-show",value:"分组维度"==t.dimension,expression:"dimension == '分组维度'"}],staticClass:"table-page-search-wrapper",attrs:{inline:"true",size:"small"}},[a("el-form-item",[a("el-select",{staticClass:"w100",on:{change:t.groupSelectChange},model:{value:t.selectVal,callback:function(e){t.selectVal=e},expression:"selectVal"}},[a("el-option",{attrs:{label:"分组层级",value:1}}),t._v(" "),a("el-option",{attrs:{label:"分组名称",value:2}})],1),t._v(" "),1==t.selectVal?a("el-select",{staticClass:"w260",on:{change:t.handleSearch},model:{value:t.form.storeGroupLevel,callback:function(e){t.$set(t.form,"storeGroupLevel",e)},expression:"form.storeGroupLevel"}},t._l(t.selectOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1):t._e(),t._v(" "),2==t.selectVal?a("vue-gic-select-tree",{ref:"selectTree",attrs:{options:t.options},on:{change:t.onChange}}):t._e()],1),t._v(" "),a("el-button",{staticClass:"fr",attrs:{icon:"iconfont icon-cp-xiazai",type:"primary",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")])],1)],1),t._v(" "),a("div",{staticClass:"cardContent"},[a("el-row",{directives:[{name:"loading",rawName:"v-loading",value:t.cardLoading,expression:"cardLoading"}],attrs:{gutter:20}},t._l(t.targetList,function(t,e){return a("el-col",{key:e,attrs:{span:6}},[a("target-group",{attrs:{"data-list":t}})],1)}),1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],key:t.dimension,staticStyle:{width:"100%"},attrs:{data:t.tableData},on:{"sort-change":t.handleSortChange}},[a("el-table-column",{attrs:{align:"center",prop:"date",label:"排名",width:"80px",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{"line-height":"1"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.row.numSort,expression:"scope.row.numSort"}],staticClass:"rank-icon"},[a("span",{class:e.row.numSort<4?"rank1":"rank2"},[t._v(t._s(e.row.numSort||"-"))])])])]}}])}),t._v(" "),t._l(t.tableHeader,function(e){return a("el-table-column",{key:e.prop,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter,sortable:e.sortable,fixed:e.fixed},scopedSlots:t._u([{key:"default",fn:function(r){return[e.formatter?a("span",{domProps:{innerHTML:t._s(e.formatter(r.row))}}):a("span",[t._v(t._s(r.row[e.prop]))])]}}])})})],2),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length,expression:"tableData.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.getListData,"update:currentPage":function(e){return t.$set(t.form,"pageNum",e)},"update:current-page":function(e){return t.$set(t.form,"pageNum",e)},"update:pageSize":function(e){return t.$set(t.form,"pageSize",e)},"update:page-size":function(e){return t.$set(t.form,"pageSize",e)}}}),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,type:2,excelUrl:t.excelUrl,params:t.exportParams,projectName:"marketing"},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},staticRenderFns:[]};var b=a("VU/8")(m,f,!1,function(t){a("UMBa")},"data-v-1a2f67b0",null).exports,v=[{label:"上级分组",prop:"storeGroupName",minWidth:"180",formatter:function(t){return'<span class="ellipsis-l2">'+(t.storeGroupName?t.storeGroupName:"- -")+"</span>"}},{label:"营销人数",prop:"marketingNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.marketingNumber)?"- -":t.marketingNumber.toLocaleString())+"</span>"}},{label:"已外呼数",prop:"outboundNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.outboundNumber)?"- -":t.outboundNumber.toLocaleString())+"</span>"}},{label:"总接通数",prop:"totalConnectionNumber",width:"100",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.totalConnectionNumber)?"- -":t.totalConnectionNumber.toLocaleString())+"</span>"}},{label:"接通率",prop:"telephoneConnectionRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.telephoneConnectionRate)?"- -":t.telephoneConnectionRate+"%")+"</span>"}},{label:"A/B类客户意向数",prop:"customerIntentionsNumber",width:"160",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.customerIntentionsNumber)?"- -":t.customerIntentionsNumber.toLocaleString())+"</span>"}},{label:"接通意向率",prop:"connectionIntentionRate",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.connectionIntentionRate)?"- -":t.connectionIntentionRate+"%")+"</span>"}}],h=[{label:"短信发送总数",prop:"sentMessagesNumber",width:"160",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.sentMessagesNumber)?"- -":t.sentMessagesNumber.toLocaleString())+"</span>"}},{label:"发送成功数",prop:"sentSuccessfullyNumber",width:"120",sortable:"custom",formatter:function(t){return"<span>"+(isNaN(t.sentSuccessfullyNumber)?"- -":t.sentSuccessfullyNumber.toLocaleString())+"</span>"},fixed:"right"}],g={data:function(){return{numFormat:p.i,form:{search:"",storeGroupId:"",storeGroupLevel:"",orderBy:"",activityId:this.$route.params.id,pageNum:1,pageSize:20},dimension:"门店维度",selectVal:1,tableData:[],selectOptions:[{label:"第一层级",value:1},{label:"第二层级",value:2},{label:"第三层级",value:3},{label:"第四层级",value:4},{label:"第五层级",value:5}],options:{selectOptions:{allCheckText:"全部选中111",width:260,placeholder:"请选择",clearable:!0,data:[]},treeOptions:{data:[],isDefalutExpandAll:!0,nodeClickRule:{leafOnly:!0,includeHalfChecked:!1},props:{label:"storeGroupName",value:"storeGroupId",children:"children"},filter:function(t,e,a){return a.label.indexOf(t)>-1}},searchAble:!0},fixedTableData:[],total:0,loading:!1,cardLoading:!1,dialogVisible:!1,excelUrl:"",originTargetList:[[{label:"营销人数",tips:"根据每天外呼人数累加",value:"",key:"marketingNumber",type:"number"},{label:"已外呼数",value:"",key:"outboundNumber",type:"number"}],[{label:"总接通数",value:"",key:"totalConnectionNumber",type:"number"},{label:"电话接通率",tips:"电话接通率:表示任务中接通号码的占比<br/>计算公式为:接通的电话通数/已经外呼的电话通数",value:"",key:"telephoneConnectionRate",type:"rate"}],[{label:"A/B类客户意向数",value:"",key:"customerIntentionsNumber",type:"number"},{label:"接通意向率",tips:"接通意向率:表示所有已接通的通话中意向客户占比,其中A类和B类客户为意向客户<br/>计算公式为:A/B类客户意向数/已接通的电话数",value:"",key:"connectionIntentionRate",type:"rate"}],[{label:"短信发送总数",value:"",key:"sentMessagesNumber",type:"number"},{label:"发送成功数",value:"",key:"sentSuccessfullyNumber",type:"number"}]],activityData:{},targetData:{},tableHeader:[]}},components:{TargetGroup:u.a},mounted:function(){this.aiStoreOutboundStatistics(),this.getActivityDetail()},computed:{targetList:function(){var t=this;return this.originTargetList.map(function(e){return e.filter(function(e){var a=t.targetData[e.key];switch(e.type){case"number":e.value=Object(p.i)(a);break;case"time":if(e.value="--","number"==typeof a){var r=Math.floor(a/3600),n=Math.floor(a%3600/60),i=a%60;e.value=r+":"+n+":"+i}break;case"amount":e.value=Object(p.i)(a);break;case"rate":e.value=isNaN(a)?"- -":a+"%"}return!(0==t.activityData.smsFlag&&"sentMessagesNumber"==e.key||0==t.activityData.smsFlag&&"sentSuccessfullyNumber"==e.key)})}).filter(function(t){return t.length>0})},exportParams:function(){var t=this.form,e=t.search,a=t.storeGroupId,r=t.storeGroupLevel,n=t.orderBy,i={};return i="分组维度"==this.dimension?1==this.selectVal?l()({},this.activityData,{storeGroupLevel:r,orderBy:n}):l()({},this.activityData,{storeGroupId:a,orderBy:n}):l()({},this.activityData,{search:e,storeGroupId:a,orderBy:n}),l()({},this.activityData,i)}},methods:{aiStoreOutboundRank:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,d,m;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"门店名称",prop:"storeName",width:"250",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.storeName?t.storeName:"- -")+"</span>"}},t.tableHeader=[].concat(v),t.tableHeader.unshift(a),t.activityData.smsFlag&&(t.tableHeader=t.tableHeader.concat(h)),t.loading=!0,r=t.form,i=r.activityId,o=r.search,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,e.prev=6,e.next=9,Object(c.h)({activityId:i,search:o,storeGroupId:s,orderBy:p},"&pageNum="+l+"&pageSize="+u);case 9:if(d=e.sent,m=d.result){e.next=13;break}return e.abrupt("return");case 13:t.tableData=m.result||[],t.total=m.totalCount,s||o||t.aiStoreOutboundRankNoBelong();case 16:return e.prev=16,t.loading=!1,e.finish(16);case 19:case"end":return e.stop()}},e,t,[[6,,16,19]])}))()},aiStoreOutboundRankNoBelong:function(){var t=this;return o()(n.a.mark(function e(){var a,r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.i)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:r.numSort=0,t.tableData.unshift(r);case 9:return e.prev=9,t.loading=!1,e.finish(9);case 12:case"end":return e.stop()}},e,t,[[0,,9,12]])}))()},aiStoreOutboundStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.search,o=a.storeGroupId,e.next=5,Object(c.j)({activityId:r,search:i,storeGroupId:o});case 5:if(s=e.sent,l=s.result){e.next=9;break}return e.abrupt("return");case 9:t.targetData=l;case 10:return e.prev=10,t.cardLoading=!1,e.finish(10);case 13:case"end":return e.stop()}},e,t,[[0,,10,13]])}))()},aiStoreGroupOutboundRank:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p,d,m,f;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={label:"分组名称",prop:"name",width:"150",tooltip:!0,fixed:"left",formatter:function(t){return"<span>"+(t.name?t.name:"- -")+"</span>"}},t.tableHeader=[].concat(v),t.tableHeader.unshift(a),t.activityData.smsFlag&&(t.tableHeader=t.tableHeader.concat(h)),t.loading=!0,r=t.form,i=r.activityId,o=r.storeGroupLevel,s=r.storeGroupId,l=r.pageNum,u=r.pageSize,p=r.orderBy,d={},d=1==t.selectVal?{activityId:i,storeGroupLevel:o,orderBy:p}:{activityId:i,storeGroupId:s,orderBy:p},e.prev=8,e.next=11,Object(c.d)(d,"&pageNum="+l+"&pageSize="+u);case 11:if(m=e.sent,f=m.result){e.next=15;break}return e.abrupt("return");case 15:t.tableData=f.result||[],t.total=f.totalCount;case 17:return e.prev=17,t.loading=!1,e.finish(17);case 20:case"end":return e.stop()}},e,t,[[8,,17,20]])}))()},aiStoreGroupOutboundStatistics:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.cardLoading=!0,a=t.form,r=a.activityId,i=a.storeGroupLevel,o=a.storeGroupId,s={},s=1==t.selectVal?{activityId:r,storeGroupLevel:i}:{activityId:r,storeGroupId:o},e.next=7,Object(c.e)(s);case 7:if(l=e.sent,u=l.result){e.next=11;break}return e.abrupt("return");case 11:t.targetData=u;case 12:return e.prev=12,t.cardLoading=!1,e.finish(12);case 15:case"end":return e.stop()}},e,t,[[0,,12,15]])}))()},aiOutboundStoreGroupSplit:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.activityData,r=a.activityId,i=a.planId,e.next=3,Object(c.c)({activityId:r,planId:i});case 3:o=e.sent,t.options.treeOptions.data=o.result||[];case 5:case"end":return e.stop()}},e,t)}))()},getActivityDetail:function(){var t=this;return o()(n.a.mark(function e(){var a,r,i,o,s,l,u,p;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c.u)({activityId:t.$route.params.id});case 3:if(a=e.sent,r=a.result){e.next=7;break}return e.abrupt("return");case 7:i=r.startDate,o=r.endDate,s=r.activityName,l=r.activityId,u=r.activityPlanList[0].activityEventList[0].smsFlag,p=r.activityPlanList[0].planId,t.activityData={startTime:i,endTime:o,smsFlag:u,activityName:s,activityId:l,planId:p},t.aiStoreOutboundRank(),t.aiOutboundStoreGroupSplit(),e.next=17;break;case 15:e.prev=15,e.t0=e.catch(0);case 17:case"end":return e.stop()}},e,t,[[0,15]])}))()},radioChange:function(t){this.form={search:"",storeGroupId:"",storeGroupLevel:"",orderBy:"",activityId:this.$route.params.id,pageNum:1,pageSize:20},"分组维度"==t&&(this.form.storeGroupLevel=1,this.selectVal=1);try{this.$refs.selectTree.onClearSelect()}catch(t){console.log(t)}},handleSizeChange:function(t){this.form.pageSize=t,this.form.pageNum=1,this.getListData()},groupSelectChange:function(t){this.aiStoreGroupOutboundRank(),this.aiStoreGroupOutboundStatistics()},handleSearch:function(){this.form.pageNum=1,this.getStaticListData()},getListData:function(){"门店维度"==this.dimension?this.aiStoreOutboundRank():"分组维度"==this.dimension&&this.aiStoreGroupOutboundRank()},getStaticListData:function(){"门店维度"==this.dimension?(this.aiStoreOutboundRank(),this.aiStoreOutboundStatistics()):"分组维度"==this.dimension&&(this.aiStoreGroupOutboundRank(),this.aiStoreGroupOutboundStatistics())},onChange:function(t){t||this.aiOutboundStoreGroupSplit(),this.form.storeGroupId=t?t.storeGroupId:void 0,this.getStaticListData()},handleExport:function(){this.dialogVisible=!0,"门店维度"==this.dimension?this.excelUrl=c.s:"分组维度"==this.dimension&&(this.excelUrl=c.q)},handleSortChange:function(t){var e=t.prop,a=t.order;console.log(a),this.form.orderBy="descending"==a?e+" desc":"ascending"===a?e+" asc":void 0,this.form.pageNum=1,this.getListData()}}},y={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"aiCall"},[a("div",{staticClass:"radioButton"},[a("el-radio-group",{staticClass:"customize",on:{change:t.radioChange},model:{value:t.dimension,callback:function(e){t.dimension=e},expression:"dimension"}},[a("el-radio-button",{attrs:{label:"门店维度"}}),t._v(" "),a("el-radio-button",{attrs:{label:"分组维度"}})],1),t._v(" "),a("div",{staticClass:"tips ml10"},[t._v("\n 数据每天更新一次,按营销触发时客户所在服务门店进行统计\n ")])],1),t._v(" "),a("div",{staticClass:"searchWarp"},[a("div",{directives:[{name:"show",rawName:"v-show",value:"门店维度"==t.dimension,expression:"dimension == '门店维度'"}],staticClass:"pb20 clearfix"},[a("el-input",{staticClass:"w260",attrs:{placeholder:"请输入门店名称/code",clearable:""},on:{change:t.handleSearch},model:{value:t.form.search,callback:function(e){t.$set(t.form,"search",e)},expression:"form.search"}}),t._v(" "),"门店维度"==t.dimension?a("vue-gic-select-tree",{ref:"selectTree",staticClass:"inline",attrs:{options:t.options},on:{change:t.onChange}}):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiExport)?a("el-button",{staticClass:"fr",attrs:{icon:"iconfont fz14 icon-cp-xiazai","limit-code":t.$buttonCode.marketingAiExport,type:"primary",size:"small",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")]):t._e()],1),t._v(" "),a("el-form",{directives:[{name:"show",rawName:"v-show",value:"分组维度"==t.dimension,expression:"dimension == '分组维度'"}],staticClass:"table-page-search-wrapper",attrs:{inline:"true",size:"small"}},[a("el-form-item",[a("el-select",{staticClass:"w100",on:{change:t.groupSelectChange},model:{value:t.selectVal,callback:function(e){t.selectVal=e},expression:"selectVal"}},[a("el-option",{attrs:{label:"分组层级",value:1}}),t._v(" "),a("el-option",{attrs:{label:"分组名称",value:2}})],1),t._v(" "),1==t.selectVal?a("el-select",{staticClass:"w260",on:{change:t.handleSearch},model:{value:t.form.storeGroupLevel,callback:function(e){t.$set(t.form,"storeGroupLevel",e)},expression:"form.storeGroupLevel"}},t._l(t.selectOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1):t._e(),t._v(" "),2==t.selectVal?a("vue-gic-select-tree",{attrs:{options:t.options},on:{change:t.onChange}}):t._e()],1),t._v(" "),a("el-button",{staticClass:"fr",attrs:{icon:"iconfont icon-cp-xiazai",type:"primary",disabled:!t.total},on:{click:t.handleExport}},[t._v(" 查询结果导出")])],1)],1),t._v(" "),a("div",{staticClass:"cardContent"},[a("el-row",{directives:[{name:"loading",rawName:"v-loading",value:t.cardLoading,expression:"cardLoading"}],attrs:{gutter:20}},t._l(t.targetList,function(t,e){return a("el-col",{key:e,attrs:{span:6}},[a("target-group",{attrs:{"data-list":t}})],1)}),1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],key:t.dimension,staticStyle:{width:"100%"},attrs:{data:t.tableData},on:{"sort-change":t.handleSortChange}},[a("el-table-column",{attrs:{align:"center",prop:"date",label:"排名",width:"80px",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{"line-height":"1"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.row.numSort,expression:"scope.row.numSort"}],staticClass:"rank-icon"},[a("span",{class:e.row.numSort<4?"rank1":"rank2"},[t._v(t._s(e.row.numSort||"-"))])])])]}}])}),t._v(" "),t._l(t.tableHeader,function(e){return a("el-table-column",{key:e.prop,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter,sortable:e.sortable,fixed:e.fixed},scopedSlots:t._u([{key:"default",fn:function(r){return[e.formatter?a("span",{domProps:{innerHTML:t._s(e.formatter(r.row))}}):a("span",[t._v(t._s(r.row[e.prop]))])]}}])})})],2),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length,expression:"tableData.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.getListData,"update:currentPage":function(e){return t.$set(t.form,"pageNum",e)},"update:current-page":function(e){return t.$set(t.form,"pageNum",e)},"update:pageSize":function(e){return t.$set(t.form,"pageSize",e)},"update:page-size":function(e){return t.$set(t.form,"pageSize",e)}}}),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,type:2,excelUrl:t.excelUrl,params:t.exportParams,projectName:"marketing"},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},staticRenderFns:[]};var x=a("VU/8")(g,y,!1,function(t){a("0FIY")},"data-v-4093d11a",null).exports,k=new Audio,S={name:"AiDataDetail",data:function(){return{formatDateTimeByType:p.f,showSendTime:!1,analyseFlag:!1,aiTelRecordText:"",recordVisible:!1,search:{activityId:"",search:"",pageNum:1,pageSize:20,orderBy:""},scene:"",tableData:[],total:0,loading:!1,dialogVisible:!1,excelUrl:"",params:{}}},created:function(){this.search.activityId=this.$route.params.id,this.showSendTime=1==this.$route.query.flag,this.analyseFlag=1==this.$route.query.analyseFlag,this.scene=this.$route.query.scene,this.getData()},mounted:function(){var t=this;k.addEventListener("ended",function(){k.currentTime=0,t.tableData.forEach(function(t){t.isPlay=!1}),t.tableData=t.tableData.splice(0),console.log(t.tableData)}),document.addEventListener("visibilitychange",function(){t.tableData.filter(function(t){return 1==t.isPlay}).forEach(function(t){t.isPlay=!1}),t.tableData=t.tableData.splice(0),k.pause()})},methods:{exportExcel:function(){this.params={search:this.search.search,analyseFlag:this.analyseFlag?1:0,smsFlag:this.showSendTime?1:0,activityId:this.search.activityId,orderBy:this.search.orderBy},this.dialogVisible=!0,this.excelUrl=c.p},handleRecord:function(t){this.recordVisible=!0,this.aiTelRecordText=t.aiTelRecordText},handleListen:function(t){var e=this;this.tableData.filter(function(e){return e.id!=t.id}).forEach(function(t){t.isPlay=!1});var a=t.isPlay;a=!a,k.src=t.aiTelRecordUrl,a?k.play().then(function(a){t.isPlay=!t.isPlay,e.tableData=e.tableData.splice(0)}).catch(function(t){e.$message.warning("录音链接已失效,有效期90天")}):(k.pause(),t.isPlay=!t.isPlay,this.tableData=this.tableData.splice(0))},handleSortChange:function(t){var e=t.prop,a=t.order;console.log(a),this.search.orderBy="descending"==a?e+" desc":"ascending"===a?e+" asc":void 0,this.search.pageNum=1,this.getData()},getData:function(){var t=this;this.loading=!0,Object(c.A)(this.search).then(function(e){var a=e.result||{},r=a.result,n=a.totalCount;t.total=n,t.tableData=r,t.tableData.forEach(function(t,e){t.isPlay=!1,t.id=e})}).finally(function(){t.loading=!1,k.pause()})},handleCurrentChange:function(t){this.search.pageNum=t,this.getData()},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)},formatAiStatus:function(t){return{0:"已接听",1:"拒接",2:"无法接通",3:"外呼失败",4:"空号",5:"关机",6:"占线",7:"停机",8:"未接",9:"主叫欠费",10:"呼损",11:"黑名单",12:"天盾拦截",22:"线路盲区",23:"呼出拦截",25:"无可用线路"}[t]||"--"}},destroyed:function(){k.pause()}},_={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"data-detail"},[t.analyseFlag?a("div",{staticClass:"page-tip"},[t._v("活动转化金额每天更新 1 次")]):t._e(),t._v(" "),a("el-input",{staticClass:"search-bar",attrs:{type:"text",placeholder:"请输入姓名/昵称/手机号/会员卡号","prefix-icon":"el-icon-search",clearable:""},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.search,callback:function(e){t.$set(t.search,"search",e)},expression:"search.search"}}),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiDetailExport)?a("el-button",{staticClass:"fr",attrs:{type:"primary",icon:"iconfont fz14 icon-cp-xiazai","limit-code":t.$buttonCode.marketingAiDetailExport,size:"small",disabled:!t.total},on:{click:t.exportExcel}},[t._v(" 查询结果导出")]):t._e(),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableData},on:{"sort-change":t.handleSortChange}},[5!=t.scene?a("el-table-column",{attrs:{label:"基本信息","min-width":"200px","show-overflow-tooltip":"",fixed:"left"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return a("div",{staticClass:"member-info"},[r.memberImage?a("img",{staticClass:"member-logo",attrs:{src:r.memberImage,alt:""}}):a("svg",{staticClass:"member-logo",attrs:{"aria-hidden":"true"}},[a("use",{attrs:{"xlink:href":"#icon-user-default"}})]),t._v(" "),a("div",[a("p",{staticClass:"member-name"},[r.memberNick?[t._v("\n "+t._s(r.memberNick||"--")+"\n ")]:t._e(),t._v(" "),r.memberName?a("span",{staticClass:"member-subname"},[t._v("\n "+t._s(r.memberNick?"("+r.memberName+")":r.memberName)+"\n ")]):t._e()],2),t._v(" "),r.memberMobile?a("p",{staticClass:"member-name"},[t._v(t._s(r.memberMobile))]):t._e()])])}}])}):a("el-table-column",{attrs:{label:"手机号码","min-width":"146px",prop:"memberMobile","show-overflow-tooltip":"",fixed:"left"}}),t._v(" "),5==t.scene?a("el-table-column",{attrs:{"min-width":"113px"},scopedSlots:t._u([{key:"header",fn:function(){return[t._v("\n 新会员\n "),a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",[t._v("1、是:通过本次活动开卡新会员")]),t._v(" "),a("p",[t._v("2、否:未开卡注册会员或老会员;")])]),t._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined"})])]},proxy:!0},{key:"default",fn:function(e){var r=e.row;return a("div",{staticStyle:{"line-height":"20px"}},[t._v("\n "+t._s(1==r.isNewMember?"是":"否")+"\n ")])}}])}):t._e(),t._v(" "),a("el-table-column",{attrs:{label:"会员卡号","min-width":"130px",prop:"memberCard","show-overflow-tooltip":"",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),5!=t.scene?a("el-table-column",{attrs:{label:"会员等级","min-width":"90px",prop:"memberGradeName",formatter:function(t,e,a){return a||"--"}}}):t._e(),t._v(" "),a("el-table-column",{attrs:{label:"服务门店","min-width":"190px",prop:"mainStoreName",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),a("el-table-column",{attrs:{label:"通话状态","min-width":"80px",prop:"aiThirdStatus","show-overflow-tooltip":"",formatter:function(e,a,r){return t.formatAiStatus(r)}}}),t._v(" "),a("el-table-column",{attrs:{label:"通话时长","min-width":"80px",prop:"aiDurationSec",formatter:function(t,e,a){return a>0?a+"s":"0s"}}}),t._v(" "),a("el-table-column",{attrs:{label:"意向标签","min-width":"130px",prop:"aiLabel",sortable:"custom",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),t.analyseFlag?a("el-table-column",{attrs:{label:"活动转化金额(实付)","min-width":"180px",prop:"orderPayAmount",sortable:"custom",formatter:function(t,e,a){return null==a?"--":a}}}):t._e(),t._v(" "),a("el-table-column",{attrs:{label:"外呼时间","min-width":"100px",prop:"aiTime"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return a("div",{staticStyle:{"line-height":"20px"}},[a("p",[t._v(t._s(t.formatDateTimeByType(r.aiTime,"yyyy-MM-dd")||"--"))]),t._v(" "),a("p",[t._v(t._s(t.formatDateTimeByType(r.aiTime,"HH:mm:ss")||"--"))])])}}])}),t._v(" "),t.showSendTime?a("el-table-column",{attrs:{label:"短信发送时间","min-width":"110px",prop:"smsSendTime",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return a("div",{staticStyle:{"line-height":"20px"}},[a("p",[t._v(t._s(t.formatDateTimeByType(r.smsSendTime,"yyyy-MM-dd")||"--"))]),t._v(" "),a("p",[t._v(t._s(t.formatDateTimeByType(r.smsSendTime,"HH:mm:ss")||"--"))])])}}])}):t._e(),t._v(" "),a("el-table-column",{attrs:{"min-width":"100px",fixed:"right"},scopedSlots:t._u([{key:"header",fn:function(){return[t._v("\n 通话记录\n "),a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 录音有效期90天,失效后按钮置灰\n ")]),t._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined"})])]},proxy:!0},{key:"default",fn:function(e){var r=e.row;return[a("div",{staticClass:"flex"},[a("div",{staticClass:"btnBg"},[a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 查看记录\n ")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"text",disabled:!r.aiTelRecordText},on:{click:function(e){return t.handleRecord(r)}}},[a("i",{staticClass:"iconfont fz16 icon-chakanxiangqing-copy "})])],1)],1),t._v(" "),a("div",{staticClass:"btnBg",staticStyle:{"margin-left":"12px"}},[a("el-tooltip",{attrs:{placement:"top",disabled:!r.aiTelRecordText}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n "+t._s(r.isPlay?"暂停播放":"播放录音")+"\n ")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"text",disabled:!r.aiTelRecordText||r.aiTelRecordText&&!r.aiTelRecordUrl},on:{click:function(e){return t.handleListen(r)}}},[a("i",{class:["iconfont fz16",r.isPlay?"icon-tingzhi":"icon-bofang"]})])],1)],1)])]}}])})],1),t._v(" "),a("el-dialog",{staticClass:"dialog-wrap",attrs:{title:"通话记录",visible:t.recordVisible,width:"600px"},on:{"update:visible":function(e){t.recordVisible=e}}},[a("div",{staticClass:"recordContent",domProps:{innerHTML:t._s(t.aiTelRecordText)}})]),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,type:2,excelUrl:t.excelUrl,params:t.params,projectName:t.projectName},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}}),t._v(" "),t.total>0?a("dm-pagination",{attrs:{background:"",total:t.total,"current-page":t.search.pageNum,"page-size":t.search.pageSize,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e()],1)},staticRenderFns:[]};var N={data:function(){return{activeName:"1"}},components:{aiDataActiveDetail:b,aiDataAiCall:x,aiDataDetail:a("VU/8")(S,_,!1,function(t){a("nMUw")},"data-v-6d7f29a0",null).exports},created:function(){console.log(this.$route.query.name),this.activeName=this.$route.query.name}},w={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"aiDataIndex"},[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"AI外呼数据",name:"1"}},["1"==t.activeName?a("aiDataAiCall"):t._e()],1),t._v(" "),1==this.$route.query.analyseFlag?a("el-tab-pane",{attrs:{label:"活动转化数据",name:"2"}},["2"==t.activeName?a("aiDataActiveDetail"):t._e()],1):t._e(),t._v(" "),a("el-tab-pane",{attrs:{label:"客户明细",name:"3"}},["3"==t.activeName?a("aiDataDetail"):t._e()],1)],1)],1)},staticRenderFns:[]};var C=a("VU/8")(N,w,!1,function(t){a("vPBE")},"data-v-3fc384e6",null);e.default=C.exports},Fb9P:function(t,e,a){"use strict";var r={name:"TargetGroup",props:{dataList:{type:Array,default:function(){return[]}}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"target-group"},t._l(t.dataList,function(e,r){return a("div",{key:r,staticClass:"target",style:{width:100/t.dataList.length+"%"}},[a("div",{staticClass:"target-label"},[t._v("\n "+t._s(e.label)+"\n "),e.tips?a("el-tooltip",{attrs:{placement:"top","popper-class":"target-tooltip"}},[a("div",{staticStyle:{"max-width":"450px"},attrs:{slot:"content"},domProps:{innerHTML:t._s(e.tips)},slot:"content"}),t._v(" "),a("i",{staticClass:"iconfont icon-QuestionCircleOutlined target-label-icon"})]):t._e()],1),t._v(" "),a("div",{staticClass:"target-value"},[t._v("\n "+t._s(e.value)),e.unit?a("span",{staticClass:"target-value-unit"},[t._v(t._s(e.unit))]):t._e()])])}),0)},staticRenderFns:[]};var i=a("VU/8")(r,n,!1,function(t){a("NxQ3")},"data-v-1a7ed2fd",null);e.a=i.exports},NxQ3:function(t,e){},"Qb7/":function(t,e,a){"use strict";a.d(e,"M",function(){return i}),a.d(e,"L",function(){return o}),a.d(e,"N",function(){return s}),a.d(e,"T",function(){return l}),a.d(e,"b",function(){return c}),a.d(e,"J",function(){return u}),a.d(e,"P",function(){return p}),a.d(e,"O",function(){return d}),a.d(e,"u",function(){return m}),a.d(e,"S",function(){return f}),a.d(e,"R",function(){return b}),a.d(e,"K",function(){return v}),a.d(e,"D",function(){return h}),a.d(e,"C",function(){return g}),a.d(e,"A",function(){return y}),a.d(e,"v",function(){return x}),a.d(e,"H",function(){return k}),a.d(e,"a",function(){return S}),a.d(e,"F",function(){return _}),a.d(e,"B",function(){return N}),a.d(e,"x",function(){return w}),a.d(e,"y",function(){return C}),a.d(e,"z",function(){return D}),a.d(e,"E",function(){return O}),a.d(e,"G",function(){return I}),a.d(e,"w",function(){return L}),a.d(e,"h",function(){return G}),a.d(e,"i",function(){return T}),a.d(e,"j",function(){return j}),a.d(e,"s",function(){return z}),a.d(e,"d",function(){return B}),a.d(e,"e",function(){return V}),a.d(e,"q",function(){return R}),a.d(e,"k",function(){return $}),a.d(e,"l",function(){return A}),a.d(e,"m",function(){return P}),a.d(e,"t",function(){return E}),a.d(e,"f",function(){return F}),a.d(e,"g",function(){return M}),a.d(e,"r",function(){return H}),a.d(e,"c",function(){return U}),a.d(e,"n",function(){return q}),a.d(e,"p",function(){return Q}),a.d(e,"o",function(){return W}),a.d(e,"Q",function(){return J}),a.d(e,"I",function(){return X});var r=a("6Hqf"),n="api-marketing/ai/",i=function(t){return Object(r.b)(n+"page-statistics",t,!0)},o=function(t){return Object(r.b)(n+"page",t,!0)},s=function(t){return Object(r.b)("/api-marketing/recharge-center",t)},l=function(t){return Object(r.b)(n+"get-template-list",t,!0)},c=function(t){return Object(r.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},u=function(t){return Object(r.b)(n+"/init-activity",t,!0)},p=function(t){return Object(r.b)(n+"stop-activity-plan",t,!0,!1,"get")},d=function(t){return Object(r.b)(n+"start-activity-plan",t,!0,!1,"get")},m=function(t){return Object(r.b)(n+"get-activity-detail",t,!0,!1,"get")},f=function(t){return Object(r.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},b=function(t){return Object(r.b)("/api-marketing/template/query",t,!0,!1,"get")},v=function(t){return Object(r.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},h=function(t){return Object(r.b)(n+"/get-member-count",t,!0,!1,"get")},g=function(t){return Object(r.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},y=function(t){return Object(r.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},x=function(t){return Object(r.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},k=function(t){return Object(r.b)("/api-marketing/get-sms-template-echo",t,!0)},S=function(t){return Object(r.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},_=function(t){return Object(r.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},N=function(t){return Object(r.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},w=function(t){return Object(r.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},C=function(t){return Object(r.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},D=function(t){return Object(r.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},O=function(t){return Object(r.b)("/api-plug/query-member-crowd-new",t,!0)},I=function(t){return Object(r.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},L=function(t){return Object(r.b)(n+"/ai-calc-single",t,!0,!1,"get")},G=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},T=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},j=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},z="/api-marketing/statistics/export-ai-store-outbound",B=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},V=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},R="/api-marketing/statistics/export-ai-store-group-outbound",$=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},A=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},P=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},E="/api-marketing/statistics/export-ai-store-transfer",F=function(t,e){return Object(r.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},M=function(t){return Object(r.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},H="/api-marketing/statistics/export-ai-store-group-transfer",U=function(t){return Object(r.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},q=function(t){return Object(r.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},Q="/api-marketing/statistics/export-ai-custom-detail",W=function(t){return Object(r.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},J=function(t){return Object(r.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},X=function(t){return Object(r.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},UMBa:function(t,e){},nMUw:function(t,e){},vPBE:function(t,e){}});
\ No newline at end of file
webpackJsonp([18],{NANC:function(t,e){},"Q+a4":function(t,e,n){"use strict";e.a={data:function(){return{defaultAvatar:n("hKdl")}},filters:{sceneFilter:function(t){var e="- -";switch(t){case 1:e="客户生日";break;case 2:e="节日活动邀约";break;case 3:e="加企微好友";break;case 4:e="客户复购";break;case 5:e="开卡场景";break;case 0:e="其它场景"}return e}},methods:{filterAvatar:function(t){return t?t.replace(/^http(s)?/,"https"):this.defaultAvatar}}}},"Qb7/":function(t,e,n){"use strict";n.d(e,"M",function(){return r}),n.d(e,"L",function(){return o}),n.d(e,"N",function(){return s}),n.d(e,"T",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"J",function(){return l}),n.d(e,"P",function(){return p}),n.d(e,"O",function(){return d}),n.d(e,"u",function(){return m}),n.d(e,"S",function(){return f}),n.d(e,"R",function(){return g}),n.d(e,"K",function(){return b}),n.d(e,"D",function(){return v}),n.d(e,"C",function(){return h}),n.d(e,"A",function(){return y}),n.d(e,"v",function(){return k}),n.d(e,"H",function(){return _}),n.d(e,"a",function(){return w}),n.d(e,"F",function(){return C}),n.d(e,"B",function(){return x}),n.d(e,"x",function(){return T}),n.d(e,"y",function(){return S}),n.d(e,"z",function(){return O}),n.d(e,"E",function(){return D}),n.d(e,"G",function(){return $}),n.d(e,"w",function(){return j}),n.d(e,"h",function(){return N}),n.d(e,"i",function(){return I}),n.d(e,"j",function(){return A}),n.d(e,"s",function(){return L}),n.d(e,"d",function(){return B}),n.d(e,"e",function(){return z}),n.d(e,"q",function(){return P}),n.d(e,"k",function(){return R}),n.d(e,"l",function(){return F}),n.d(e,"m",function(){return E}),n.d(e,"t",function(){return M}),n.d(e,"f",function(){return q}),n.d(e,"g",function(){return U}),n.d(e,"r",function(){return Q}),n.d(e,"c",function(){return K}),n.d(e,"n",function(){return H}),n.d(e,"p",function(){return W}),n.d(e,"o",function(){return V}),n.d(e,"Q",function(){return G}),n.d(e,"I",function(){return J});var a=n("6Hqf"),i="api-marketing/ai/",r=function(t){return Object(a.b)(i+"page-statistics",t,!0)},o=function(t){return Object(a.b)(i+"page",t,!0)},s=function(t){return Object(a.b)("/api-marketing/recharge-center",t)},c=function(t){return Object(a.b)(i+"get-template-list",t,!0)},u=function(t){return Object(a.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},l=function(t){return Object(a.b)(i+"/init-activity",t,!0)},p=function(t){return Object(a.b)(i+"stop-activity-plan",t,!0,!1,"get")},d=function(t){return Object(a.b)(i+"start-activity-plan",t,!0,!1,"get")},m=function(t){return Object(a.b)(i+"get-activity-detail",t,!0,!1,"get")},f=function(t){return Object(a.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},g=function(t){return Object(a.b)("/api-marketing/template/query",t,!0,!1,"get")},b=function(t){return Object(a.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},v=function(t){return Object(a.b)(i+"/get-member-count",t,!0,!1,"get")},h=function(t){return Object(a.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},y=function(t){return Object(a.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},k=function(t){return Object(a.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},_=function(t){return Object(a.b)("/api-marketing/get-sms-template-echo",t,!0)},w=function(t){return Object(a.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},C=function(t){return Object(a.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},x=function(t){return Object(a.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},T=function(t){return Object(a.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},S=function(t){return Object(a.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},O=function(t){return Object(a.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},D=function(t){return Object(a.b)("/api-plug/query-member-crowd-new",t,!0)},$=function(t){return Object(a.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},j=function(t){return Object(a.b)(i+"/ai-calc-single",t,!0,!1,"get")},N=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},I=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},A=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},L="/api-marketing/statistics/export-ai-store-outbound",B=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},z=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},P="/api-marketing/statistics/export-ai-store-group-outbound",R=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},F=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},E=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},M="/api-marketing/statistics/export-ai-store-transfer",q=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},U=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},Q="/api-marketing/statistics/export-ai-store-group-transfer",K=function(t){return Object(a.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},H=function(t){return Object(a.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},W="/api-marketing/statistics/export-ai-custom-detail",V=function(t){return Object(a.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},G=function(t){return Object(a.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},J=function(t){return Object(a.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},SDQA:function(t,e){},ShL0:function(t,e){},glKb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("woOf"),i=n.n(a),r=n("Xxa5"),o=n.n(r),s=n("exGp"),c=n.n(s),u=n("Qb7/"),l=n("0xDb"),p={mixins:[n("Q+a4").a],data:function(){var t=this;return{tableData:[],formatDateTimeByType:l.f,loading:!1,form:{activityName:"",scene:"",activityPlanStatus:"",time:[(new Date).getTime()-31536e6,(new Date).getTime()],pageNum:1,pageSize:20},total:0,pickerOptions:{disabledDate:function(t){return t.getTime()<(new Date).getTime()-31536e6||t.getTime()>(new Date).getTime()}},btnArr:[{text:"查看",props:{limitCode:this.$buttonCode.marketingAiInfo},visible:function(e){return t.$getButtonLimit(t.$buttonCode.marketingAiInfo)},handler:function(e){return t.$router.push("/ai/info/"+e.activityId)}},{text:"暂停",props:{limitCode:this.$buttonCode.marketingAiStart},visible:function(e){return 2==e.activityPlanStatus&&t.$getButtonLimit(t.$buttonCode.marketingAiStart)},handler:function(e){return t.handleSuspend(e)}},{text:"编辑",props:{limitCode:this.$buttonCode.marketingAiEdit},visible:function(e){return(1===e.activityPlanStatus||6===e.activityPlanStatus)&&t.$getButtonLimit(t.$buttonCode.marketingAiEdit)},handler:function(e){return t.editPlan(e)}},{text:"终止",props:{limitCode:this.$buttonCode.marketingAiStop},visible:function(e){return(1===e.activityPlanStatus||2==e.activityPlanStatus)&&t.$getButtonLimit(t.$buttonCode.marketingAiStop)},handler:function(e){return t.stopTask(e)}},{text:"重新开启",props:{limitCode:this.$buttonCode.marketingAiStart},visible:function(e){return(5===e.activityPlanStatus||6===e.activityPlanStatus)&&t.$getButtonLimit(t.$buttonCode.marketingAiStart)},handler:function(e){return t.rebootTask(e)}},{text:"复制",props:{limitCode:this.$buttonCode.marketingAiCopy},visible:function(){return t.$getButtonLimit(t.$buttonCode.marketingAiCopy)},handler:function(e){t.create("",e.activityId)}},{text:"提交日志",props:{limitCode:this.$buttonCode.marketingAiLog},visible:function(e){return 1===e.logFlag&&t.$getButtonLimit(t.$buttonCode.marketingAiLog)},handler:function(e){return t.$router.push({path:"/ai/logs/"+e.activityId,query:{activityName:e.activityName,startTime:e.beginDate,endTime:e.endDate}})}},{text:"数据统计",props:{limitCode:this.$buttonCode.marketingAiStatistics},visible:function(e){return 1===e.logFlag&&t.$getButtonLimit(t.$buttonCode.marketingAiStatistics)},handler:function(e){t.$router.push({path:"/ai/ai-data-report/"+e.activityId,query:{planId:e.planId,scene:e.scene}})}}],originCardContent:[{title:"客户生日",scene:"1",iconName:"icon-shengrizunxiang",content:"针对生日客户进行营销,提高会员粘性"},{title:"节日活动邀约",scene:"2",iconName:"icon-huodongyaoyue",content:"节日活动邀约,会员专享权益,提升门店营业额"},{title:"加企微好友",scene:"3",iconName:"icon-qiweihaoyou",content:"针对未添加企微好友的客户进行营销,添加企微好友"},{title:"客户复购",scene:"4",iconName:"icon-kehufugouguanli",content:"针对消费过的客户进行营销,提升核心客户数量"},{title:"开卡场景",scene:"5",iconName:"icon-kaika",content:"针对非会员营销,提升开卡率"},{title:"其它场景",scene:"0",iconName:"icon-qitachangjing",content:"自定义营销场景"}],optionScenes:[{value:1,label:"客户生日"},{value:2,label:"节日活动邀约"},{value:3,label:"加企微好友"},{value:4,label:"客户复购"},{value:0,label:"其它场景"},{value:5,label:"开卡场景"}],optionActive:[{value:1,label:"未开始"},{value:2,label:"进行中"},{value:3,label:"已终止"},{value:4,label:"已结束"},{value:5,label:"欠费暂停"},{value:6,label:"手动暂停"}],money:0,canCreate:0,statusPoint:{1:"dm-status--info",2:"dm-status--primary--flash",3:"dm-status--error",4:"dm-status--info",5:"dm-status--warning",6:"dm-status--warning"},isWhite:!1,cardContent:[]}},mounted:function(){this.getAiDictList(),this.getTableData(),this.getRechargeCenter(),this.getAiAccountCheck(),this.getAiCalcSingle()},activated:function(){this.$route.meta.refresh&&(this.form={activityName:"",scene:"",activityPlanStatus:"",time:[],pageNum:1,pageSize:20}),this.getTableData()},beforeRouteEnter:function(t,e,n){var a=e.meta,i=a.type,r=a.path,o=a.refresh;t.meta.refresh="/list"!==r||!("add"!==i||!o),n()},filters:{activePlanStatusFilter:function(t){var e="- -";switch(t){case 1:e="未开始";break;case 2:e="进行中";break;case 3:e="已终止";break;case 4:e="已结束";break;case 5:e="欠费暂停";break;case 6:e="手动暂停"}return e},yesOrnoFilter:function(t){var e="- -";switch(t){case 0:e="否";break;case 1:e="是"}return e},amount:function(t){return t?isNaN(t)?t:t.toFixed(2):"0.00"}},methods:{getAiDictList:function(){var t=this;Object(u.b)({dictType:"marketing_activity_scene"}).then(function(e){var n=(e.result||[]).map(function(t){return t.dict_code});t.cardContent=t.originCardContent.filter(function(t){return n.includes(t.scene)})})},getAiCalcSingle:function(){var t=this;return c()(o.a.mark(function e(){var n,a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.w)();case 2:if(n=e.sent,a=n.result){e.next=6;break}return e.abrupt("return");case 6:t.isWhite=a.white;case 7:case"end":return e.stop()}},e,t)}))()},create:function(t,e){var n=this;this.canCreate?e?this.$router.push("/ai/copy/"+e):this.$router.push("/ai/add/"+t):this.$confirm("当前账户已无可用余额,请充值后再"+(e?"复制":"创建")+"外呼任务","提示",{confirmButtonText:"去充值",cancelButtonText:"取消",type:"warning"}).then(function(){n.recharge()})},recharge:function(){window.open(window.location.origin+"/marketing/#/recharge/do","_blank")},getRechargeCenter:function(){var t=this;return c()(o.a.mark(function e(){var n,a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.N)();case 2:n=e.sent,a=n.result,t.money=(a.account.balance||0)/100;case 5:case"end":return e.stop()}},e,t)}))()},search:function(){this.form.pageNum=1,this.getTableData()},handleSizeChange:function(t){this.form.pageSize=t,this.form.pageNum=1,this.getTableData()},getAiAccountCheck:function(){var t=this;return c()(o.a.mark(function e(){var n,a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.a)();case 2:n=e.sent,a=n.result,console.log(a),t.canCreate=a;case 6:case"end":return e.stop()}},e,t)}))()},getTableData:function(){var t=this;return c()(o.a.mark(function e(){var n,a,r,s;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,(n=i()({},t.form)).time&&n.time.length&&(n.startTime=Object(l.f)(n.time[0],"yyyy-MM-dd"),n.endTime=Object(l.f)(n.time[1],"yyyy-MM-dd")),delete n.time,e.prev=4,e.next=7,Object(u.L)(n);case 7:if(a=e.sent,r=a.result){e.next=11;break}return e.abrupt("return");case 11:t.tableData=r.list||[],s=t.tableData.map(function(t){return t.activityId}).join(","),t.total=r.total,t.pageStatistics(s);case 15:return e.prev=15,t.loading=!1,e.finish(15);case 18:case"end":return e.stop()}},e,t,[[4,,15,18]])}))()},pageStatistics:function(t){var e=this;return c()(o.a.mark(function n(){var a,i,r;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(u.M)({ids:t});case 2:if(a=n.sent,i=a.result){n.next=6;break}return n.abrupt("return");case 6:r={},i.forEach(function(t){r[t.activityId]=t}),e.tableData.forEach(function(t){if(r[t.activityId]){var e=r[t.activityId],n=e.marketingNumber,a=e.outboundNumber,i=e.totalConnectionNumber,o=e.telephoneConnectionRate,s=e.connectionIntentionRate;t.marketingNumber=n,t.outboundNumber=a,t.totalConnectionNumber=i,t.telephoneConnectionRate=o,t.connectionIntentionRate=s}else t.marketingNumber="- -",t.outboundNumber="- -",t.totalConnectionNumber="- -",t.telephoneConnectionRate="- -",t.connectionIntentionRate="- -"}),e.tableData=e.tableData.splice(0);case 10:case"end":return n.stop()}},n,e)}))()},stopTask:function(t){var e=this;this.$confirm("任务终止后未外呼的客户将停止外呼任务,终止后不可重新启用任务,是否继续终止任务?","提示",{confirmButtonText:"终止",cancelBUttonText:"取消",type:"warning"}).then(function(){e.loading=!0,Object(u.P)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})})},handleSuspend:function(t){var e=this,n=t.planId;this.$confirm("任务正在进行中,暂停任务后,计划将暂停","确定暂停任务?",{confirmButtonText:"暂停",cancelButtonText:"取消",type:"warning"}).then(function(t){e.loading=!0,Object(u.Q)({planId:n}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})})},rebootTask:function(t){var e=this;5===t.activityPlanStatus?this.$confirm("重新开启任务后,将会对未外呼的客户进行外呼,是否确定重新开启营销活动?","提示",{confirmButtonText:"确定",cancelBUttonText:"取消",type:"warning"}).then(function(){e.loading=!0,Object(u.O)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})}):6===t.activityPlanStatus&&(this.money>t.fee||this.isWhite?this.$confirm("本次外呼预计营销人数"+t.peopleCount+"人,费用预计需要消费"+t.fee.toLocaleString()+"元,是否继续启动?","提示",{confirmButtonText:"启动",cancelButtonText:"取消",type:"warning"}).then(function(n){e.loading=!0,Object(u.o)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})}):this.money<=0?this.$confirm("本次外呼预计营销人数"+t.peopleCount+"人,费用预计需要消费"+t.fee.toLocaleString()+"元,当前账户余额不足,请充值。","当前账户余额不足",{confirmButtonText:"充值",cancelButtonText:"取消",type:"warning"}).then(function(t){e.recharge()}):this.$confirm("本次外呼预计营销人数"+t.peopleCount+"人,费用预计需要消费"+t.fee.toLocaleString()+"元,是否继续启动?","提示",{confirmButtonText:"启动",cancelButtonText:"取消",type:"warning"}).then(function(n){e.loading=!0,Object(u.o)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})}))},editPlan:function(t){6===t.activityPlanStatus?this.$router.push("/ai/edit/"+t.activityId+"?status=6"):this.$router.push("/ai/edit/"+t.activityId)}}},d={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"contain"},[n("div",{staticClass:"cardList"},t._l(t.cardContent,function(e){return n("div",{key:e.title,staticClass:"card"},[n("div",{staticClass:"cardTitle"},[n("i",{class:["iconfont",e.iconName],staticStyle:{"font-size":"20px"}}),t._v(" "),n("span",[t._v(t._s(e.title))])]),t._v(" "),n("div",{staticClass:"cardBody"},[t._v("\n "+t._s(e.content)+"\n ")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAddAi)?n("el-button",{attrs:{"limit-code":t.$buttonCode.marketingAddAi,size:"small",type:"primary"},on:{click:function(n){return t.create(e.scene)}}},[t._v("立即新建")]):t._e()],1)}),0),t._v(" "),n("div",{staticClass:"account"},[n("span",[t._v("\n 账户可用余额:"),n("span",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t._f("amount")(t.money)))])]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiRecharge)?n("el-button",{attrs:{"limit-code":t.$buttonCode.marketingAiRecharge,type:"text"},on:{click:t.recharge}},[t._v("立即充值")]):t._e()],1),t._v(" "),n("div",{staticClass:"searchWarp"},[n("el-form",{staticClass:"table-page-search-wrapper",attrs:{inline:"true",size:"small"}},[n("el-form-item",[n("el-input",{attrs:{clearable:"",placeholder:"请输入活动名称"},on:{change:t.search},model:{value:t.form.activityName,callback:function(e){t.$set(t.form,"activityName",e)},expression:"form.activityName"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),n("el-form-item",[n("el-select",{attrs:{placeholder:"全部场景",clearable:""},on:{change:t.search},model:{value:t.form.scene,callback:function(e){t.$set(t.form,"scene",e)},expression:"form.scene"}},t._l(t.optionScenes,function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),n("el-form-item",[n("el-select",{attrs:{placeholder:"全部活动状态",clearable:""},on:{change:t.search},model:{value:t.form.activityPlanStatus,callback:function(e){t.$set(t.form,"activityPlanStatus",e)},expression:"form.activityPlanStatus"}},t._l(t.optionActive,function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),n("el-form-item",[n("el-date-picker",{attrs:{clearable:!1,"picker-options":t.pickerOptions,"value-format":"timestamp",type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.search},model:{value:t.form.time,callback:function(e){t.$set(t.form,"time",e)},expression:"form.time"}})],1)],1)],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData}},[n("el-table-column",{attrs:{prop:"activityName",label:"活动名称",fixed:"left","show-overflow-tooltip":"",width:"200px"}}),t._v(" "),n("el-table-column",{attrs:{prop:"scene",label:"活动场景","show-overflow-tooltip":"",width:"120px"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t._f("sceneFilter")(n.scene))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"aiTemplateName",label:"话术名称","show-overflow-tooltip":"",width:"180px"}}),t._v(" "),n("el-table-column",{attrs:{prop:"seatSum",label:"坐席数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"smsFlag",label:"挂机短信","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t._f("yesOrnoFilter")(n.smsFlag))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"recallFlag",label:"自动重拨","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t._f("yesOrnoFilter")(n.recallFlag))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"activityPlanStatus",width:"120",label:"活动状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",{class:t.statusPoint[a.activityPlanStatus]}),t._v(" "+t._s(t._f("activePlanStatusFilter")(a.activityPlanStatus))+" ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"marketingNumber",label:"营销人数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"outboundNumber",label:"已外呼数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"totalConnectionNumber",label:"总接通数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"telephoneConnectionRate",label:"接通率","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"connectionIntentionRate",label:"接通意向率","show-overflow-tooltip":"",width:"120"}}),t._v(" "),n("el-table-column",{attrs:{prop:"beginDate",label:"外呼周期","show-overflow-tooltip":"",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("p",{staticClass:"cell-time"},[t._v("\n "+t._s(t.formatDateTimeByType(a.beginDate,"yyyy-MM-dd"))),n("br"),t._v("\n "+t._s(t.formatDateTimeByType(a.endDate,"yyyy-MM-dd"))+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"creatorName",label:"创建人","show-overflow-tooltip":"",width:"120"}}),t._v(" "),n("el-table-column",{attrs:{prop:"createTime",label:"创建时间","show-overflow-tooltip":"",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t.formatDateTimeByType(n.createTime))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作",fixed:"right",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("dm-dropdown",{ref:"drop",attrs:{"scope-data":a,configs:t.btnArr},on:{command:t.onCommand}})]}}])})],1),t._v(" "),n("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length,expression:"tableData.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.getTableData,"update:currentPage":function(e){return t.$set(t.form,"pageNum",e)},"update:current-page":function(e){return t.$set(t.form,"pageNum",e)},"update:pageSize":function(e){return t.$set(t.form,"pageSize",e)},"update:page-size":function(e){return t.$set(t.form,"pageSize",e)}}})],1)},staticRenderFns:[]};var m=n("VU/8")(p,d,!1,function(t){n("NANC")},"data-v-77019905",null).exports,f=n("Gu7T"),g=n.n(f),b={name:"Message",data:function(){return{formatDateTimeByType:l.f,tempList:[],total:0,search:{nameAndId:"",brandNames:"",status:5,commonFlag:"",pageNum:1,pageSize:20},statusList:[{label:"待发布",value:0},{label:"待审核",value:1},{label:"待录音",value:2},{label:"待上线",value:3},{label:"审核不通过",value:4},{label:"已上线",value:5}],tempDetail:{show:!1,aiTemplateId:"",tempData:[]}}},filters:{formatStatus:function(t,e){var n=[{label:"三方删除",value:-1}].concat(g()(e)).find(function(e){return e.value==t});return n?n.label:"--"},formatNodeType:function(t){return["普通节点","跳转节点","IVR节点","数据采集节点","条件判断节点"][t]||"--"}},created:function(){this.getTempList()},methods:{getTempList:function(){var t=this;Object(u.S)(this.search).then(function(e){var n=e.result||{},a=n.list,i=n.pageNum,r=n.total,o=document.createElement("span");o.style.opacity=0,o.style.visibility="hidden",document.body.appendChild(o),t.tempList=a.map(function(t){return o.innerHTML=t.name,t.overflow=o.offsetWidth>225,t}),document.body.removeChild(o),t.search.pageNum=i,t.total=r})},getTempDetail:function(){var t=this;Object(u.R)({aiTemplateId:this.tempDetail.aiTemplateId}).then(function(e){t.tempDetail.tempData=e.result.list})},onSearch:function(){this.handleCurrentChange(1)},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)},handleCurrentChange:function(t){this.search.pageNum=t,this.getTempList()},showTempDetail:function(t){this.tempDetail.show=!0,this.tempDetail.aiTemplateId=t.aiTemplateId,this.getTempDetail()},onClosed:function(){this.tempDetail.aiTemplateId="",this.tempDetail.tempData=[]},onPlay:function(t,e){var n=this,a=function(){n.$message.error("资源错误"),i(n)},i=function e(){n.$set(t,"playing",!1),r.removeEventListener("error",a),r.removeEventListener("ended",e)};this.tempDetail.tempData.forEach(function(t){Array.isArray(t.decisionItemRecordDTOList)&&t.decisionItemRecordDTOList.forEach(function(e){if(e.playing){var a=document.getElementById("player-"+t.decisionId+"-"+e.id);a.pause(),a.currentTime=0,n.$set(e,"playing",!1)}})}),this.$set(t,"playing",!0);var r=document.getElementById(e);r.addEventListener("error",a),r.addEventListener("ended",i),r.play().catch(a)}}},v={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message"},[n("div",{staticClass:"search-bar"},[n("el-input",{staticStyle:{width:"260px"},attrs:{type:"text",placeholder:"请输入话术名称/ID","prefix-icon":"el-icon-search",clearable:""},on:{change:t.onSearch},model:{value:t.search.nameAndId,callback:function(e){t.$set(t.search,"nameAndId",e)},expression:"search.nameAndId"}}),t._v(" "),n("el-alert",{staticStyle:{"margin-left":"10px",width:"264px"},attrs:{title:"若需要增加话术,请联系运营经理","show-icon":"",closable:!1}})],1),t._v(" "),n("div",{staticClass:"temp-list"},t._l(t.tempList,function(e){return n("div",{key:e.aiTemplateId,staticClass:"temp-item"},[n("div",{staticClass:"temp-title"},[e.overflow?n("el-tooltip",{attrs:{placement:"top"}},[n("p",{staticStyle:{"max-width":"400px"},attrs:{slot:"content"},slot:"content"},[t._v(t._s(e.name))]),t._v(" "),n("span",{staticClass:"temp-title-text"},[t._v(t._s(e.name))])]):n("span",{staticClass:"temp-title-text"},[t._v(t._s(e.name))])],1),t._v(" "),n("div",{staticClass:"temp-info"},[n("p",{staticClass:"temp-info-text"},[t._v("话术ID:"+t._s(e.thirdTemplateId))]),t._v(" "),n("p",{staticClass:"temp-info-text"},[t._v("发布时间:"+t._s(t.formatDateTimeByType(e.publishTime)||"--"))]),t._v(" "),n("el-button",{staticClass:"temp-check-btn",attrs:{type:"text"},on:{click:function(n){return t.showTempDetail(e)}}},[t._v("查看")])],1)])}),0),t._v(" "),t.total>0?n("dm-pagination",{attrs:{background:"",total:t.total,"current-page":t.search.pageNum,"page-size":t.search.pageSize,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e(),t._v(" "),0==t.tempList.length?n("div",{staticClass:"no-data"},[n("svg",{attrs:{"aria-hidden":"true",width:"100",height:"100"}},[n("use",{attrs:{"xlink:href":"#icon-zanwuhuashu"}})]),t._v(" "),n("div",{staticClass:"no-data-text"},[t._v("还未创建话术,请联系运营经理创建话术")])]):t._e(),t._v(" "),n("el-dialog",{attrs:{visible:t.tempDetail.show,"custom-class":"temp-detail",width:"760px",title:"查看话术"},on:{"update:visible":function(e){return t.$set(t.tempDetail,"show",e)},closed:t.onClosed}},[Array.isArray(t.tempDetail.tempData)&&0!=t.tempDetail.tempData.length?n("div",{staticClass:"temp-detail-list"},t._l(t.tempDetail.tempData,function(e){return n("div",{key:e.decisionId,staticClass:"temp-detail-item"},[n("div",{staticClass:"temp-detail-content"},[n("div",{staticClass:"temp-detail-title"},[t._v(t._s(t._f("formatNodeType")(e.decisionNodeType)))]),t._v(" "),Array.isArray(e.decisionItemRecordDTOList)&&0!=e.decisionItemRecordDTOList.length?t._l(e.decisionItemRecordDTOList,function(a){return n("div",{key:a.id,staticClass:"sound-record"},[n("div",{staticClass:"temp-detail-desc"},[t._v(t._s(a.knowledge||"--"))]),t._v(" "),a.realKnowledgeOssUrl||a.ttsKnowledgeOssUrl?[n("el-button",{attrs:{type:"text",loading:a.playing},on:{click:function(n){return t.onPlay(a,"player-"+e.decisionId+"-"+a.id)}}},[t._v(t._s(a.playing?"播放中...":"播放"))]),t._v(" "),n("audio",{attrs:{id:"player-"+e.decisionId+"-"+a.id,src:a.realKnowledgeOssUrl||a.ttsKnowledgeOssUrl}})]:t._e()],2)}):n("div",{staticClass:"no-temp-data"},[t._v("暂无录音")])],2)])}),0):n("div",{staticClass:"no-temp-data"},[n("svg",{staticClass:"no-temp-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-zanwuhuashu"}})]),t._v("\n 暂无话术内容\n ")])])],1)},staticRenderFns:[]};var h={data:function(){return{activeName:"first"}},components:{task:m,manage:n("VU/8")(b,v,!1,function(t){n("SDQA"),n("ShL0")},"data-v-5155c6ba",null).exports},watch:{}},y={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aiList"},[n("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"外呼任务",name:"first"}},[n("task")],1),t._v(" "),n("el-tab-pane",{attrs:{label:"话术管理",name:"second"}},[n("manage")],1)],1)],1)},staticRenderFns:[]};var k=n("VU/8")(h,y,!1,function(t){n("yHFa")},"data-v-700e336d",null);e.default=k.exports},yHFa:function(t,e){}});
\ No newline at end of file
webpackJsonp([18],{"6JF7":function(t,e){},"Q+a4":function(t,e,n){"use strict";e.a={data:function(){return{defaultAvatar:n("hKdl")}},filters:{sceneFilter:function(t){var e="- -";switch(t){case 1:e="客户生日";break;case 2:e="节日活动邀约";break;case 3:e="加企微好友";break;case 4:e="客户复购";break;case 5:e="开卡场景";break;case 0:e="其它场景"}return e}},methods:{filterAvatar:function(t){return t?t.replace(/^http(s)?/,"https"):this.defaultAvatar}}}},"Qb7/":function(t,e,n){"use strict";n.d(e,"M",function(){return r}),n.d(e,"L",function(){return o}),n.d(e,"N",function(){return s}),n.d(e,"T",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"J",function(){return l}),n.d(e,"P",function(){return p}),n.d(e,"O",function(){return d}),n.d(e,"u",function(){return m}),n.d(e,"S",function(){return f}),n.d(e,"R",function(){return g}),n.d(e,"K",function(){return b}),n.d(e,"D",function(){return v}),n.d(e,"C",function(){return h}),n.d(e,"A",function(){return y}),n.d(e,"v",function(){return k}),n.d(e,"H",function(){return _}),n.d(e,"a",function(){return w}),n.d(e,"F",function(){return C}),n.d(e,"B",function(){return x}),n.d(e,"x",function(){return T}),n.d(e,"y",function(){return O}),n.d(e,"z",function(){return S}),n.d(e,"E",function(){return D}),n.d(e,"G",function(){return $}),n.d(e,"w",function(){return j}),n.d(e,"h",function(){return I}),n.d(e,"i",function(){return N}),n.d(e,"j",function(){return A}),n.d(e,"s",function(){return L}),n.d(e,"d",function(){return B}),n.d(e,"e",function(){return z}),n.d(e,"q",function(){return P}),n.d(e,"k",function(){return R}),n.d(e,"l",function(){return F}),n.d(e,"m",function(){return E}),n.d(e,"t",function(){return M}),n.d(e,"f",function(){return U}),n.d(e,"g",function(){return q}),n.d(e,"r",function(){return K}),n.d(e,"c",function(){return Q}),n.d(e,"n",function(){return W}),n.d(e,"p",function(){return J}),n.d(e,"o",function(){return V}),n.d(e,"Q",function(){return G}),n.d(e,"I",function(){return H});var a=n("6Hqf"),i="api-marketing/ai/",r=function(t){return Object(a.b)(i+"page-statistics",t,!0)},o=function(t){return Object(a.b)(i+"page",t,!0)},s=function(t){return Object(a.b)("/api-marketing/recharge-center",t)},c=function(t){return Object(a.b)(i+"get-template-list",t,!0)},u=function(t){return Object(a.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},l=function(t){return Object(a.b)(i+"/init-activity",t,!0)},p=function(t){return Object(a.b)(i+"stop-activity-plan",t,!0,!1,"get")},d=function(t){return Object(a.b)(i+"start-activity-plan",t,!0,!1,"get")},m=function(t){return Object(a.b)(i+"get-activity-detail",t,!0,!1,"get")},f=function(t){return Object(a.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},g=function(t){return Object(a.b)("/api-marketing/template/query",t,!0,!1,"get")},b=function(t){return Object(a.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},v=function(t){return Object(a.b)(i+"/get-member-count",t,!0,!1,"get")},h=function(t){return Object(a.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},y=function(t){return Object(a.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},k=function(t){return Object(a.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},_=function(t){return Object(a.b)("/api-marketing/get-sms-template-echo",t,!0)},w=function(t){return Object(a.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},C=function(t){return Object(a.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},x=function(t){return Object(a.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},T=function(t){return Object(a.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},O=function(t){return Object(a.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},S=function(t){return Object(a.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},D=function(t){return Object(a.b)("/api-plug/query-member-crowd-new",t,!0)},$=function(t){return Object(a.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},j=function(t){return Object(a.b)(i+"/ai-calc-single",t,!0,!1,"get")},I=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},N=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},A=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},L="/api-marketing/statistics/export-ai-store-outbound",B=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},z=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},P="/api-marketing/statistics/export-ai-store-group-outbound",R=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},F=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},E=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},M="/api-marketing/statistics/export-ai-store-transfer",U=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},q=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},K="/api-marketing/statistics/export-ai-store-group-transfer",Q=function(t){return Object(a.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},W=function(t){return Object(a.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},J="/api-marketing/statistics/export-ai-custom-detail",V=function(t){return Object(a.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},G=function(t){return Object(a.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},H=function(t){return Object(a.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},Trbz:function(t,e){},UkKf:function(t,e){},glKb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("woOf"),i=n.n(a),r=n("Xxa5"),o=n.n(r),s=n("exGp"),c=n.n(s),u=n("Qb7/"),l=n("0xDb"),p={mixins:[n("Q+a4").a],data:function(){var t=this;return{tableData:[],formatDateTimeByType:l.f,loading:!1,form:{activityName:"",scene:"",activityPlanStatus:"",time:[(new Date).getTime()-31536e6,(new Date).getTime()],pageNum:1,pageSize:20},total:0,pickerOptions:{disabledDate:function(t){return t.getTime()<(new Date).getTime()-31536e6||t.getTime()>(new Date).getTime()}},btnArr:[{text:"查看",props:{limitCode:this.$buttonCode.marketingAiInfo},visible:function(e){return t.$getButtonLimit(t.$buttonCode.marketingAiInfo)},handler:function(e){return t.$router.push("/ai/info/"+e.activityId)}},{text:"暂停",props:{limitCode:this.$buttonCode.marketingAiStart},visible:function(e){return 2==e.activityPlanStatus&&t.$getButtonLimit(t.$buttonCode.marketingAiStart)},handler:function(e){return t.handleSuspend(e)}},{text:"编辑",props:{limitCode:this.$buttonCode.marketingAiEdit},visible:function(e){return(1===e.activityPlanStatus||6===e.activityPlanStatus)&&t.$getButtonLimit(t.$buttonCode.marketingAiEdit)},handler:function(e){return t.editPlan(e)}},{text:"终止",props:{limitCode:this.$buttonCode.marketingAiStop},visible:function(e){return(1===e.activityPlanStatus||2==e.activityPlanStatus)&&t.$getButtonLimit(t.$buttonCode.marketingAiStop)},handler:function(e){return t.stopTask(e)}},{text:"重新开启",props:{limitCode:this.$buttonCode.marketingAiStart},visible:function(e){return(5===e.activityPlanStatus||6===e.activityPlanStatus)&&t.$getButtonLimit(t.$buttonCode.marketingAiStart)},handler:function(e){return t.rebootTask(e)}},{text:"复制",props:{limitCode:this.$buttonCode.marketingAiCopy},visible:function(){return t.$getButtonLimit(t.$buttonCode.marketingAiCopy)},handler:function(e){t.create("",e.activityId)}},{text:"提交日志",props:{limitCode:this.$buttonCode.marketingAiLog},visible:function(e){return 1===e.logFlag&&t.$getButtonLimit(t.$buttonCode.marketingAiLog)},handler:function(e){return t.$router.push({path:"/ai/logs/"+e.activityId,query:{activityName:e.activityName,startTime:e.beginDate,endTime:e.endDate}})}},{text:"数据统计",props:{limitCode:this.$buttonCode.marketingAiStatistics},visible:function(e){return 1===e.logFlag&&t.$getButtonLimit(t.$buttonCode.marketingAiStatistics)},handler:function(e){t.$router.push({path:"/ai/ai-data-report/"+e.activityId,query:{planId:e.planId,scene:e.scene}})}}],originCardContent:[{title:"客户生日",scene:"1",iconName:"icon-shengrizunxiang",content:"针对生日客户进行营销,提高会员粘性"},{title:"节日活动邀约",scene:"2",iconName:"icon-huodongyaoyue",content:"节日活动邀约,会员专享权益,提升门店营业额"},{title:"加企微好友",scene:"3",iconName:"icon-qiweihaoyou",content:"针对未添加企微好友的客户进行营销,添加企微好友"},{title:"客户复购",scene:"4",iconName:"icon-kehufugouguanli",content:"针对消费过的客户进行营销,提升核心客户数量"},{title:"开卡场景",scene:"5",iconName:"icon-kaika",content:"针对非会员营销,提升开卡率"},{title:"其它场景",scene:"0",iconName:"icon-qitachangjing",content:"自定义营销场景"}],optionScenes:[{value:1,label:"客户生日"},{value:2,label:"节日活动邀约"},{value:3,label:"加企微好友"},{value:4,label:"客户复购"},{value:0,label:"其它场景"},{value:5,label:"开卡场景"}],optionActive:[{value:1,label:"未开始"},{value:2,label:"进行中"},{value:3,label:"已终止"},{value:4,label:"已结束"},{value:5,label:"欠费暂停"},{value:6,label:"手动暂停"}],money:0,canCreate:0,statusPoint:{1:"dm-status--info",2:"dm-status--primary--flash",3:"dm-status--error",4:"dm-status--info",5:"dm-status--warning",6:"dm-status--warning"},isWhite:!1,cardContent:[]}},mounted:function(){this.getAiDictList(),this.getTableData(),this.getRechargeCenter(),this.getAiAccountCheck(),this.getAiCalcSingle()},activated:function(){this.$route.meta.refresh&&(this.form={activityName:"",scene:"",activityPlanStatus:"",time:[],pageNum:1,pageSize:20}),this.getTableData()},beforeRouteEnter:function(t,e,n){var a=e.meta,i=a.type,r=a.path,o=a.refresh;t.meta.refresh="/list"!==r||!("add"!==i||!o),n()},filters:{activePlanStatusFilter:function(t){var e="- -";switch(t){case 1:e="未开始";break;case 2:e="进行中";break;case 3:e="已终止";break;case 4:e="已结束";break;case 5:e="欠费暂停";break;case 6:e="手动暂停"}return e},yesOrnoFilter:function(t){var e="- -";switch(t){case 0:e="否";break;case 1:e="是"}return e},amount:function(t){return t?isNaN(t)?t:t.toFixed(2):"0.00"}},methods:{getAiDictList:function(){var t=this;Object(u.b)({dictType:"marketing_activity_scene"}).then(function(e){var n=(e.result||[]).map(function(t){return t.dict_code});t.cardContent=t.originCardContent.filter(function(t){return n.includes(t.scene)})})},getAiCalcSingle:function(){var t=this;return c()(o.a.mark(function e(){var n,a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.w)();case 2:if(n=e.sent,a=n.result){e.next=6;break}return e.abrupt("return");case 6:t.isWhite=a.white;case 7:case"end":return e.stop()}},e,t)}))()},create:function(t,e){var n=this;this.canCreate?e?this.$router.push("/ai/copy/"+e):this.$router.push("/ai/add/"+t):this.$confirm("当前账户已无可用余额,请充值后再"+(e?"复制":"创建")+"外呼任务","提示",{confirmButtonText:"去充值",cancelButtonText:"取消",type:"warning"}).then(function(){n.recharge()})},recharge:function(){window.open(window.location.origin+"/marketing/#/recharge/do","_blank")},getRechargeCenter:function(){var t=this;return c()(o.a.mark(function e(){var n,a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.N)();case 2:n=e.sent,a=n.result,t.money=(a.account.balance||0)/100;case 5:case"end":return e.stop()}},e,t)}))()},search:function(){this.form.pageNum=1,this.getTableData()},handleSizeChange:function(t){this.form.pageSize=t,this.form.pageNum=1,this.getTableData()},getAiAccountCheck:function(){var t=this;return c()(o.a.mark(function e(){var n,a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.a)();case 2:n=e.sent,a=n.result,console.log(a),t.canCreate=a;case 6:case"end":return e.stop()}},e,t)}))()},getTableData:function(){var t=this;return c()(o.a.mark(function e(){var n,a,r,s;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,(n=i()({},t.form)).time&&n.time.length&&(n.startTime=Object(l.f)(n.time[0],"yyyy-MM-dd"),n.endTime=Object(l.f)(n.time[1],"yyyy-MM-dd")),delete n.time,e.prev=4,e.next=7,Object(u.L)(n);case 7:if(a=e.sent,r=a.result){e.next=11;break}return e.abrupt("return");case 11:t.tableData=r.list||[],s=t.tableData.map(function(t){return t.activityId}).join(","),t.total=r.total,t.pageStatistics(s);case 15:return e.prev=15,t.loading=!1,e.finish(15);case 18:case"end":return e.stop()}},e,t,[[4,,15,18]])}))()},pageStatistics:function(t){var e=this;return c()(o.a.mark(function n(){var a,i,r;return o.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(u.M)({ids:t});case 2:if(a=n.sent,i=a.result){n.next=6;break}return n.abrupt("return");case 6:r={},i.forEach(function(t){r[t.activityId]=t}),e.tableData.forEach(function(t){if(r[t.activityId]){var e=r[t.activityId],n=e.marketingNumber,a=e.outboundNumber,i=e.totalConnectionNumber,o=e.telephoneConnectionRate,s=e.connectionIntentionRate;t.marketingNumber=n,t.outboundNumber=a,t.totalConnectionNumber=i,t.telephoneConnectionRate=o,t.connectionIntentionRate=s}else t.marketingNumber="- -",t.outboundNumber="- -",t.totalConnectionNumber="- -",t.telephoneConnectionRate="- -",t.connectionIntentionRate="- -"}),e.tableData=e.tableData.splice(0);case 10:case"end":return n.stop()}},n,e)}))()},stopTask:function(t){var e=this;this.$confirm("任务终止后未外呼的客户将停止外呼任务,终止后不可重新启用任务,是否继续终止任务?","提示",{confirmButtonText:"终止",cancelBUttonText:"取消",type:"warning"}).then(function(){e.loading=!0,Object(u.P)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})})},handleSuspend:function(t){var e=this,n=t.planId;this.$confirm("任务正在进行中,暂停任务后,计划将暂停","确定暂停任务?",{confirmButtonText:"暂停",cancelButtonText:"取消",type:"warning"}).then(function(t){e.loading=!0,Object(u.Q)({planId:n}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})})},rebootTask:function(t){var e=this;5===t.activityPlanStatus?this.$confirm("重新开启任务后,将会对未外呼的客户进行外呼,是否确定重新开启营销活动?","提示",{confirmButtonText:"确定",cancelBUttonText:"取消",type:"warning"}).then(function(){e.loading=!0,Object(u.O)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})}):6===t.activityPlanStatus&&(this.money>t.fee||this.isWhite?this.$confirm("本次外呼预计营销人数"+t.peopleCount+"人,费用预计需要消费"+t.fee.toLocaleString()+"元,是否继续启动?","提示",{confirmButtonText:"启动",cancelButtonText:"取消",type:"warning"}).then(function(n){e.loading=!0,Object(u.o)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})}):this.money<=0?this.$confirm("本次外呼预计营销人数"+t.peopleCount+"人,费用预计需要消费"+t.fee.toLocaleString()+"元,当前账户余额不足,请充值。","当前账户余额不足",{confirmButtonText:"充值",cancelButtonText:"取消",type:"warning"}).then(function(t){e.recharge()}):this.$confirm("本次外呼预计营销人数"+t.peopleCount+"人,费用预计需要消费"+t.fee.toLocaleString()+"元,是否继续启动?","提示",{confirmButtonText:"启动",cancelButtonText:"取消",type:"warning"}).then(function(n){e.loading=!0,Object(u.o)({planId:t.planId}).then(function(t){e.$message.success("操作成功"),e.getTableData()}).finally(function(t){e.loading=!1})}))},editPlan:function(t){6===t.activityPlanStatus?this.$router.push("/ai/edit/"+t.activityId+"?status=6"):this.$router.push("/ai/edit/"+t.activityId)}}},d={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"contain"},[n("div",{staticClass:"cardList"},t._l(t.cardContent,function(e){return n("div",{key:e.title,staticClass:"card"},[n("div",{staticClass:"cardTitle"},[n("i",{class:["iconfont",e.iconName],staticStyle:{"font-size":"20px"}}),t._v(" "),n("span",[t._v(t._s(e.title))])]),t._v(" "),n("div",{staticClass:"cardBody"},[t._v("\n "+t._s(e.content)+"\n ")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAddAi)?n("el-button",{attrs:{"limit-code":t.$buttonCode.marketingAddAi,size:"small",type:"primary"},on:{click:function(n){return t.create(e.scene)}}},[t._v("立即新建")]):t._e()],1)}),0),t._v(" "),n("div",{staticClass:"account"},[n("span",[t._v("\n 账户可用余额:"),n("span",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t._f("amount")(t.money)))])]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiRecharge)?n("el-button",{attrs:{"limit-code":t.$buttonCode.marketingAiRecharge,type:"text"},on:{click:t.recharge}},[t._v("立即充值")]):t._e()],1),t._v(" "),n("div",{staticClass:"searchWarp"},[n("el-form",{staticClass:"table-page-search-wrapper",attrs:{inline:"true",size:"small"}},[n("el-form-item",[n("el-input",{attrs:{clearable:"",placeholder:"请输入活动名称"},on:{change:t.search},model:{value:t.form.activityName,callback:function(e){t.$set(t.form,"activityName",e)},expression:"form.activityName"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),n("el-form-item",[n("el-select",{attrs:{placeholder:"全部场景",clearable:""},on:{change:t.search},model:{value:t.form.scene,callback:function(e){t.$set(t.form,"scene",e)},expression:"form.scene"}},t._l(t.optionScenes,function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),n("el-form-item",[n("el-select",{attrs:{placeholder:"全部活动状态",clearable:""},on:{change:t.search},model:{value:t.form.activityPlanStatus,callback:function(e){t.$set(t.form,"activityPlanStatus",e)},expression:"form.activityPlanStatus"}},t._l(t.optionActive,function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),n("el-form-item",[n("el-date-picker",{attrs:{clearable:!1,"picker-options":t.pickerOptions,"value-format":"timestamp",type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.search},model:{value:t.form.time,callback:function(e){t.$set(t.form,"time",e)},expression:"form.time"}})],1)],1)],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData}},[n("el-table-column",{attrs:{prop:"activityName",label:"活动名称",fixed:"left","show-overflow-tooltip":"",width:"200px"}}),t._v(" "),n("el-table-column",{attrs:{prop:"scene",label:"活动场景","show-overflow-tooltip":"",width:"120px"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t._f("sceneFilter")(n.scene))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"aiTemplateName",label:"话术名称","show-overflow-tooltip":"",width:"180px"}}),t._v(" "),n("el-table-column",{attrs:{prop:"seatSum",label:"坐席数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"smsFlag",label:"挂机短信","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t._f("yesOrnoFilter")(n.smsFlag))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"recallFlag",label:"自动重拨","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t._f("yesOrnoFilter")(n.recallFlag))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"activityPlanStatus",width:"120",label:"活动状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",{class:t.statusPoint[a.activityPlanStatus]}),t._v(" "+t._s(t._f("activePlanStatusFilter")(a.activityPlanStatus))+" ")]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"marketingNumber",label:"营销人数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"outboundNumber",label:"已外呼数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"totalConnectionNumber",label:"总接通数","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"telephoneConnectionRate",label:"接通率","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"connectionIntentionRate",label:"接通意向率","show-overflow-tooltip":"",width:"120"}}),t._v(" "),n("el-table-column",{attrs:{prop:"beginDate",label:"外呼周期","show-overflow-tooltip":"",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("p",{staticClass:"cell-time"},[t._v("\n "+t._s(t.formatDateTimeByType(a.beginDate,"yyyy-MM-dd"))),n("br"),t._v("\n "+t._s(t.formatDateTimeByType(a.endDate,"yyyy-MM-dd"))+"\n ")])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"creatorName",label:"创建人","show-overflow-tooltip":"",width:"120"}}),t._v(" "),n("el-table-column",{attrs:{prop:"createTime",label:"创建时间","show-overflow-tooltip":"",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t.formatDateTimeByType(n.createTime))+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作",fixed:"right",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("dm-dropdown",{ref:"drop",attrs:{"scope-data":a,configs:t.btnArr},on:{command:t.onCommand}})]}}])})],1),t._v(" "),n("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.length,expression:"tableData.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.form.pageNum,"page-sizes":[20,40,60,80],"page-size":t.form.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.getTableData,"update:currentPage":function(e){return t.$set(t.form,"pageNum",e)},"update:current-page":function(e){return t.$set(t.form,"pageNum",e)},"update:pageSize":function(e){return t.$set(t.form,"pageSize",e)},"update:page-size":function(e){return t.$set(t.form,"pageSize",e)}}})],1)},staticRenderFns:[]};var m=n("VU/8")(p,d,!1,function(t){n("UkKf")},"data-v-162ddff2",null).exports,f=n("Gu7T"),g=n.n(f),b={name:"Message",data:function(){return{formatDateTimeByType:l.f,tempList:[],total:0,search:{nameAndId:"",brandNames:"",status:5,commonFlag:"",pageNum:1,pageSize:20},statusList:[{label:"待发布",value:0},{label:"待审核",value:1},{label:"待录音",value:2},{label:"待上线",value:3},{label:"审核不通过",value:4},{label:"已上线",value:5}],tempDetail:{show:!1,aiTemplateId:"",tempData:[]}}},filters:{formatStatus:function(t,e){var n=[{label:"三方删除",value:-1}].concat(g()(e)).find(function(e){return e.value==t});return n?n.label:"--"},formatNodeType:function(t){return["普通节点","跳转节点","IVR节点","数据采集节点","条件判断节点"][t]||"--"}},created:function(){this.getTempList()},methods:{getTempList:function(){var t=this;Object(u.S)(this.search).then(function(e){var n=e.result||{},a=n.list,i=n.pageNum,r=n.total,o=document.createElement("span");o.style.opacity=0,o.style.visibility="hidden",document.body.appendChild(o),t.tempList=a.map(function(t){return o.innerHTML=t.name,t.overflow=o.offsetWidth>225,t}),document.body.removeChild(o),t.search.pageNum=i,t.total=r})},getTempDetail:function(){var t=this;Object(u.R)({aiTemplateId:this.tempDetail.aiTemplateId}).then(function(e){t.tempDetail.tempData=e.result.list})},onSearch:function(){this.handleCurrentChange(1)},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)},handleCurrentChange:function(t){this.search.pageNum=t,this.getTempList()},showTempDetail:function(t){this.tempDetail.show=!0,this.tempDetail.aiTemplateId=t.aiTemplateId,this.getTempDetail()},onClosed:function(){this.tempDetail.aiTemplateId="",this.tempDetail.tempData=[]},onPlay:function(t,e){var n=this,a=function(){n.$message.error("资源错误"),i(n)},i=function e(){n.$set(t,"playing",!1),r.removeEventListener("error",a),r.removeEventListener("ended",e)};this.tempDetail.tempData.forEach(function(t){Array.isArray(t.decisionItemRecordDTOList)&&t.decisionItemRecordDTOList.forEach(function(e){if(e.playing){var a=document.getElementById("player-"+t.decisionId+"-"+e.id);a.pause(),a.currentTime=0,n.$set(e,"playing",!1)}})}),this.$set(t,"playing",!0);var r=document.getElementById(e);r.addEventListener("error",a),r.addEventListener("ended",i),r.play().catch(a)}}},v={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"message"},[n("div",{staticClass:"search-bar"},[n("el-input",{staticStyle:{width:"260px"},attrs:{type:"text",placeholder:"请输入话术名称/ID","prefix-icon":"el-icon-search",clearable:""},on:{change:t.onSearch},model:{value:t.search.nameAndId,callback:function(e){t.$set(t.search,"nameAndId",e)},expression:"search.nameAndId"}}),t._v(" "),n("el-alert",{staticStyle:{"margin-left":"10px",width:"264px"},attrs:{title:"若需要增加话术,请联系运营经理","show-icon":"",closable:!1}})],1),t._v(" "),n("div",{staticClass:"temp-list"},t._l(t.tempList,function(e){return n("div",{key:e.aiTemplateId,staticClass:"temp-item"},[n("div",{staticClass:"temp-title"},[e.overflow?n("el-tooltip",{attrs:{placement:"top"}},[n("p",{staticStyle:{"max-width":"400px"},attrs:{slot:"content"},slot:"content"},[t._v(t._s(e.name))]),t._v(" "),n("span",{staticClass:"temp-title-text"},[t._v(t._s(e.name))])]):n("span",{staticClass:"temp-title-text"},[t._v(t._s(e.name))])],1),t._v(" "),n("div",{staticClass:"temp-info"},[n("p",{staticClass:"temp-info-text"},[t._v("话术ID:"+t._s(e.thirdTemplateId))]),t._v(" "),n("p",{staticClass:"temp-info-text"},[t._v("发布时间:"+t._s(t.formatDateTimeByType(e.publishTime)||"--"))]),t._v(" "),n("el-button",{staticClass:"temp-check-btn",attrs:{type:"text"},on:{click:function(n){return t.showTempDetail(e)}}},[t._v("查看")])],1)])}),0),t._v(" "),t.total>0?n("dm-pagination",{attrs:{background:"",total:t.total,"current-page":t.search.pageNum,"page-size":t.search.pageSize,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e(),t._v(" "),0==t.tempList.length?n("div",{staticClass:"no-data"},[n("svg",{attrs:{"aria-hidden":"true",width:"100",height:"100"}},[n("use",{attrs:{"xlink:href":"#icon-zanwuhuashu"}})]),t._v(" "),n("div",{staticClass:"no-data-text"},[t._v("还未创建话术,请联系运营经理创建话术")])]):t._e(),t._v(" "),n("el-dialog",{attrs:{visible:t.tempDetail.show,"custom-class":"temp-detail",width:"760px",title:"查看话术"},on:{"update:visible":function(e){return t.$set(t.tempDetail,"show",e)},closed:t.onClosed}},[Array.isArray(t.tempDetail.tempData)&&0!=t.tempDetail.tempData.length?n("div",{staticClass:"temp-detail-list"},t._l(t.tempDetail.tempData,function(e){return n("div",{key:e.decisionId,staticClass:"temp-detail-item"},[n("div",{staticClass:"temp-detail-content"},[n("div",{staticClass:"temp-detail-title"},[t._v(t._s(t._f("formatNodeType")(e.decisionNodeType)))]),t._v(" "),Array.isArray(e.decisionItemRecordDTOList)&&0!=e.decisionItemRecordDTOList.length?t._l(e.decisionItemRecordDTOList,function(a){return n("div",{key:a.id,staticClass:"sound-record"},[n("div",{staticClass:"temp-detail-desc"},[t._v(t._s(a.knowledge||"--"))]),t._v(" "),a.realKnowledgeOssUrl||a.ttsKnowledgeOssUrl?[n("el-button",{attrs:{type:"text",loading:a.playing},on:{click:function(n){return t.onPlay(a,"player-"+e.decisionId+"-"+a.id)}}},[t._v(t._s(a.playing?"播放中...":"播放"))]),t._v(" "),n("audio",{attrs:{id:"player-"+e.decisionId+"-"+a.id,src:a.realKnowledgeOssUrl||a.ttsKnowledgeOssUrl}})]:t._e()],2)}):n("div",{staticClass:"no-temp-data"},[t._v("暂无录音")])],2)])}),0):n("div",{staticClass:"no-temp-data"},[n("svg",{staticClass:"no-temp-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-zanwuhuashu"}})]),t._v("\n 暂无话术内容\n ")])])],1)},staticRenderFns:[]};var h={data:function(){return{activeName:"first"}},components:{task:m,manage:n("VU/8")(b,v,!1,function(t){n("6JF7"),n("qUpD")},"data-v-4f30784a",null).exports},watch:{}},y={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aiList"},[n("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"外呼任务",name:"first"}},[n("task")],1),t._v(" "),n("el-tab-pane",{attrs:{label:"话术管理",name:"second"}},[n("manage")],1)],1)],1)},staticRenderFns:[]};var k=n("VU/8")(h,y,!1,function(t){n("Trbz")},"data-v-59aedf78",null);e.default=k.exports},qUpD:function(t,e){}});
\ No newline at end of file
webpackJsonp([19],{"Dj+d":function(t,e){},PgnL:function(t,e){},"Qb7/":function(t,e,a){"use strict";a.d(e,"M",function(){return r}),a.d(e,"L",function(){return s}),a.d(e,"N",function(){return o}),a.d(e,"T",function(){return u}),a.d(e,"b",function(){return c}),a.d(e,"J",function(){return l}),a.d(e,"P",function(){return d}),a.d(e,"O",function(){return p}),a.d(e,"u",function(){return g}),a.d(e,"S",function(){return m}),a.d(e,"R",function(){return f}),a.d(e,"K",function(){return b}),a.d(e,"D",function(){return h}),a.d(e,"C",function(){return v}),a.d(e,"A",function(){return y}),a.d(e,"v",function(){return k}),a.d(e,"H",function(){return x}),a.d(e,"a",function(){return j}),a.d(e,"F",function(){return O}),a.d(e,"B",function(){return C}),a.d(e,"x",function(){return T}),a.d(e,"y",function(){return D}),a.d(e,"z",function(){return w}),a.d(e,"E",function(){return _}),a.d(e,"G",function(){return N}),a.d(e,"w",function(){return z}),a.d(e,"h",function(){return R}),a.d(e,"i",function(){return S}),a.d(e,"j",function(){return M}),a.d(e,"s",function(){return $}),a.d(e,"d",function(){return I}),a.d(e,"e",function(){return L}),a.d(e,"q",function(){return E}),a.d(e,"k",function(){return A}),a.d(e,"l",function(){return B}),a.d(e,"m",function(){return V}),a.d(e,"t",function(){return q}),a.d(e,"f",function(){return U}),a.d(e,"g",function(){return P}),a.d(e,"r",function(){return F}),a.d(e,"c",function(){return Q}),a.d(e,"n",function(){return H}),a.d(e,"p",function(){return J}),a.d(e,"o",function(){return G}),a.d(e,"Q",function(){return K}),a.d(e,"I",function(){return W});var n=a("6Hqf"),i="api-marketing/ai/",r=function(t){return Object(n.b)(i+"page-statistics",t,!0)},s=function(t){return Object(n.b)(i+"page",t,!0)},o=function(t){return Object(n.b)("/api-marketing/recharge-center",t)},u=function(t){return Object(n.b)(i+"get-template-list",t,!0)},c=function(t){return Object(n.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},l=function(t){return Object(n.b)(i+"/init-activity",t,!0)},d=function(t){return Object(n.b)(i+"stop-activity-plan",t,!0,!1,"get")},p=function(t){return Object(n.b)(i+"start-activity-plan",t,!0,!1,"get")},g=function(t){return Object(n.b)(i+"get-activity-detail",t,!0,!1,"get")},m=function(t){return Object(n.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},f=function(t){return Object(n.b)("/api-marketing/template/query",t,!0,!1,"get")},b=function(t){return Object(n.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},h=function(t){return Object(n.b)(i+"/get-member-count",t,!0,!1,"get")},v=function(t){return Object(n.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},y=function(t){return Object(n.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},k=function(t){return Object(n.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},x=function(t){return Object(n.b)("/api-marketing/get-sms-template-echo",t,!0)},j=function(t){return Object(n.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},O=function(t){return Object(n.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},C=function(t){return Object(n.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},T=function(t){return Object(n.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},D=function(t){return Object(n.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},w=function(t){return Object(n.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},_=function(t){return Object(n.b)("/api-plug/query-member-crowd-new",t,!0)},N=function(t){return Object(n.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},z=function(t){return Object(n.b)(i+"/ai-calc-single",t,!0,!1,"get")},R=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},S=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},M=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},$="/api-marketing/statistics/export-ai-store-outbound",I=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},L=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},E="/api-marketing/statistics/export-ai-store-group-outbound",A=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},B=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},V=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},q="/api-marketing/statistics/export-ai-store-transfer",U=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},P=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},F="/api-marketing/statistics/export-ai-store-group-transfer",Q=function(t){return Object(n.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},H=function(t){return Object(n.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},J="/api-marketing/statistics/export-ai-custom-detail",G=function(t){return Object(n.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},K=function(t){return Object(n.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},W=function(t){return Object(n.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},Tdec:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Qb7/"),i=a("0xDb"),r={name:"LogsRuned",data:function(){return{formatDateTimeByType:i.f,statusMap:[{value:1,label:"未开始执行"},{value:2,label:"执行中"},{value:3,label:"已终止"},{value:4,label:"已完成"},{value:6,label:"已结束"},{value:5,label:"欠费暂停"}],search:{activityId:"",dateRange:[],status:"",type:1,pageNum:1,pageSize:20},loading:!1,total:0,tableData:[]}},created:function(){var t=this.$route.query,e=t.startTime,a=t.endTime;this.search.activityId=this.$route.params.id,this.search.dateRange=[this.formatDateTimeByType(Number(e),"yyyy-MM-dd"),this.formatDateTimeByType(Number(a),"yyyy-MM-dd")],this.getData()},methods:{getData:function(){var t=this,e=this.search,a=e.activityId,i=e.dateRange,r={activityId:a,status:e.status,type:e.type,pageNum:e.pageNum,pageSize:e.pageSize,startTime:"",endTime:""};Array.isArray(i)&&(r.startTime=i[0]||"",r.endTime=i[1]||""),this.loading=!0,Object(n.C)(r).then(function(e){var a=e.result||{},n=a.result,i=a.totalCount;t.tableData=n,t.total=i}).finally(function(){return t.loading=!1})},handleCurrentChange:function(t){this.search.pageNum=t,this.getData()},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"logs"},[a("div",{staticClass:"search-bar"},[a("el-date-picker",{staticClass:"search-date",attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.dateRange,callback:function(e){t.$set(t.search,"dateRange",e)},expression:"search.dateRange"}}),t._v(" "),a("el-select",{staticClass:"search-select",attrs:{clearable:""},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.status,callback:function(e){t.$set(t.search,"status",e)},expression:"search.status"}},t._l(t.statusMap,function(t){return a("el-option",{key:t.value,attrs:{value:t.value,label:t.label}})}),1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableData,tooltipEffect:"light"}},[a("el-table-column",{attrs:{label:"活动名称",prop:"activityName","min-width":"273px","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"营销人数",prop:"totalCount","min-width":"116px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"已外呼数",prop:"successCount","min-width":"116px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"接通数",prop:"backSuccessCount","min-width":"102px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"接通率",prop:"connectionRate","min-width":"102px",formatter:function(t,e,a){return a||"0.00%"}}}),t._v(" "),a("el-table-column",{attrs:{label:"接通意向率",prop:"connectionPurposeRate","min-width":"130px",formatter:function(t,e,a){return a||"0.00%"}}}),t._v(" "),a("el-table-column",{attrs:{label:"执行状态",prop:"execStatus","min-width":"116px"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("span",[a("i",{class:{"dm-status--info":1==n.status,"dm-status--primary--flash":2==n.status,"dm-status--error":3==n.status,"dm-status--success":4==n.status,"dm-status--warning":5==n.status}}),t._v("\n "+t._s((t.statusMap.find(function(t){return t.value==n.status})||{label:"--"}).label)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"批次时间",prop:"createTime","min-width":"190px",formatter:function(e,a,n){return n?t.formatDateTimeByType(n):"--"}}})],1),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{background:"","current-page":t.search.pageNum,"page-size":t.search.pageSize,total:t.total,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},staticRenderFns:[]};var o={name:"LogsUnrun",data:function(){return{formatDateTimeByType:i.f,search:{activityId:"",dateRange:[],type:2,pageNum:1,pageSize:20},loading:!1,total:0,tableData:[],dialogVisible:!1,exportData:{activityName:"",startTime:"",endTime:"",dataType:"",logIdList:[]}}},created:function(){var t=this.$route.query,e=t.activityName,a=t.startTime,n=t.endTime;this.search.activityId=this.$route.params.id,this.search.dateRange=[this.formatDateTimeByType(Number(a),"yyyy-MM-dd"),this.formatDateTimeByType(Number(n),"yyyy-MM-dd")],this.exportData.activityName=e,this.getData()},methods:{getData:function(){var t=this,e=this.search,a=e.activityId,i=e.dateRange,r={activityId:a,type:e.type,pageNum:e.pageNum,pageSize:e.pageSize,startTime:"",endTime:""};Array.isArray(i)&&(r.startTime=i[0]||"",r.endTime=i[1]||""),this.loading=!0,Object(n.C)(r).then(function(e){var a=e.result||{},n=a.result,i=a.totalCount;t.tableData=n,t.total=i}).finally(function(){return t.loading=!1})},handleCurrentChange:function(t){this.search.pageNum=t,this.getData()},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)},handleExportData:function(){if(0==this.exportData.logIdList.length)return this.$message.warning("请选择要导出的数据");this.dialogVisible=!0,Array.isArray(this.search.dateRange)&&(this.exportData.startTime=this.search.dateRange[0],this.exportData.endTime=this.search.dateRange[1])},handleSelectionChange:function(t){this.exportData.logIdList=t.map(function(t){return t.eventExecLogId}).join(",")}}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"logs"},[a("div",{staticClass:"search-bar"},[a("el-date-picker",{staticClass:"search-date",attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.dateRange,callback:function(e){t.$set(t.search,"dateRange",e)},expression:"search.dateRange"}}),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiExport)?a("el-button",{attrs:{type:"primary","limit-code":t.$buttonCode.marketingAiExport,disabled:0==t.total},on:{click:t.handleExportData}},[a("i",{staticClass:"iconfont icon-xiazai",staticStyle:{"margin-right":"10px"}}),t._v("批量导出")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableData,tooltipEffect:"light"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{label:"活动名称",prop:"activityName","min-width":"330px","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"未执行人",prop:"totalCount","min-width":"240px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"未执行原因",prop:"execRemark","min-width":"260px","show-overflow-tooltip":"",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),a("el-table-column",{attrs:{label:"批次时间",prop:"createTime","min-width":"240px",formatter:function(e,a,n){return n?t.formatDateTimeByType(n):"--"}}})],1),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{background:"","current-page":t.search.pageNum,"page-size":t.search.pageSize,total:t.total,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,params:t.exportData,type:"2",excelUrl:"/api-marketing/export-ai-member-log",projectName:"marketing"},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},staticRenderFns:[]};var c={name:"Logs",components:{LogsRuned:a("VU/8")(r,s,!1,function(t){a("PgnL")},"data-v-12f7aa48",null).exports,LogsUnrun:a("VU/8")(o,u,!1,function(t){a("Dj+d")},"data-v-1a88705c",null).exports},data:function(){return{activeName:"first"}}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"提交并执行",name:"first"}},[a("logs-runed")],1),t._v(" "),a("el-tab-pane",{attrs:{label:"提交未执行",name:"second"}},[a("logs-unrun")],1)],1)},staticRenderFns:[]},d=a("VU/8")(c,l,!1,null,null,null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([19],{OO0a:function(t,e){},"Qb7/":function(t,e,a){"use strict";a.d(e,"M",function(){return r}),a.d(e,"L",function(){return s}),a.d(e,"N",function(){return o}),a.d(e,"T",function(){return u}),a.d(e,"b",function(){return c}),a.d(e,"J",function(){return l}),a.d(e,"P",function(){return d}),a.d(e,"O",function(){return p}),a.d(e,"u",function(){return g}),a.d(e,"S",function(){return m}),a.d(e,"R",function(){return f}),a.d(e,"K",function(){return b}),a.d(e,"D",function(){return h}),a.d(e,"C",function(){return v}),a.d(e,"A",function(){return y}),a.d(e,"v",function(){return k}),a.d(e,"H",function(){return x}),a.d(e,"a",function(){return O}),a.d(e,"F",function(){return j}),a.d(e,"B",function(){return C}),a.d(e,"x",function(){return T}),a.d(e,"y",function(){return w}),a.d(e,"z",function(){return _}),a.d(e,"E",function(){return D}),a.d(e,"G",function(){return N}),a.d(e,"w",function(){return z}),a.d(e,"h",function(){return R}),a.d(e,"i",function(){return S}),a.d(e,"j",function(){return M}),a.d(e,"s",function(){return $}),a.d(e,"d",function(){return E}),a.d(e,"e",function(){return I}),a.d(e,"q",function(){return L}),a.d(e,"k",function(){return A}),a.d(e,"l",function(){return B}),a.d(e,"m",function(){return V}),a.d(e,"t",function(){return q}),a.d(e,"f",function(){return U}),a.d(e,"g",function(){return F}),a.d(e,"r",function(){return P}),a.d(e,"c",function(){return Q}),a.d(e,"n",function(){return H}),a.d(e,"p",function(){return J}),a.d(e,"o",function(){return G}),a.d(e,"Q",function(){return K}),a.d(e,"I",function(){return W});var n=a("6Hqf"),i="api-marketing/ai/",r=function(t){return Object(n.b)(i+"page-statistics",t,!0)},s=function(t){return Object(n.b)(i+"page",t,!0)},o=function(t){return Object(n.b)("/api-marketing/recharge-center",t)},u=function(t){return Object(n.b)(i+"get-template-list",t,!0)},c=function(t){return Object(n.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},l=function(t){return Object(n.b)(i+"/init-activity",t,!0)},d=function(t){return Object(n.b)(i+"stop-activity-plan",t,!0,!1,"get")},p=function(t){return Object(n.b)(i+"start-activity-plan",t,!0,!1,"get")},g=function(t){return Object(n.b)(i+"get-activity-detail",t,!0,!1,"get")},m=function(t){return Object(n.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},f=function(t){return Object(n.b)("/api-marketing/template/query",t,!0,!1,"get")},b=function(t){return Object(n.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},h=function(t){return Object(n.b)(i+"/get-member-count",t,!0,!1,"get")},v=function(t){return Object(n.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},y=function(t){return Object(n.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},k=function(t){return Object(n.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},x=function(t){return Object(n.b)("/api-marketing/get-sms-template-echo",t,!0)},O=function(t){return Object(n.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},j=function(t){return Object(n.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},C=function(t){return Object(n.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},T=function(t){return Object(n.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},w=function(t){return Object(n.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},_=function(t){return Object(n.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},D=function(t){return Object(n.b)("/api-plug/query-member-crowd-new",t,!0)},N=function(t){return Object(n.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},z=function(t){return Object(n.b)(i+"/ai-calc-single",t,!0,!1,"get")},R=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},S=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},M=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},$="/api-marketing/statistics/export-ai-store-outbound",E=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},I=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},L="/api-marketing/statistics/export-ai-store-group-outbound",A=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},B=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},V=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},q="/api-marketing/statistics/export-ai-store-transfer",U=function(t,e){return Object(n.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},F=function(t){return Object(n.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},P="/api-marketing/statistics/export-ai-store-group-transfer",Q=function(t){return Object(n.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},H=function(t){return Object(n.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},J="/api-marketing/statistics/export-ai-custom-detail",G=function(t){return Object(n.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},K=function(t){return Object(n.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},W=function(t){return Object(n.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},Tdec:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Qb7/"),i=a("0xDb"),r={name:"LogsRuned",data:function(){return{formatDateTimeByType:i.f,statusMap:[{value:1,label:"未开始执行"},{value:2,label:"执行中"},{value:3,label:"已终止"},{value:4,label:"已完成"},{value:6,label:"已结束"},{value:5,label:"欠费暂停"}],search:{activityId:"",dateRange:[],status:"",type:1,pageNum:1,pageSize:20},loading:!1,total:0,tableData:[]}},created:function(){var t=this.$route.query,e=t.startTime,a=t.endTime;this.search.activityId=this.$route.params.id,this.search.dateRange=[this.formatDateTimeByType(Number(e),"yyyy-MM-dd"),this.formatDateTimeByType(Number(a),"yyyy-MM-dd")],this.getData()},methods:{getData:function(){var t=this,e=this.search,a=e.activityId,i=e.dateRange,r={activityId:a,status:e.status,type:e.type,pageNum:e.pageNum,pageSize:e.pageSize,startTime:"",endTime:""};Array.isArray(i)&&(r.startTime=i[0]||"",r.endTime=i[1]||""),this.loading=!0,Object(n.C)(r).then(function(e){var a=e.result||{},n=a.result,i=a.totalCount;t.tableData=n,t.total=i}).finally(function(){return t.loading=!1})},handleCurrentChange:function(t){this.search.pageNum=t,this.getData()},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"logs"},[a("div",{staticClass:"search-bar"},[a("el-date-picker",{staticClass:"search-date",attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.dateRange,callback:function(e){t.$set(t.search,"dateRange",e)},expression:"search.dateRange"}}),t._v(" "),a("el-select",{staticClass:"search-select",attrs:{clearable:""},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.status,callback:function(e){t.$set(t.search,"status",e)},expression:"search.status"}},t._l(t.statusMap,function(t){return a("el-option",{key:t.value,attrs:{value:t.value,label:t.label}})}),1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableData,tooltipEffect:"light"}},[a("el-table-column",{attrs:{label:"活动名称",prop:"activityName","min-width":"273px","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"营销人数",prop:"totalCount","min-width":"116px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"已外呼数",prop:"successCount","min-width":"116px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"接通数",prop:"backSuccessCount","min-width":"102px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"接通率",prop:"connectionRate","min-width":"102px",formatter:function(t,e,a){return a||"0.00%"}}}),t._v(" "),a("el-table-column",{attrs:{label:"接通意向率",prop:"connectionPurposeRate","min-width":"130px",formatter:function(t,e,a){return a||"0.00%"}}}),t._v(" "),a("el-table-column",{attrs:{label:"执行状态",prop:"execStatus","min-width":"116px"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("span",[a("i",{class:{"dm-status--info":1==n.status,"dm-status--primary--flash":2==n.status,"dm-status--error":3==n.status,"dm-status--success":4==n.status,"dm-status--warning":5==n.status}}),t._v("\n "+t._s((t.statusMap.find(function(t){return t.value==n.status})||{label:"--"}).label)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"批次时间",prop:"createTime","min-width":"190px",formatter:function(e,a,n){return n?t.formatDateTimeByType(n):"--"}}})],1),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{background:"","current-page":t.search.pageNum,"page-size":t.search.pageSize,total:t.total,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},staticRenderFns:[]};var o={name:"LogsUnrun",data:function(){return{formatDateTimeByType:i.f,search:{activityId:"",dateRange:[],type:2,pageNum:1,pageSize:20},loading:!1,total:0,tableData:[],dialogVisible:!1,exportData:{activityName:"",startTime:"",endTime:"",dataType:"",logIdList:[]}}},created:function(){var t=this.$route.query,e=t.activityName,a=t.startTime,n=t.endTime;this.search.activityId=this.$route.params.id,this.search.dateRange=[this.formatDateTimeByType(Number(a),"yyyy-MM-dd"),this.formatDateTimeByType(Number(n),"yyyy-MM-dd")],this.exportData.activityName=e,this.getData()},methods:{getData:function(){var t=this,e=this.search,a=e.activityId,i=e.dateRange,r={activityId:a,type:e.type,pageNum:e.pageNum,pageSize:e.pageSize,startTime:"",endTime:""};Array.isArray(i)&&(r.startTime=i[0]||"",r.endTime=i[1]||""),this.loading=!0,Object(n.C)(r).then(function(e){var a=e.result||{},n=a.result,i=a.totalCount;t.tableData=n,t.total=i}).finally(function(){return t.loading=!1})},handleCurrentChange:function(t){this.search.pageNum=t,this.getData()},handleSizeChange:function(t){this.search.pageSize=t,this.handleCurrentChange(1)},handleExportData:function(){if(0==this.exportData.logIdList.length)return this.$message.warning("请选择要导出的数据");this.dialogVisible=!0,Array.isArray(this.search.dateRange)&&(this.exportData.startTime=this.search.dateRange[0],this.exportData.endTime=this.search.dateRange[1])},handleSelectionChange:function(t){this.exportData.logIdList=t.map(function(t){return t.eventExecLogId}).join(",")}}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"logs"},[a("div",{staticClass:"search-bar"},[a("el-date-picker",{staticClass:"search-date",attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:function(e){return t.handleCurrentChange(1)}},model:{value:t.search.dateRange,callback:function(e){t.$set(t.search,"dateRange",e)},expression:"search.dateRange"}}),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAiExport)?a("el-button",{attrs:{type:"primary","limit-code":t.$buttonCode.marketingAiExport,disabled:0==t.total},on:{click:t.handleExportData}},[a("i",{staticClass:"iconfont icon-xiazai",staticStyle:{"margin-right":"10px"}}),t._v("批量导出")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableData,tooltipEffect:"light"},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{label:"活动名称",prop:"activityName","min-width":"330px","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{label:"未执行人",prop:"totalCount","min-width":"240px",formatter:function(t,e,a){return a||0}}}),t._v(" "),a("el-table-column",{attrs:{label:"未执行原因",prop:"execRemark","min-width":"260px","show-overflow-tooltip":"",formatter:function(t,e,a){return a||"--"}}}),t._v(" "),a("el-table-column",{attrs:{label:"批次时间",prop:"createTime","min-width":"240px",formatter:function(e,a,n){return n?t.formatDateTimeByType(n):"--"}}})],1),t._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{background:"","current-page":t.search.pageNum,"page-size":t.search.pageSize,total:t.total,"page-sizes":[20,40,60,80],layout:"total, sizes, prev, pager, next"},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}),t._v(" "),a("vue-gic-export-excel",{attrs:{dialogVisible:t.dialogVisible,dataArr:t.tableData,params:t.exportData,type:"2",excelUrl:"/api-marketing/export-ai-member-log",projectName:"marketing"},on:{"update:dialogVisible":function(e){t.dialogVisible=e},"update:dialog-visible":function(e){t.dialogVisible=e}}})],1)},staticRenderFns:[]};var c={name:"Logs",components:{LogsRuned:a("VU/8")(r,s,!1,function(t){a("lguE")},"data-v-56c3dc5c",null).exports,LogsUnrun:a("VU/8")(o,u,!1,function(t){a("OO0a")},"data-v-6d70ea09",null).exports},data:function(){return{activeName:"first"}}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"提交并执行",name:"first"}},[a("logs-runed")],1),t._v(" "),a("el-tab-pane",{attrs:{label:"提交未执行",name:"second"}},[a("logs-unrun")],1)],1)},staticRenderFns:[]},d=a("VU/8")(c,l,!1,null,null,null);e.default=d.exports},lguE:function(t,e){}});
\ No newline at end of file
webpackJsonp([20],{"48Xa":function(t,e){},"Q+a4":function(t,e,i){"use strict";e.a={data:function(){return{defaultAvatar:i("hKdl")}},filters:{sceneFilter:function(t){var e="- -";switch(t){case 1:e="客户生日";break;case 2:e="节日活动邀约";break;case 3:e="加企微好友";break;case 4:e="客户复购";break;case 5:e="开卡场景";break;case 0:e="其它场景"}return e}},methods:{filterAvatar:function(t){return t?t.replace(/^http(s)?/,"https"):this.defaultAvatar}}}},"Qb7/":function(t,e,i){"use strict";i.d(e,"M",function(){return s}),i.d(e,"L",function(){return r}),i.d(e,"N",function(){return c}),i.d(e,"T",function(){return o}),i.d(e,"b",function(){return l}),i.d(e,"J",function(){return u}),i.d(e,"P",function(){return m}),i.d(e,"O",function(){return d}),i.d(e,"u",function(){return b}),i.d(e,"S",function(){return f}),i.d(e,"R",function(){return p}),i.d(e,"K",function(){return _}),i.d(e,"D",function(){return v}),i.d(e,"C",function(){return g}),i.d(e,"A",function(){return h}),i.d(e,"v",function(){return y}),i.d(e,"H",function(){return j}),i.d(e,"a",function(){return O}),i.d(e,"F",function(){return T}),i.d(e,"B",function(){return k}),i.d(e,"x",function(){return D}),i.d(e,"y",function(){return C}),i.d(e,"z",function(){return w}),i.d(e,"E",function(){return x}),i.d(e,"G",function(){return F}),i.d(e,"w",function(){return I}),i.d(e,"h",function(){return S}),i.d(e,"i",function(){return E}),i.d(e,"j",function(){return M}),i.d(e,"s",function(){return L}),i.d(e,"d",function(){return N}),i.d(e,"e",function(){return J}),i.d(e,"q",function(){return A}),i.d(e,"k",function(){return H}),i.d(e,"l",function(){return W}),i.d(e,"m",function(){return q}),i.d(e,"t",function(){return G}),i.d(e,"f",function(){return Q}),i.d(e,"g",function(){return $}),i.d(e,"r",function(){return R}),i.d(e,"c",function(){return P}),i.d(e,"n",function(){return X}),i.d(e,"p",function(){return B}),i.d(e,"o",function(){return K}),i.d(e,"Q",function(){return z}),i.d(e,"I",function(){return U});var a=i("6Hqf"),n="api-marketing/ai/",s=function(t){return Object(a.b)(n+"page-statistics",t,!0)},r=function(t){return Object(a.b)(n+"page",t,!0)},c=function(t){return Object(a.b)("/api-marketing/recharge-center",t)},o=function(t){return Object(a.b)(n+"get-template-list",t,!0)},l=function(t){return Object(a.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},u=function(t){return Object(a.b)(n+"/init-activity",t,!0)},m=function(t){return Object(a.b)(n+"stop-activity-plan",t,!0,!1,"get")},d=function(t){return Object(a.b)(n+"start-activity-plan",t,!0,!1,"get")},b=function(t){return Object(a.b)(n+"get-activity-detail",t,!0,!1,"get")},f=function(t){return Object(a.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},p=function(t){return Object(a.b)("/api-marketing/template/query",t,!0,!1,"get")},_=function(t){return Object(a.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},v=function(t){return Object(a.b)(n+"/get-member-count",t,!0,!1,"get")},g=function(t){return Object(a.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},h=function(t){return Object(a.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},y=function(t){return Object(a.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},j=function(t){return Object(a.b)("/api-marketing/get-sms-template-echo",t,!0)},O=function(t){return Object(a.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},T=function(t){return Object(a.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},k=function(t){return Object(a.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},D=function(t){return Object(a.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},C=function(t){return Object(a.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},w=function(t){return Object(a.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},x=function(t){return Object(a.b)("/api-plug/query-member-crowd-new",t,!0)},F=function(t){return Object(a.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},I=function(t){return Object(a.b)(n+"/ai-calc-single",t,!0,!1,"get")},S=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},E=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},M=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},L="/api-marketing/statistics/export-ai-store-outbound",N=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},J=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},A="/api-marketing/statistics/export-ai-store-group-outbound",H=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},W=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},q=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},G="/api-marketing/statistics/export-ai-store-transfer",Q=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},$=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},R="/api-marketing/statistics/export-ai-store-group-transfer",P=function(t){return Object(a.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},X=function(t){return Object(a.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},B="/api-marketing/statistics/export-ai-custom-detail",K=function(t){return Object(a.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},z=function(t){return Object(a.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},U=function(t){return Object(a.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},bA12:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),s=i("exGp"),r=i.n(s),c=i("Q+a4"),o=i("0xDb"),l=i("Qb7/"),u={mixins:[c.a],data:function(){return{formatDateTimeByType:o.f,loading:!1,form:{},birthTimeData:{birth_days:" ",birthDate1:"",birthDate2:"",birthDate3:"",birth_type:1,callFlag:0,callTime:[{}],activeTime:""},holidayTimeData:{holiday_day:"",callFlag:0,activeTime:"",callTime:[{}]},activeTimeData:{activeTime:"",callFlag:1,callTime:[{}]},tagMatchList:[],smsList:[],recallList:[],gradeObject:{},unlinkObject:{},templateObject:{},selectedGroupIds:"",memberCrowdWidgetId:""}},mounted:function(){this.getActivityDetail(this.$route.params.id)},filters:{birthTypeFilter:function(t){var e="";switch(t){case 1:e="生日当天";break;case 2:e="生日当月"}return e}},methods:{getActivityDetail:function(t){var e=this;return r()(n.a.mark(function i(){var a,s,r,c,u,m,d,b,f,p,_,v,g,h,y,j,O,T,k,D,C,w,x,F,I,S,E,M,L,N,J,A,H,W,q,G,Q,$,R,P,X,B,K,z,U,V,Y,Z,tt;return n.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return e.loading=!0,i.next=3,Object(l.b)({dictType:"ai_member_label"});case 3:return a=i.sent,i.next=6,Object(l.b)({dictType:"ai_recall_status"});case 6:return s=i.sent,i.next=9,Object(l.T)({status:5});case 9:return r=i.sent,a.result&&a.result.forEach(function(t){e.gradeObject[t.dict_code]=t}),s.result&&s.result.forEach(function(t){e.unlinkObject[t.dict_code]=t}),r.result&&r.result.forEach(function(t){e.templateObject[t.aiTemplateId]=t}),i.prev=13,i.next=16,Object(l.u)({activityId:t});case 16:if(c=i.sent,u=c.result,console.log(u),u){i.next=21;break}return i.abrupt("return");case 21:m=u.activityId,d=u.activityName,b=u.activityPlanList,f=u.analyseAmount,p=u.analyseDays,_=u.analyseFlag,v=u.startDate,g=u.endDate,h=u.scene,y=b[0],j=y.activityEventList,O=y.filterJson,T=y.memberType,k=y.planId,D=y.planMemberCount,C=y.planName,w=y.sceneJson,x=j[0],F=x.aiEventId,I=x.aiTemplateId,S=x.callFlag,E=x.callTime,M=x.eventId,L=x.labelFlag,N=x.recallFlag,J=x.smsFlag,A=x.labelJson,H=x.recallJson,W=x.smsJson,q=JSON.parse(w),G=q.birth_type,Q=q.birth_days,$=q.holiday_type,R=q.holiday_name,P=q.holiday_date,X=q.consume_days_flag,B=q.consume_days,K=q.consume_times_flag,z=q.consume_times,U=q.consume_amount_flag,V=q.consume_amount,e.form={activityName:d,activityId:m,scene:h,aiTemplateId:I,memberType:T,filterJson:O,analyseFlag:_,labelFlag:L,smsFlag:J,recallFlag:N,planMemberCount:D.toLocaleString(),analyseDays:p,analyseAmount:f,planId:k,planName:C,aiEventId:F,eventId:M,consume_days_flag:X,consume_days:B,consume_times_flag:K,consume_times:z,consume_amount_flag:U,consume_amount:V},0==T?e.memberCrowdWidgetId=O:1==T&&(e.selectedGroupIds=O),Y=Object(o.f)(v,"yyyy-MM-dd"),Z=Object(o.f)(g,"yyyy-MM-dd"),1==h?(e.birthTimeData={birth_days:Q,activeTime:[Y,Z].join("~"),birth_type:G,callFlag:S,callTime:JSON.parse(E).join(",")},1==G?e.birthTimeData.birthDate1=[Y,Z].join("~"):2==G?e.birthTimeData.birthDate2=[Object(o.f)(v,"yyyy-MM"),Object(o.f)(g,"yyyy-MM")].join("~"):3==G&&(e.birthTimeData.birthDate3=[Object(o.f)(v+864e5*Q,"yyyy-MM-dd"),Object(o.f)(g+864e5*Q,"yyyy-MM-dd")].join("~"))):2==h?(e.holidayTimeData={holiday_type:$,holiday_name:R,holiday_date:P,holiday_day:"",callFlag:S,callTime:JSON.parse(E).join(","),startDate:Y,activeTime:[Y,Z].join("~"),endDate:Z},console.log(new Date(P+" 00:00:00").getTime()),console.log(v),e.holidayTimeData.holiday_day=(new Date(P+" 00:00:00").getTime()-v)/864e5):e.activeTimeData={activeTime:[Y,Z].join("~"),callFlag:S,callTime:JSON.parse(E).join(",")},L&&(e.tagMatchList=JSON.parse(A),e.tagMatchList.forEach(function(t){var i=[];t.options.forEach(function(t){i.push(e.gradeObject[t].dict_name)}),t.optionsStr=i.join(",")})),J&&(e.smsList=JSON.parse(W),tt=[],e.smsList.forEach(function(t){var i=[];t.options.forEach(function(t){i.push(e.gradeObject[t].dict_name)}),tt.push(t.template),t.optionsStr=i.join(",")}),e.getSmsTemplateEcho(tt)),N&&(e.recallList=JSON.parse(H),e.recallList.forEach(function(t){var i=[];t.options.forEach(function(t){i.push(e.unlinkObject[t].dict_name)}),t.optionsStr=i.join(",")}));case 33:return i.prev=33,e.loading=!1,i.finish(33);case 36:case"end":return i.stop()}},i,e,[[13,,33,36]])}))()},getAiDictList:function(t){var e=this;return r()(n.a.mark(function t(){var i,a;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(l.b)({dictType:"ai_member_label"});case 2:return i=t.sent,t.next=5,Object(l.b)({dictType:"ai_recall_status"});case 5:a=t.sent,e.gradeOptions=i.result,e.unlinkOptions=a.result,i.result&&i.result.forEach(function(t){e.gradeObject[t.dict_code]=t}),a.result&&a.result.forEach(function(t){e.unlinkObject[t.dict_code]=t});case 10:case"end":return t.stop()}},t,e)}))()},getTemplateList:function(){var t=this;return r()(n.a.mark(function e(){var i,a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(l.T)({status:5});case 2:i=e.sent,(a=i.result)&&a.forEach(function(e){t.templateObject[e.aiTemplateId]=e});case 5:case"end":return e.stop()}},e,t)}))()},getSmsTemplateEcho:function(t){var e=this;return r()(n.a.mark(function i(){var a,s,r;return n.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(l.H)({ids:t.join(",")});case 2:if(a=i.sent,s=a.result){i.next=6;break}return i.abrupt("return");case 6:r={},s.length&&s.forEach(function(t){r[t.gicSmsTemplateId]=t}),e.smsList.forEach(function(t){r[t.template]&&(t.smsContent=r[t.template].smsContent),e.smsList=e.smsList.slice(0)});case 9:case"end":return i.stop()}},i,e)}))()}}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"detail"},[i("dm-sub-title",{attrs:{type:"line"}},[t._v("基本信息")]),t._v(" "),i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"活动场景"}},[t._v(" "+t._s(t._f("sceneFilter")(t.form.scene)))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"活动名称"}},[t._v(t._s(t.form.activityName))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"话术"}},[t._v(t._s(t.form.aiTemplateId&&t.templateObject[t.form.aiTemplateId].name))]),t._v(" "),2==t.form.scene?i("el-descriptions-item",{attrs:{label:"节日名称"}},[t._v(t._s(t.holidayTimeData.holiday_name))]):t._e(),t._v(" "),2==t.form.scene?i("el-descriptions-item",{attrs:{label:"节日日期"}},[t._v(t._s(t.holidayTimeData.holiday_date))]):t._e()],1)],1),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("活动时间")]),t._v(" "),1==t.form.scene?i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[3==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"外呼时间"}},[t._v(" 生日前"+t._s(t.birthTimeData.birth_days)+"天")]):i("el-descriptions-item",{attrs:{label:"外呼时间"}},[t._v(t._s(t._f("birthTypeFilter")(t.birthTimeData.birth_type)))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼时段"}},[t._v(t._s(t.birthTimeData.callTime))]),t._v(" "),1==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"生日范围"}},[t._v(t._s(t.birthTimeData.birthDate1))]):t._e(),t._v(" "),2==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"生日范围"}},[t._v(t._s(t.birthTimeData.birthDate2))]):t._e(),t._v(" "),3==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"生日范围"}},[t._v(t._s(t.birthTimeData.birthDate3))]):t._e(),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼周期"}},[t._v(t._s(t.birthTimeData.activeTime))])],1)],1):t._e(),t._v(" "),2==t.form.scene?i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"外呼时间"}},[t._v("节日前"+t._s(t.holidayTimeData.holiday_day)+"天内外呼完成")]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼时段"}},[t._v(t._s(t.holidayTimeData.callTime))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼周期"}},[t._v(t._s(t.holidayTimeData.activeTime))])],1)],1):t._e(),t._v(" "),3==t.form.scene||4==t.form.scene||0==t.form.scene||5==t.form.scene?i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"外呼时段"}},[t._v(" "+t._s(t.activeTimeData.callTime))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼周期"}},[t._v(t._s(t.activeTimeData.activeTime))])],1)],1):t._e(),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("人群规则")]),t._v(" "),i("div",{staticClass:"section"},[5!=t.form.scene?i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"参与人群"}},[t._v(t._s(0!=t.form.memberType||t.memberCrowdWidgetId?"":"全部客户")+" ")]),t._v(" "),i("el-descriptions-item",{attrs:{label:"预计覆盖人数"}},[i("span",{staticClass:"numStyle"},[t._v(t._s(t.form.planMemberCount))])])],1):i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"号码导入"}},[i("span",{staticClass:"numStyle"},[t._v(t._s(t.form.planMemberCount))]),t._v("条")])],1),t._v(" "),i("gic-new-rule",{directives:[{name:"show",rawName:"v-show",value:0==t.form.memberType&&t.memberCrowdWidgetId,expression:"form.memberType == 0 && memberCrowdWidgetId"}],staticStyle:{width:"100%"},attrs:{memberCrowdWidgetId:t.memberCrowdWidgetId,onlyRead:""}}),t._v(" "),i("gic-new-member-group",{directives:[{name:"show",rawName:"v-show",value:1==t.form.memberType,expression:"form.memberType == 1"}],staticStyle:{width:"100%"},attrs:{selectedIds:t.selectedGroupIds,onlyRead:""}})],1),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("外呼规则配置")]),t._v(" "),i("div",{staticClass:"section"},[5!=t.form.scene?i("div",{staticClass:"card"},[i("div",{staticClass:"title"},[t._v("根据客户意向打标标签:"+t._s(t.form.labelFlag?"开启":"未开启"))]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form.labelFlag,expression:"form.labelFlag"}],staticClass:"content"},[i("table",[t._m(0),t._v(" "),i("tbody",t._l(t.tagMatchList,function(e,a){return i("tr",{key:a},[i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[t._v("\n "+t._s(e.optionsStr)+"\n ")]),t._v(" "),i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[i("el-tag",{attrs:{type:"mini"}},[t._v(t._s(e.name))])],1)])}),0)])])]):t._e(),t._v(" "),i("div",{staticClass:"card"},[i("div",{staticClass:"title"},[t._v("根据客户意向发送挂机短信:"+t._s(t.form.smsFlag?"开启":"未开启"))]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form.smsFlag,expression:"form.smsFlag"}],staticClass:"content"},[i("table",[t._m(1),t._v(" "),i("tbody",t._l(t.smsList,function(e,a){return i("tr",{key:a},[i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[t._v("\n "+t._s(e.optionsStr)+"\n ")]),t._v(" "),i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[i("el-tag",{attrs:{type:"mini"}},[t._v(t._s(e.title))]),t._v(" "),i("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover",content:e.smsContent}},[i("el-button",{staticClass:"ml10",attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v("查看短信内容 ")])],1)],1)])}),0)])])]),t._v(" "),i("div",{staticClass:"card"},[i("div",{staticClass:"title"},[t._v("根据客户意向自动重拨:"+t._s(t.form.recallFlag?"开启":"未开启"))]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form.recallFlag,expression:"form.recallFlag"}],staticClass:"content"},[i("table",[t._m(2),t._v(" "),i("tbody",t._l(t.recallList,function(e,a){return i("tr",{key:a},[i("td",{staticClass:"cell"},[t._v("\n "+t._s(e.optionsStr)+"\n ")]),t._v(" "),i("td",{staticClass:"cell"},[t._v("\n "+t._s(e.times)+"\n ")]),t._v(" "),i("td",{staticClass:"cell"},[t._v("\n "+t._s(e.interval)+"\n ")])])}),0)])])])]),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("活动分析设置")]),t._v(" "),i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"活动分析"}},[t._v(" "+t._s(t.form.analyseFlag?"开启":"未开启"))]),t._v(" "),t.form.analyseFlag?i("el-descriptions-item",{attrs:{label:"分析天数"}},[t._v("触达日期起 "+t._s(t.form.analyseDays)+"天之内")]):t._e(),t._v(" "),t.form.analyseFlag?i("el-descriptions-item",{attrs:{label:"活动目标"}},[t._v("销售额"+t._s(t.form.analyseAmount)+"万元")]):t._e()],1)],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{staticClass:"tableHead"},[this._v("意向等级")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("标签名称")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{staticClass:"tableHead"},[this._v("意向等级")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("短信模板")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{staticClass:"tableHead"},[this._v("通话状态")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("重拨次数")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("重拨间隔")])])])}]};var d=i("VU/8")(u,m,!1,function(t){i("48Xa")},"data-v-37b20a98",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([20],{"4eoi":function(t,e){},"Q+a4":function(t,e,i){"use strict";e.a={data:function(){return{defaultAvatar:i("hKdl")}},filters:{sceneFilter:function(t){var e="- -";switch(t){case 1:e="客户生日";break;case 2:e="节日活动邀约";break;case 3:e="加企微好友";break;case 4:e="客户复购";break;case 5:e="开卡场景";break;case 0:e="其它场景"}return e}},methods:{filterAvatar:function(t){return t?t.replace(/^http(s)?/,"https"):this.defaultAvatar}}}},"Qb7/":function(t,e,i){"use strict";i.d(e,"M",function(){return s}),i.d(e,"L",function(){return r}),i.d(e,"N",function(){return c}),i.d(e,"T",function(){return o}),i.d(e,"b",function(){return l}),i.d(e,"J",function(){return u}),i.d(e,"P",function(){return m}),i.d(e,"O",function(){return d}),i.d(e,"u",function(){return b}),i.d(e,"S",function(){return f}),i.d(e,"R",function(){return p}),i.d(e,"K",function(){return _}),i.d(e,"D",function(){return v}),i.d(e,"C",function(){return g}),i.d(e,"A",function(){return h}),i.d(e,"v",function(){return y}),i.d(e,"H",function(){return j}),i.d(e,"a",function(){return O}),i.d(e,"F",function(){return T}),i.d(e,"B",function(){return k}),i.d(e,"x",function(){return D}),i.d(e,"y",function(){return C}),i.d(e,"z",function(){return w}),i.d(e,"E",function(){return x}),i.d(e,"G",function(){return F}),i.d(e,"w",function(){return I}),i.d(e,"h",function(){return S}),i.d(e,"i",function(){return E}),i.d(e,"j",function(){return M}),i.d(e,"s",function(){return L}),i.d(e,"d",function(){return N}),i.d(e,"e",function(){return J}),i.d(e,"q",function(){return A}),i.d(e,"k",function(){return H}),i.d(e,"l",function(){return W}),i.d(e,"m",function(){return q}),i.d(e,"t",function(){return G}),i.d(e,"f",function(){return Q}),i.d(e,"g",function(){return $}),i.d(e,"r",function(){return R}),i.d(e,"c",function(){return P}),i.d(e,"n",function(){return B}),i.d(e,"p",function(){return K}),i.d(e,"o",function(){return z}),i.d(e,"Q",function(){return U}),i.d(e,"I",function(){return V});var a=i("6Hqf"),n="api-marketing/ai/",s=function(t){return Object(a.b)(n+"page-statistics",t,!0)},r=function(t){return Object(a.b)(n+"page",t,!0)},c=function(t){return Object(a.b)("/api-marketing/recharge-center",t)},o=function(t){return Object(a.b)(n+"get-template-list",t,!0)},l=function(t){return Object(a.b)("/api-marketing/ai-dict-list",t,!0,!1,"get")},u=function(t){return Object(a.b)(n+"/init-activity",t,!0)},m=function(t){return Object(a.b)(n+"stop-activity-plan",t,!0,!1,"get")},d=function(t){return Object(a.b)(n+"start-activity-plan",t,!0,!1,"get")},b=function(t){return Object(a.b)(n+"get-activity-detail",t,!0,!1,"get")},f=function(t){return Object(a.b)("/api-marketing/template/page-statistics",t,!0,!1,"post")},p=function(t){return Object(a.b)("/api-marketing/template/query",t,!0,!1,"get")},_=function(t){return Object(a.b)("/api-marketing/list-all-holidays",t,!0,!1,"get")},v=function(t){return Object(a.b)(n+"/get-member-count",t,!0,!1,"get")},g=function(t){return Object(a.b)("/api-marketing/page-activity-event-exec-log",t,!0,!1,"get")},h=function(t){return Object(a.b)("/api-marketing/statistics/page-data-statistics-custom-detail",t,!0,!1,"get")},y=function(t){return Object(a.b)("/api-marketing/statistics/get-activity-info",t,!0,!1,"get")},j=function(t){return Object(a.b)("/api-marketing/get-sms-template-echo",t,!0)},O=function(t){return Object(a.b)("/api-marketing/ai/ai-account-check",t,!0,!1,"get")},T=function(t){return Object(a.b)("/api-marketing/statistics/out-bound",t,!0,!1,"get")},k=function(t){return Object(a.b)("/api-marketing/statistics/intention-label",t,!0,!1,"get")},D=function(t){return Object(a.b)("/api-marketing/statistics/bill-quality-analysis",t,!0,!1,"get")},C=function(t){return Object(a.b)("/api-marketing/statistics/call-duration",t,!0,!1,"get")},w=function(t){return Object(a.b)("/api-marketing/statistics/comparative-statistics",t,!0,!1,"get")},x=function(t){return Object(a.b)("/api-plug/query-member-crowd-new",t,!0)},F=function(t){return Object(a.b)("/api-marketing/statistics/plan-statistics",t,!0,!1,"get")},I=function(t){return Object(a.b)(n+"/ai-calc-single",t,!0,!1,"get")},S=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank",t,!0,!1,"post",e)},E=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-rank-no-belong",t,!0)},M=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-outbound-statistics",t,!0)},L="/api-marketing/statistics/export-ai-store-outbound",N=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-rank",t,!0,!1,"post",e)},J=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-outbound-Statistics",t,!0)},A="/api-marketing/statistics/export-ai-store-group-outbound",H=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-transfer",t,!0,!1,"post",e)},W=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-no-belong",t,!0)},q=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-transfer-statistics",t,!0)},G="/api-marketing/statistics/export-ai-store-transfer",Q=function(t,e){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer",t,!0,!1,"post",e)},$=function(t){return Object(a.b)("/api-marketing/statistics/ai-store-group-transfer-Statistics",t,!0)},R="/api-marketing/statistics/export-ai-store-group-transfer",P=function(t){return Object(a.b)("/api-marketing/statistics/ai-outbound-store-group-split",t,!0,!1,"get")},B=function(t){return Object(a.b)("/api-marketing/statistics/ai-transform-store-group-split",t,!0,!1,"get")},K="/api-marketing/statistics/export-ai-custom-detail",z=function(t){return Object(a.b)("/api-marketing/ai/continue-activity-plan",t,!0,!1,"get")},U=function(t){return Object(a.b)("/api-marketing/ai/suspend-activity-plan",t,!0,!1,"get")},V=function(t){return Object(a.b)("/api-marketing/ai/import-ai-call-phone",t,!0)}},bA12:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),s=i("exGp"),r=i.n(s),c=i("Q+a4"),o=i("0xDb"),l=i("Qb7/"),u={mixins:[c.a],data:function(){return{formatDateTimeByType:o.f,loading:!1,form:{},birthTimeData:{birth_days:" ",birthDate1:"",birthDate2:"",birthDate3:"",birth_type:1,callFlag:0,callTime:[{}],activeTime:""},holidayTimeData:{holiday_day:"",callFlag:0,activeTime:"",callTime:[{}]},activeTimeData:{activeTime:"",callFlag:1,callTime:[{}]},tagMatchList:[],smsList:[],recallList:[],gradeObject:{},unlinkObject:{},templateObject:{},selectedGroupIds:"",memberCrowdWidgetId:""}},mounted:function(){this.getActivityDetail(this.$route.params.id)},filters:{birthTypeFilter:function(t){var e="";switch(t){case 1:e="生日当天";break;case 2:e="生日当月"}return e}},methods:{getActivityDetail:function(t){var e=this;return r()(n.a.mark(function i(){var a,s,r,c,u,m,d,b,f,p,_,v,g,h,y,j,O,T,k,D,C,w,x,F,I,S,E,M,L,N,J,A,H,W,q,G,Q,$,R,P,B,K,z,U,V,X,Y,Z,tt;return n.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return e.loading=!0,i.next=3,Object(l.b)({dictType:"ai_member_label"});case 3:return a=i.sent,i.next=6,Object(l.b)({dictType:"ai_recall_status"});case 6:return s=i.sent,i.next=9,Object(l.T)({status:5});case 9:return r=i.sent,a.result&&a.result.forEach(function(t){e.gradeObject[t.dict_code]=t}),s.result&&s.result.forEach(function(t){e.unlinkObject[t.dict_code]=t}),r.result&&r.result.forEach(function(t){e.templateObject[t.aiTemplateId]=t}),i.prev=13,i.next=16,Object(l.u)({activityId:t});case 16:if(c=i.sent,u=c.result,console.log(u),u){i.next=21;break}return i.abrupt("return");case 21:m=u.activityId,d=u.activityName,b=u.activityPlanList,f=u.analyseAmount,p=u.analyseDays,_=u.analyseFlag,v=u.startDate,g=u.endDate,h=u.scene,y=b[0],j=y.activityEventList,O=y.filterJson,T=y.memberType,k=y.planId,D=y.planMemberCount,C=y.planName,w=y.sceneJson,x=j[0],F=x.aiEventId,I=x.aiTemplateId,S=x.callFlag,E=x.callTime,M=x.eventId,L=x.labelFlag,N=x.recallFlag,J=x.smsFlag,A=x.labelJson,H=x.recallJson,W=x.smsJson,q=JSON.parse(w),G=q.birth_type,Q=q.birth_days,$=q.holiday_type,R=q.holiday_name,P=q.holiday_date,B=q.consume_days_flag,K=q.consume_days,z=q.consume_times_flag,U=q.consume_times,V=q.consume_amount_flag,X=q.consume_amount,e.form={activityName:d,activityId:m,scene:h,aiTemplateId:I,memberType:T,filterJson:O,analyseFlag:_,labelFlag:L,smsFlag:J,recallFlag:N,planMemberCount:D.toLocaleString(),analyseDays:p,analyseAmount:f,planId:k,planName:C,aiEventId:F,eventId:M,consume_days_flag:B,consume_days:K,consume_times_flag:z,consume_times:U,consume_amount_flag:V,consume_amount:X},0==T?e.memberCrowdWidgetId=O:1==T&&(e.selectedGroupIds=O),Y=Object(o.f)(v,"yyyy-MM-dd"),Z=Object(o.f)(g,"yyyy-MM-dd"),1==h?(e.birthTimeData={birth_days:Q,activeTime:[Y,Z].join("~"),birth_type:G,callFlag:S,callTime:JSON.parse(E).join(",")},1==G?e.birthTimeData.birthDate1=[Y,Z].join("~"):2==G?e.birthTimeData.birthDate2=[Object(o.f)(v,"yyyy-MM"),Object(o.f)(g,"yyyy-MM")].join("~"):3==G&&(e.birthTimeData.birthDate3=[Object(o.f)(v+864e5*Q,"yyyy-MM-dd"),Object(o.f)(g+864e5*Q,"yyyy-MM-dd")].join("~"))):2==h?(e.holidayTimeData={holiday_type:$,holiday_name:R,holiday_date:P,holiday_day:"",callFlag:S,callTime:JSON.parse(E).join(","),startDate:Y,activeTime:[Y,Z].join("~"),endDate:Z},console.log(new Date(P+" 00:00:00").getTime()),console.log(v),e.holidayTimeData.holiday_day=(new Date(P+" 00:00:00").getTime()-v)/864e5):e.activeTimeData={activeTime:[Y,Z].join("~"),callFlag:S,callTime:JSON.parse(E).join(",")},L&&(e.tagMatchList=JSON.parse(A),e.tagMatchList.forEach(function(t){var i=[];t.options.forEach(function(t){i.push(e.gradeObject[t].dict_name)}),t.optionsStr=i.join(",")})),J&&(e.smsList=JSON.parse(W),tt=[],e.smsList.forEach(function(t){var i=[];t.options.forEach(function(t){i.push(e.gradeObject[t].dict_name)}),tt.push(t.template),t.optionsStr=i.join(",")}),e.getSmsTemplateEcho(tt)),N&&(e.recallList=JSON.parse(H),e.recallList.forEach(function(t){var i=[];t.options.forEach(function(t){i.push(e.unlinkObject[t].dict_name)}),t.optionsStr=i.join(",")}));case 33:return i.prev=33,e.loading=!1,i.finish(33);case 36:case"end":return i.stop()}},i,e,[[13,,33,36]])}))()},getAiDictList:function(t){var e=this;return r()(n.a.mark(function t(){var i,a;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(l.b)({dictType:"ai_member_label"});case 2:return i=t.sent,t.next=5,Object(l.b)({dictType:"ai_recall_status"});case 5:a=t.sent,e.gradeOptions=i.result,e.unlinkOptions=a.result,i.result&&i.result.forEach(function(t){e.gradeObject[t.dict_code]=t}),a.result&&a.result.forEach(function(t){e.unlinkObject[t.dict_code]=t});case 10:case"end":return t.stop()}},t,e)}))()},getTemplateList:function(){var t=this;return r()(n.a.mark(function e(){var i,a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(l.T)({status:5});case 2:i=e.sent,(a=i.result)&&a.forEach(function(e){t.templateObject[e.aiTemplateId]=e});case 5:case"end":return e.stop()}},e,t)}))()},getSmsTemplateEcho:function(t){var e=this;return r()(n.a.mark(function i(){var a,s,r;return n.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(l.H)({ids:t.join(",")});case 2:if(a=i.sent,s=a.result){i.next=6;break}return i.abrupt("return");case 6:r={},s.length&&s.forEach(function(t){r[t.gicSmsTemplateId]=t}),e.smsList.forEach(function(t){r[t.template]&&(t.smsContent=r[t.template].smsContent),e.smsList=e.smsList.slice(0)});case 9:case"end":return i.stop()}},i,e)}))()}}},m={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"detail"},[i("dm-sub-title",{attrs:{type:"line"}},[t._v("基本信息")]),t._v(" "),i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"活动场景"}},[t._v(" "+t._s(t._f("sceneFilter")(t.form.scene)))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"活动名称"}},[t._v(t._s(t.form.activityName))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"话术"}},[t._v(t._s(t.form.aiTemplateId&&t.templateObject[t.form.aiTemplateId].name))]),t._v(" "),2==t.form.scene?i("el-descriptions-item",{attrs:{label:"节日名称"}},[t._v(t._s(t.holidayTimeData.holiday_name))]):t._e(),t._v(" "),2==t.form.scene?i("el-descriptions-item",{attrs:{label:"节日日期"}},[t._v(t._s(t.holidayTimeData.holiday_date))]):t._e()],1)],1),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("活动时间")]),t._v(" "),1==t.form.scene?i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[3==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"外呼时间"}},[t._v(" 生日前"+t._s(t.birthTimeData.birth_days)+"天")]):i("el-descriptions-item",{attrs:{label:"外呼时间"}},[t._v(t._s(t._f("birthTypeFilter")(t.birthTimeData.birth_type)))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼时段"}},[t._v(t._s(t.birthTimeData.callTime))]),t._v(" "),1==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"生日范围"}},[t._v(t._s(t.birthTimeData.birthDate1))]):t._e(),t._v(" "),2==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"生日范围"}},[t._v(t._s(t.birthTimeData.birthDate2))]):t._e(),t._v(" "),3==t.birthTimeData.birth_type?i("el-descriptions-item",{attrs:{label:"生日范围"}},[t._v(t._s(t.birthTimeData.birthDate3))]):t._e(),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼周期"}},[t._v(t._s(t.birthTimeData.activeTime))])],1)],1):t._e(),t._v(" "),2==t.form.scene?i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"外呼时间"}},[t._v("节日前"+t._s(t.holidayTimeData.holiday_day)+"天内外呼完成")]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼时段"}},[t._v(t._s(t.holidayTimeData.callTime))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼周期"}},[t._v(t._s(t.holidayTimeData.activeTime))])],1)],1):t._e(),t._v(" "),3==t.form.scene||4==t.form.scene||0==t.form.scene||5==t.form.scene?i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"外呼时段"}},[t._v(" "+t._s(t.activeTimeData.callTime))]),t._v(" "),i("el-descriptions-item",{attrs:{label:"外呼周期"}},[t._v(t._s(t.activeTimeData.activeTime))])],1)],1):t._e(),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("人群规则")]),t._v(" "),i("div",{staticClass:"section"},[5!=t.form.scene?i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"参与人群"}},[t._v(t._s(0!=t.form.memberType||t.memberCrowdWidgetId?"":"全部客户")+" ")]),t._v(" "),i("el-descriptions-item",{attrs:{label:"预计覆盖人数"}},[i("span",{staticClass:"numStyle"},[t._v(t._s(t.form.planMemberCount))])])],1):i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"号码导入"}},[i("span",{staticClass:"numStyle"},[t._v(t._s(t.form.planMemberCount))]),t._v("条")])],1),t._v(" "),i("gic-new-rule",{directives:[{name:"show",rawName:"v-show",value:0==t.form.memberType&&t.memberCrowdWidgetId,expression:"form.memberType == 0 && memberCrowdWidgetId"}],staticStyle:{width:"100%"},attrs:{memberCrowdWidgetId:t.memberCrowdWidgetId,onlyRead:""}}),t._v(" "),i("gic-new-member-group",{directives:[{name:"show",rawName:"v-show",value:1==t.form.memberType,expression:"form.memberType == 1"}],staticStyle:{width:"100%"},attrs:{selectedIds:t.selectedGroupIds,onlyRead:""}})],1),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("外呼规则配置")]),t._v(" "),i("div",{staticClass:"section"},[5!=t.form.scene?i("div",{staticClass:"card"},[i("div",{staticClass:"title"},[t._v("根据客户意向打标标签:"+t._s(t.form.labelFlag?"开启":"未开启"))]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form.labelFlag,expression:"form.labelFlag"}],staticClass:"content"},[i("table",[t._m(0),t._v(" "),i("tbody",t._l(t.tagMatchList,function(e,a){return i("tr",{key:a},[i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[t._v("\n "+t._s(e.optionsStr)+"\n ")]),t._v(" "),i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[i("el-tag",{attrs:{type:"mini"}},[t._v(t._s(e.name))])],1)])}),0)])])]):t._e(),t._v(" "),i("div",{staticClass:"card"},[i("div",{staticClass:"title"},[t._v("根据客户意向发送挂机短信:"+t._s(t.form.smsFlag?"开启":"未开启"))]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form.smsFlag,expression:"form.smsFlag"}],staticClass:"content"},[i("table",[t._m(1),t._v(" "),i("tbody",t._l(t.smsList,function(e,a){return i("tr",{key:a},[i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[t._v("\n "+t._s(e.optionsStr)+"\n ")]),t._v(" "),i("td",{staticClass:"cell",staticStyle:{width:"50%"}},[i("el-tag",{attrs:{type:"mini"}},[t._v(t._s(e.title))]),t._v(" "),i("el-popover",{attrs:{placement:"top-start",width:"200",trigger:"hover",content:e.smsContent}},[i("el-button",{staticClass:"ml10",attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v("查看短信内容 ")])],1)],1)])}),0)])])]),t._v(" "),i("div",{staticClass:"card"},[i("div",{staticClass:"title"},[t._v("根据客户意向自动重拨:"+t._s(t.form.recallFlag?"开启":"未开启"))]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.form.recallFlag,expression:"form.recallFlag"}],staticClass:"content"},[i("table",[t._m(2),t._v(" "),i("tbody",t._l(t.recallList,function(e,a){return i("tr",{key:a},[i("td",{staticClass:"cell"},[t._v("\n "+t._s(e.optionsStr)+"\n ")]),t._v(" "),i("td",{staticClass:"cell"},[t._v("\n "+t._s(e.times)+"\n ")]),t._v(" "),i("td",{staticClass:"cell"},[t._v("\n "+t._s(e.interval)+"\n ")])])}),0)])])])]),t._v(" "),i("dm-sub-title",{attrs:{type:"line"}},[t._v("活动分析设置")]),t._v(" "),i("div",{staticClass:"section"},[i("el-descriptions",{attrs:{column:"4"}},[i("el-descriptions-item",{attrs:{label:"活动分析"}},[t._v(" "+t._s(t.form.analyseFlag?"开启":"未开启"))]),t._v(" "),t.form.analyseFlag?i("el-descriptions-item",{attrs:{label:"分析天数"}},[t._v("触达日期起 "+t._s(t.form.analyseDays)+"天之内")]):t._e(),t._v(" "),t.form.analyseFlag?i("el-descriptions-item",{attrs:{label:"活动目标"}},[t._v("销售额"+t._s(t.form.analyseAmount)+"万元")]):t._e()],1)],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{staticClass:"tableHead"},[this._v("意向等级")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("标签名称")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{staticClass:"tableHead"},[this._v("意向等级")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("短信模板")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",{staticClass:"tableHead"},[this._v("通话状态")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("重拨次数")]),this._v(" "),e("th",{staticClass:"tableHead"},[this._v("重拨间隔")])])])}]};var d=i("VU/8")(u,m,!1,function(t){i("4eoi")},"data-v-cb0cb680",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([21],{ARdd:function(e,t){},PIjF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ARdd"),i=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,function(){return r[e]})}(u);var a=n("YQOf"),s=n("VU/8")(i.a,a.a,!1,null,null,null);t.default=s.exports},YQOf:function(e,t,n){"use strict";var r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("keep-alive",[this.$route.meta.keepAlive?t("router-view"):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():t("router-view")],1)},staticRenderFns:[]};t.a=r}});
\ No newline at end of file
webpackJsonp([21],{ARdd:function(e,t){},PIjF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ARdd"),i=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,function(){return r[e]})}(u);var a=n("y/Ol"),l=n("VU/8")(i.a,a.a,!1,null,null,null);t.default=l.exports},"y/Ol":function(e,t,n){"use strict";var r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("keep-alive",[this.$route.meta.keepAlive?t("router-view"):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():t("router-view")],1)},staticRenderFns:[]};t.a=r}});
\ No newline at end of file
webpackJsonp([22],{"EBS+":function(t,e,n){"use strict";n.d(e,"O",function(){return o}),n.d(e,"Q",function(){return a}),n.d(e,"o",function(){return i}),n.d(e,"_18",function(){return f}),n.d(e,"j",function(){return d}),n.d(e,"d",function(){return s}),n.d(e,"_21",function(){return b}),n.d(e,"q",function(){return p}),n.d(e,"b",function(){return l}),n.d(e,"h",function(){return g}),n.d(e,"c",function(){return O}),n.d(e,"g",function(){return j}),n.d(e,"L",function(){return h}),n.d(e,"X",function(){return m}),n.d(e,"R",function(){return v}),n.d(e,"S",function(){return _}),n.d(e,"T",function(){return y}),n.d(e,"D",function(){return k}),n.d(e,"G",function(){return x}),n.d(e,"_15",function(){return S}),n.d(e,"f",function(){return w}),n.d(e,"P",function(){return C}),n.d(e,"e",function(){return D}),n.d(e,"y",function(){return z}),n.d(e,"_11",function(){return A}),n.d(e,"x",function(){return P}),n.d(e,"r",function(){return $}),n.d(e,"_10",function(){return B}),n.d(e,"_4",function(){return T}),n.d(e,"_22",function(){return q}),n.d(e,"n",function(){return E}),n.d(e,"_6",function(){return F}),n.d(e,"m",function(){return L}),n.d(e,"z",function(){return N}),n.d(e,"B",function(){return I}),n.d(e,"t",function(){return J}),n.d(e,"_14",function(){return M}),n.d(e,"i",function(){return G}),n.d(e,"_16",function(){return Z}),n.d(e,"J",function(){return H}),n.d(e,"I",function(){return R}),n.d(e,"_5",function(){return U}),n.d(e,"k",function(){return V}),n.d(e,"_20",function(){return K}),n.d(e,"C",function(){return Q}),n.d(e,"_8",function(){return W}),n.d(e,"_13",function(){return X}),n.d(e,"l",function(){return Y}),n.d(e,"s",function(){return tt}),n.d(e,"_9",function(){return et}),n.d(e,"N",function(){return nt}),n.d(e,"M",function(){return rt}),n.d(e,"_0",function(){return ct}),n.d(e,"_12",function(){return ut}),n.d(e,"_7",function(){return ot}),n.d(e,"A",function(){return at}),n.d(e,"v",function(){return it}),n.d(e,"F",function(){return ft}),n.d(e,"_3",function(){return dt}),n.d(e,"w",function(){return st}),n.d(e,"_2",function(){return bt}),n.d(e,"_1",function(){return pt}),n.d(e,"V",function(){return lt}),n.d(e,"Y",function(){return gt}),n.d(e,"p",function(){return Ot}),n.d(e,"u",function(){return jt}),n.d(e,"a",function(){return ht}),n.d(e,"_19",function(){return mt}),n.d(e,"_17",function(){return vt}),n.d(e,"U",function(){return _t}),n.d(e,"W",function(){return yt}),n.d(e,"Z",function(){return kt}),n.d(e,"H",function(){return xt}),n.d(e,"K",function(){return St}),n.d(e,"E",function(){return wt});var r=n("6Hqf"),c=n("2uFj"),u="api-marketing/",o=(c.a.api,function(t){return Object(r.b)("/api-admin/list-wm-coupon",t,!1,!1,"post")}),a=function(t){return Object(r.b)("/api-admin/list-coupon-log",t,!1,!1,"post")},i=function(t){return Object(r.b)("/api-admin/delete-coupon-error-log",t,!1,!1,"post")},f=function(t){return Object(r.b)("/api-admin/send-coupon-reset",t,!1,!1,"post")},d=function(t){return Object(r.b)("/api-admin/consume-coupon",t,!1,!1,"post")},s=function(t){return Object(r.b)(u+"card-page",t)},b=function(t){return Object(r.b)(u+"update-card-stock",t)},p=function(t){return Object(r.b)(u+"delete-card",t)},l=function(t){return Object(r.b)(u+"card-channel-analysis",t)},g=function(t){return Object(r.b)(u+"card-basic-statistics",t)},O=function(t){return Object(r.b)(u+"card-channel-statistics",t)},j=function(t){return Object(r.b)(u+"card-trend-echart",t)},h=function(t){return Object(r.b)(u+"get-category-list",t)},m=function(t){return Object(r.b)(u+"weimob-coupon-bind-count",t)},v=function(t){return Object(r.b)(u+"latest-reptile-time",t)},_=function(t){return Object(r.b)(u+"get-property-list",t)},y=function(t){return Object(r.b)(u+"get-property-value-list",t)},k=function(t){return Object(r.b)(u+"get-card-detail",t)},x=function(t){return Object(r.b)(u+"list-coupon-names",t)},S=function(t){return Object(r.b)(u+"save-update-card",t)},w=function(t){return Object(r.b)(u+"card-record-page",t)},C=function(t){return Object(r.b)(u+"coup-give-log-page",t)},D=function(t){return Object(r.b)(u+"card-put-on-record",t)},z=c.a.api+u+"export-card-put-on-record-excel",A=function(t){return Object(r.b)(u+"page-back-coup-log",t)},P=c.a.api+u+"export-back-coup-excel",$=function(t){return Object(r.b)(u+"delete-card-puton",t)},B=function(t){return Object(r.b)(u+"refresh-put-on-count",t)},T=function(t){return Object(r.b)(u+"list-coupcard-order",t)},q=function(t){return Object(r.b)(u+"write-off-card",t)},E=function(t){return Object(r.b)(u+"coupcard-destroy",t)},F=function(t){return Object(r.b)(u+"page-card-shelfs",t)},L=function(t){return Object(r.b)(u+"coupcard-check-list",t)},N=c.a.api+u+"export-coupcard-check-excel",I=c.a.api+u+"export-received-record-excel",J=function(t){return Object(r.b)(u+"delete-shelf-card",t)},M=function(t){return Object(r.b)(u+"save-shelf-card",t)},G=function(t){return Object(r.b)(u+"check-puton-memberIds",t)},Z=function(t){return Object(r.b)(u+"save-update-puton-card",t)},H=function(t){return Object(r.b)(u+"get-card-puton-detail",t)},R=function(t){return Object(r.b)(u+"get-marketing-setting",t)},U=function(t){return Object(r.b)(u+"load-goods-data",t)},V=function(t){return Object(r.b)(u+"copy-card-detail",t)},K=function(t){return Object(r.b)(u+"template-receive-card-page",t)},Q=c.a.api+u+"export-template-receive-excel",W=function(t){return Object(r.b)(u+"page-coup-package",t)},X=function(t){return Object(r.b)(u+"create-coup-package",t)},Y=function(t){return Object(r.b)(u+"coup-package-detail",t)},tt=function(t){return Object(r.b)(u+"delete-coup-package",t)},et=function(t){return Object(r.b)(u+"page-coup-package-log",t)},nt=function(t){return Object(r.b)(u+"get-coup-list-info",t)},rt=function(t){return Object(r.b)(u+"get-coup-destory-detail",t)},ct=u+"import-destory-coup-code",ut=function(t){return Object(r.b)(u+"save-coup-destory-plan",t)},ot=function(t){return Object(r.b)(u+"page-coup-destory-plan",t)},at=c.a.api+u+"export-destory-plan-code?requestProject=marketing",it=c.a.api+u+"download-destroy-code-template?requestProject=marketing",ft=function(t){return Object(r.b)(u+"/get-card-effective-mode",t)},dt=function(t){return Object(r.b)(u+"/list-consume-refund-page",t)},st=c.a.api+u+"ecm-consume-coupon-excel",bt=function(t){return Object(r.b)(u+"/list-consume-coupon-detail",t)},pt=function(t){return Object(r.b)(u+"/is-aolai",t)},lt=function(t){return Object(r.b)(u+"write-off-store-page",t)},gt=function(t){return Object(r.b)(u+"card-write-off-qrcode",t)},Ot=function(t){return Object(r.b)(u+"delete-write-off-store",t)},jt=function(t){return Object(r.b)(u+"delete-write-off-staff",t)},ht=function(t){return Object(r.b)(u+"save-write-off-store",t,!0)},mt=function(t){return Object(r.b)(u+"save-write-off-staff",t)},vt=function(t){return Object(r.b)(u+"check-write-off-staff",t)},_t=function(t){return Object(r.b)("/api-plug/query-store-by-code-name-new",t)},yt=function(t){return Object(r.b)("/api-plug/get-store-widget-store",t)},kt=function(t){return Object(r.b)("/api-marketing/import-cost-store",t,!0)},xt=function(t){return Object(r.b)(u+"card-write-off-log-page",t)},St=function(t){return Object(r.b)(u+"card-write-off-store-page",t)},wt=function(t){return Object(r.b)(u+"card-write-off-page",t)}},bCih:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("EBS+"),c={name:"card-connect-list",data:function(){return{tableData:[],search:{date:[],input:"",isActive:!0},pager:{total:0,pageSizes:[20,40,60,80],pageSize:20,currentPage:1}}},created:function(){this.getData()},methods:{formatDateTimeByType:n("0xDb").f,getData:function(){var t=this,e=this.pager,n=e.currentPage,c=e.pageSize,u=this.search,o=u.input,a=u.date,i=u.isActive,f={search:o,beginTime:Array.isArray(a)?a[0]:"",endTime:Array.isArray(a)?a[1]:"",showFlag:Number(i),currentPage:n,pageSize:c};Object(r.O)(f).then(function(e){var n=e||{},r=n.errorCode,c=n.message,u=n.result;0==r?(t.tableData=u.result||[],t.pager.total=u.totalCount||0):t.$message.error(c)})},onSearch:function(){this.pager.currentPage=1,this.getData()},onCurrentChange:function(t){this.pager.currentPage=t,this.getData()},onSizeChange:function(t){this.pager.pageSize=t,this.onSearch()},toCouponDetail:function(t){this.$router.push("/card/info/"+t.coupCardId)},toGetList:function(t){this.$router.push("/card/record/get?coupCardId="+t.coupCardId)}}},u={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dm-wrap"},[n("el-date-picker",{staticStyle:{width:"256px"},attrs:{type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd",clearable:""},on:{change:t.onSearch},model:{value:t.search.date,callback:function(e){t.$set(t.search,"date",e)},expression:"search.date"}}),t._v(" "),n("el-input",{staticStyle:{"margin-left":"10px",width:"260px"},attrs:{clearable:"",type:"text",placeholder:"请输入卡券名称","prefix-icon":"el-icon-search"},on:{change:t.onSearch},model:{value:t.search.input,callback:function(e){t.$set(t.search,"input","string"==typeof e?e.trim():e)},expression:"search.input"}}),t._v(" "),n("div",{staticClass:"check-active-card"},[n("el-checkbox",{attrs:{label:"仅展示有效卡券"},on:{change:t.onSearch},model:{value:t.search.isActive,callback:function(e){t.$set(t.search,"isActive",e)},expression:"search.isActive"}})],1),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingConnectLogs)?n("el-button",{staticStyle:{float:"right",color:"#2F54EB","border-color":"#2F54EB"},attrs:{"limit-code":t.$buttonCode.marketingConnectLogs},on:{click:function(e){return t.$router.push("/card/async-logs")}}},[t._v("错误日志")]):t._e(),t._v(" "),n("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:t.tableData}},[n("el-table-column",{attrs:{label:"绑定时间",sortable:"","sort-by":"createDate"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v(t._s(t.formatDateTimeByType(n.createDate)))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"卡券名称 (达摩侧) ",prop:"cardName"}}),t._v(" "),n("el-table-column",{attrs:{label:"卡券名称 (微盟侧)"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return Array.isArray(JSON.parse(r.weimobDemoCode))?n("div",{staticStyle:{"line-height":"normal"}},[n("p",[t._v(t._s(JSON.parse(r.weimobDemoCode)[0].name))]),t._v(" "),n("p",{staticStyle:{"font-size":"12px"}},[t._v(t._s(JSON.parse(r.weimobDemoCode)[0].card))])]):t._e()}}],!0)}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.toCouponDetail(r)}}},[t._v("卡券详情")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.toGetList(r)}}},[t._v("领取记录")])]}}])})],1),t._v(" "),t.pager.total>0?n("el-pagination",{staticStyle:{"margin-top":"20px","text-align":"right"},attrs:{layout:"total,sizes,prev,pager,next",background:"",total:t.pager.total,"page-sizes":t.pager.pageSizes,"page-size":t.pager.pageSize,"current-page":t.pager.currentPage},on:{"current-change":t.onCurrentChange,"size-change":t.onSizeChange}}):t._e()],1)},staticRenderFns:[]};var o=n("VU/8")(c,u,!1,function(t){n("rZP/")},"data-v-1ab866a8",null);e.default=o.exports},"rZP/":function(t,e){}});
\ No newline at end of file
webpackJsonp([22],{"5pTl":function(t,e){},"EBS+":function(t,e,n){"use strict";n.d(e,"O",function(){return o}),n.d(e,"Q",function(){return a}),n.d(e,"o",function(){return i}),n.d(e,"_18",function(){return f}),n.d(e,"j",function(){return d}),n.d(e,"d",function(){return s}),n.d(e,"_21",function(){return p}),n.d(e,"q",function(){return b}),n.d(e,"b",function(){return l}),n.d(e,"h",function(){return g}),n.d(e,"c",function(){return O}),n.d(e,"g",function(){return j}),n.d(e,"L",function(){return h}),n.d(e,"X",function(){return m}),n.d(e,"R",function(){return v}),n.d(e,"S",function(){return _}),n.d(e,"T",function(){return y}),n.d(e,"D",function(){return k}),n.d(e,"G",function(){return x}),n.d(e,"_15",function(){return S}),n.d(e,"f",function(){return w}),n.d(e,"P",function(){return C}),n.d(e,"e",function(){return D}),n.d(e,"y",function(){return z}),n.d(e,"_11",function(){return A}),n.d(e,"x",function(){return $}),n.d(e,"r",function(){return P}),n.d(e,"_10",function(){return T}),n.d(e,"_4",function(){return B}),n.d(e,"_22",function(){return q}),n.d(e,"n",function(){return E}),n.d(e,"_6",function(){return F}),n.d(e,"m",function(){return L}),n.d(e,"z",function(){return N}),n.d(e,"B",function(){return I}),n.d(e,"t",function(){return J}),n.d(e,"_14",function(){return M}),n.d(e,"i",function(){return G}),n.d(e,"_16",function(){return H}),n.d(e,"J",function(){return R}),n.d(e,"I",function(){return U}),n.d(e,"_5",function(){return V}),n.d(e,"k",function(){return K}),n.d(e,"_20",function(){return Q}),n.d(e,"C",function(){return W}),n.d(e,"_8",function(){return X}),n.d(e,"_13",function(){return Y}),n.d(e,"l",function(){return Z}),n.d(e,"s",function(){return tt}),n.d(e,"_9",function(){return et}),n.d(e,"N",function(){return nt}),n.d(e,"M",function(){return rt}),n.d(e,"_0",function(){return ct}),n.d(e,"_12",function(){return ut}),n.d(e,"_7",function(){return ot}),n.d(e,"A",function(){return at}),n.d(e,"v",function(){return it}),n.d(e,"F",function(){return ft}),n.d(e,"_3",function(){return dt}),n.d(e,"w",function(){return st}),n.d(e,"_2",function(){return pt}),n.d(e,"_1",function(){return bt}),n.d(e,"V",function(){return lt}),n.d(e,"Y",function(){return gt}),n.d(e,"p",function(){return Ot}),n.d(e,"u",function(){return jt}),n.d(e,"a",function(){return ht}),n.d(e,"_19",function(){return mt}),n.d(e,"_17",function(){return vt}),n.d(e,"U",function(){return _t}),n.d(e,"W",function(){return yt}),n.d(e,"Z",function(){return kt}),n.d(e,"H",function(){return xt}),n.d(e,"K",function(){return St}),n.d(e,"E",function(){return wt});var r=n("6Hqf"),c=n("2uFj"),u="api-marketing/",o=(c.a.api,function(t){return Object(r.b)("/api-admin/list-wm-coupon",t,!1,!1,"post")}),a=function(t){return Object(r.b)("/api-admin/list-coupon-log",t,!1,!1,"post")},i=function(t){return Object(r.b)("/api-admin/delete-coupon-error-log",t,!1,!1,"post")},f=function(t){return Object(r.b)("/api-admin/send-coupon-reset",t,!1,!1,"post")},d=function(t){return Object(r.b)("/api-admin/consume-coupon",t,!1,!1,"post")},s=function(t){return Object(r.b)(u+"card-page",t)},p=function(t){return Object(r.b)(u+"update-card-stock",t)},b=function(t){return Object(r.b)(u+"delete-card",t)},l=function(t){return Object(r.b)(u+"card-channel-analysis",t)},g=function(t){return Object(r.b)(u+"card-basic-statistics",t)},O=function(t){return Object(r.b)(u+"card-channel-statistics",t)},j=function(t){return Object(r.b)(u+"card-trend-echart",t)},h=function(t){return Object(r.b)(u+"get-category-list",t)},m=function(t){return Object(r.b)(u+"weimob-coupon-bind-count",t)},v=function(t){return Object(r.b)(u+"latest-reptile-time",t)},_=function(t){return Object(r.b)(u+"get-property-list",t)},y=function(t){return Object(r.b)(u+"get-property-value-list",t)},k=function(t){return Object(r.b)(u+"get-card-detail",t)},x=function(t){return Object(r.b)(u+"list-coupon-names",t)},S=function(t){return Object(r.b)(u+"save-update-card",t)},w=function(t){return Object(r.b)(u+"card-record-page",t)},C=function(t){return Object(r.b)(u+"coup-give-log-page",t)},D=function(t){return Object(r.b)(u+"card-put-on-record",t)},z=c.a.api+u+"export-card-put-on-record-excel",A=function(t){return Object(r.b)(u+"page-back-coup-log",t)},$=c.a.api+u+"export-back-coup-excel",P=function(t){return Object(r.b)(u+"delete-card-puton",t)},T=function(t){return Object(r.b)(u+"refresh-put-on-count",t)},B=function(t){return Object(r.b)(u+"list-coupcard-order",t)},q=function(t){return Object(r.b)(u+"write-off-card",t)},E=function(t){return Object(r.b)(u+"coupcard-destroy",t)},F=function(t){return Object(r.b)(u+"page-card-shelfs",t)},L=function(t){return Object(r.b)(u+"coupcard-check-list",t)},N=c.a.api+u+"export-coupcard-check-excel",I=c.a.api+u+"export-received-record-excel",J=function(t){return Object(r.b)(u+"delete-shelf-card",t)},M=function(t){return Object(r.b)(u+"save-shelf-card",t)},G=function(t){return Object(r.b)(u+"check-puton-memberIds",t)},H=function(t){return Object(r.b)(u+"save-update-puton-card",t)},R=function(t){return Object(r.b)(u+"get-card-puton-detail",t)},U=function(t){return Object(r.b)(u+"get-marketing-setting",t)},V=function(t){return Object(r.b)(u+"load-goods-data",t)},K=function(t){return Object(r.b)(u+"copy-card-detail",t)},Q=function(t){return Object(r.b)(u+"template-receive-card-page",t)},W=c.a.api+u+"export-template-receive-excel",X=function(t){return Object(r.b)(u+"page-coup-package",t)},Y=function(t){return Object(r.b)(u+"create-coup-package",t)},Z=function(t){return Object(r.b)(u+"coup-package-detail",t)},tt=function(t){return Object(r.b)(u+"delete-coup-package",t)},et=function(t){return Object(r.b)(u+"page-coup-package-log",t)},nt=function(t){return Object(r.b)(u+"get-coup-list-info",t)},rt=function(t){return Object(r.b)(u+"get-coup-destory-detail",t)},ct=u+"import-destory-coup-code",ut=function(t){return Object(r.b)(u+"save-coup-destory-plan",t)},ot=function(t){return Object(r.b)(u+"page-coup-destory-plan",t)},at=c.a.api+u+"export-destory-plan-code?requestProject=marketing",it=c.a.api+u+"download-destroy-code-template?requestProject=marketing",ft=function(t){return Object(r.b)(u+"/get-card-effective-mode",t)},dt=function(t){return Object(r.b)(u+"/list-consume-refund-page",t)},st=c.a.api+u+"ecm-consume-coupon-excel",pt=function(t){return Object(r.b)(u+"/list-consume-coupon-detail",t)},bt=function(t){return Object(r.b)(u+"/is-aolai",t)},lt=function(t){return Object(r.b)(u+"write-off-store-page",t)},gt=function(t){return Object(r.b)(u+"card-write-off-qrcode",t)},Ot=function(t){return Object(r.b)(u+"delete-write-off-store",t)},jt=function(t){return Object(r.b)(u+"delete-write-off-staff",t)},ht=function(t){return Object(r.b)(u+"save-write-off-store",t,!0)},mt=function(t){return Object(r.b)(u+"save-write-off-staff",t)},vt=function(t){return Object(r.b)(u+"check-write-off-staff",t)},_t=function(t){return Object(r.b)("/api-plug/query-store-by-code-name-new",t)},yt=function(t){return Object(r.b)("/api-plug/get-store-widget-store",t)},kt=function(t){return Object(r.b)("/api-marketing/import-cost-store",t,!0)},xt=function(t){return Object(r.b)(u+"card-write-off-log-page",t)},St=function(t){return Object(r.b)(u+"card-write-off-store-page",t)},wt=function(t){return Object(r.b)(u+"card-write-off-page",t)}},bCih:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("EBS+"),c={name:"card-connect-list",data:function(){return{tableData:[],search:{date:[],input:"",isActive:!0},pager:{total:0,pageSizes:[20,40,60,80],pageSize:20,currentPage:1}}},created:function(){this.getData()},methods:{formatDateTimeByType:n("0xDb").f,getData:function(){var t=this,e=this.pager,n=e.currentPage,c=e.pageSize,u=this.search,o=u.input,a=u.date,i=u.isActive,f={search:o,beginTime:Array.isArray(a)?a[0]:"",endTime:Array.isArray(a)?a[1]:"",showFlag:Number(i),currentPage:n,pageSize:c};Object(r.O)(f).then(function(e){var n=e||{},r=n.errorCode,c=n.message,u=n.result;0==r?(t.tableData=u.result||[],t.pager.total=u.totalCount||0):t.$message.error(c)})},onSearch:function(){this.pager.currentPage=1,this.getData()},onCurrentChange:function(t){this.pager.currentPage=t,this.getData()},onSizeChange:function(t){this.pager.pageSize=t,this.onSearch()},toCouponDetail:function(t){this.$router.push("/card/info/"+t.coupCardId)},toGetList:function(t){this.$router.push("/card/record/get?coupCardId="+t.coupCardId)}}},u={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dm-wrap"},[n("el-date-picker",{staticStyle:{width:"256px"},attrs:{type:"daterange","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd",clearable:""},on:{change:t.onSearch},model:{value:t.search.date,callback:function(e){t.$set(t.search,"date",e)},expression:"search.date"}}),t._v(" "),n("el-input",{staticStyle:{"margin-left":"10px",width:"260px"},attrs:{clearable:"",type:"text",placeholder:"请输入卡券名称","prefix-icon":"el-icon-search"},on:{change:t.onSearch},model:{value:t.search.input,callback:function(e){t.$set(t.search,"input","string"==typeof e?e.trim():e)},expression:"search.input"}}),t._v(" "),n("div",{staticClass:"check-active-card"},[n("el-checkbox",{attrs:{label:"仅展示有效卡券"},on:{change:t.onSearch},model:{value:t.search.isActive,callback:function(e){t.$set(t.search,"isActive",e)},expression:"search.isActive"}})],1),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingConnectLogs)?n("el-button",{staticStyle:{float:"right",color:"#2F54EB","border-color":"#2F54EB"},attrs:{"limit-code":t.$buttonCode.marketingConnectLogs},on:{click:function(e){return t.$router.push("/card/async-logs")}}},[t._v("错误日志")]):t._e(),t._v(" "),n("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:t.tableData}},[n("el-table-column",{attrs:{label:"绑定时间",sortable:"","sort-by":"createDate"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v(t._s(t.formatDateTimeByType(n.createDate)))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"卡券名称 (达摩侧) ",prop:"cardName"}}),t._v(" "),n("el-table-column",{attrs:{label:"卡券名称 (微盟侧)"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return Array.isArray(JSON.parse(r.weimobDemoCode))?n("div",{staticStyle:{"line-height":"normal"}},[n("p",[t._v(t._s(JSON.parse(r.weimobDemoCode)[0].name))]),t._v(" "),n("p",{staticStyle:{"font-size":"12px"}},[t._v(t._s(JSON.parse(r.weimobDemoCode)[0].card))])]):t._e()}}],!0)}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.toCouponDetail(r)}}},[t._v("卡券详情")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(e){return t.toGetList(r)}}},[t._v("领取记录")])]}}])})],1),t._v(" "),t.pager.total>0?n("el-pagination",{staticStyle:{"margin-top":"20px","text-align":"right"},attrs:{layout:"total,sizes,prev,pager,next",background:"",total:t.pager.total,"page-sizes":t.pager.pageSizes,"page-size":t.pager.pageSize,"current-page":t.pager.currentPage},on:{"current-change":t.onCurrentChange,"size-change":t.onSizeChange}}):t._e()],1)},staticRenderFns:[]};var o=n("VU/8")(c,u,!1,function(t){n("5pTl")},"data-v-4f184172",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([8],{"+3KQ":function(t,e){},"/n6Q":function(t,e,i){i("zQR9"),i("+tPU"),t.exports=i("Kh4W").f("iterator")},"0SQO":function(t,e,i){"use strict";e.a={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.listParams.currentPage=1,this.listParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.listParams.currentPage=t,this.getTableList()}}}},"1ION":function(t,e,i){"use strict";i.d(e,"a",function(){return r}),i.d(e,"c",function(){return s}),i.d(e,"f",function(){return l}),i.d(e,"d",function(){return o}),i.d(e,"e",function(){return c}),i.d(e,"b",function(){return u});var a=i("6Hqf"),n="api-marketing/",r=(i("2uFj").a.api,function(t){return Object(a.b)(n+"marketing-activity-page",t)}),s=function(t){return Object(a.b)(n+"del-marketing-activity",t)},l=function(t){return Object(a.b)(n+"expire-marketing-activity",t)},o=function(t){return Object(a.b)(n+"get-marketing-activity-detail",t)},c=function(t){return Object(a.b)(n+"save-edit-marketing-activity",t)},u=function(t){return Object(a.b)(n+"marketing-activity-statistics",t)}},"5QVw":function(t,e,i){t.exports={default:i("BwfY"),__esModule:!0}},"65hV":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),r=i("exGp"),s=i.n(r),l=i("0xDb"),o=i("1ION"),c=(i("oPmM"),i("pFYg")),u=i.n(c),d=0,m="webkit moz ms o".split(" "),f=void 0,p=void 0;if("undefined"==typeof window)f=function(){},p=function(){};else{f=window.requestAnimationFrame,p=window.cancelAnimationFrame;for(var v=void 0,h=0;h<m.length&&(!f||!p);h++)v=m[h],f=f||window[v+"RequestAnimationFrame"],p=p||window[v+"CancelAnimationFrame"]||window[v+"CancelRequestAnimationFrame"];f&&p||(f=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-d)),a=window.setTimeout(function(){t(e+i)},i);return d=e+i,a},p=function(t){window.clearTimeout(t)})}var y={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:0},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,i,a){return i*(1-Math.pow(2,-10*t/a))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=f(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){p(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,f(this.count)},reset:function(){this.startTime=null,p(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=f(this.count):this.$emit("callback")},isNumber:function(t){return!isNaN(parseFloat(t))},formatNumber:function(t){(void 0===t?"undefined":u()(t))===String&&(t=Number(t)),t=t.toFixed(this.decimals);var e=(t+="").split("."),i=e[0],a=e.length>1?this.decimal+e[1]:"",n=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;n.test(i);)i=i.replace(n,"$1"+this.separator+"$2");return this.prefix+i+a+this.suffix}},destroyed:function(){p(this.rAF)}},g={render:function(){var t=this.$createElement;return(this._self._c||t)("span",[this._v("\n "+this._s(this.displayValue)+"\n")])},staticRenderFns:[]},b=i("VU/8")(y,g,!1,null,null,null).exports,_={name:"item",props:{text:String,num:[String,Number],numBlue:{default:!1,type:Boolean},invert:{type:Boolean,default:!1},run:{type:Boolean,default:!1},decimals:{type:Number,default:0},duration:{type:Number,default:2e3}},filters:{famount:function(t){var e=t?t.toString():"0",i=e.indexOf(".")>-1?/(\d)(?=(\d{3})+\.)/g:/(\d)(?=(?:\d{3})+$)/g;return e.replace(i,"$1,")}},components:{countTo:b}},w={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ul",{staticClass:"view-item",class:{invert:t.invert}},[t.invert?[i("li",{staticClass:"num",class:{blue:t.numBlue}},[t.run?i("count-to",{attrs:{startVal:0,endVal:t.num,duration:t.duration,decimals:t.decimals}}):[t._v(t._s(t._f("famount")(t.num)))]],2),t._v(" "),i("li",{staticClass:"text"},[t._v(t._s(t.text))])]:[i("li",{staticClass:"text"},[t._v(t._s(t.text))]),t._v(" "),i("li",{staticClass:"num",class:{blue:t.numBlue}},[t.run?i("count-to",{attrs:{startVal:0,endVal:t.num,duration:t.duration,decimals:t.decimals}}):[t._v(t._s(t._f("famount")(t.num)))]],2)]],2)},staticRenderFns:[]};var x={name:"data-view",data:function(){return{animate:!1,loading:!1,isHistory:!1,info:{},dataView:{activityStat:{},activitySms:{},activityCoup:{},activityGame:{},activityWechat:{}},marketingActivityId:this.$route.params.id}},computed:{fade:function(){return this.animate?"animated fadeIn":""}},components:{viewItem:i("VU/8")(_,w,!1,function(t){i("Q8ng")},null,null).exports},methods:{getData:function(){var t=this;return s()(n.a.mark(function e(){var i,a,r,s,c;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,Object(o.d)({marketingActivityId:t.marketingActivityId});case 3:i=e.sent,a=i.result.activityInfo||{},r=a.name,s=a.beginDate,c=a.endDate,t.info.name=r,t.info.beginDate=Object(l.f)(s,"yyyy-MM-dd-HH-mm-ss"),t.info.endDate=Object(l.f)(c,"yyyy-MM-dd-HH-mm-ss"),t.info.name=r,new Date(a.endDate)<new Date&&(t.isHistory=!0),Object(o.b)({marketingActivityId:t.marketingActivityId}).then(function(e){t.dataView=e.result||{},setTimeout(function(){t.loading=!1,t.animate=!0},0)}).catch(function(){t.loading=!1});case 12:case"end":return e.stop()}},e,t)}))()}},mounted:function(){document.documentElement.scrollTo({top:0,behavior:"smooth"}),this.getData()}},C={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap",staticStyle:{"min-height":"700px"}},[t.loading?t._e():[i("p",{staticClass:"title"},[t._v("\n "+t._s(t.info.name||"--")),i("span",[t._v("活动时间:"+t._s(t.info.beginDate||"--")+" 至 "+t._s(t.info.endDate||"--"))]),t._v(" "),i("span",{staticClass:"ml10",staticStyle:{color:"#909399"}},[t._v("* 次日10点后更新当天营销数据统计")])]),t._v(" "),t.isHistory?i("div",{staticClass:"bk f1 big mb20",class:t.fade},[t._m(4),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"总营销人次",num:t.dataView.activityStat.activityMbrCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"活动总覆盖人数",num:t.dataView.activityStat.activityMbrNumTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"累计相关订单",num:t.dataView.activityStat.orderCntTd,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"活动累计销售额",num:t.dataView.activityStat.salesAmtTd,decimals:2}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:活动覆盖人数不包含微信营销覆盖人群;活动相关订单为活动覆盖人群在活动期间的订单计入活动相关订单")])],1):[i("div",{staticClass:"bk f1 big",class:t.fade},[t._m(0),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.activityMbrCntD}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.activityMbrCntM}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.activityMbrCntTd,numBlue:"",run:""}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:涉及卡券投放,当投放渠道不是在卡券营销中直接投放时,营销次数可能会重复统计")])],1),t._v(" "),i("div",{staticClass:"bk f2",class:t.fade},[t._m(1),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.activityMbrNumD}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.activityMbrNumM}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.activityMbrNumTd,numBlue:"",run:""}})],1)],1)],1),t._v(" "),i("div",{staticClass:"bk f3 big",class:t.fade},[t._m(2),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.orderCntD,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.orderCntM,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.orderCntTd,numBlue:"",run:"",decimals:2}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:活动覆盖人群在活动期间的订单计入活动相关订单")])],1),t._v(" "),i("div",{staticClass:"bk f4 big mb20",class:t.fade},[t._m(3),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.salesAmtD,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.salesAmtM,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.salesAmtTd,numBlue:"",run:"",decimals:2}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:销售额为活动相关订单的销售额")])],1)],t._v(" "),i("div",{staticClass:"view-content"},[i("div",{staticClass:"left f5",class:t.fade},[i("p",[t._v("数据对话内容")]),t._v(" "),i("div",[i("view-item",{attrs:{text:"微信群发计划",num:t.dataView.activityStat.wechatCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"短信群发计划",num:t.dataView.activityStat.smsCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"卡券投放计划",num:t.dataView.activityStat.cardCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"游戏营销",num:t.dataView.activityStat.gameCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"智能营销-实时",num:t.dataView.activityStat.ecmTruetimeCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"智能营销-定时",num:t.dataView.activityStat.ecmTimingCnt,invert:""}})],1)]),t._v(" "),i("div",{staticClass:"right"},[i("div",{staticClass:"iik f5",class:t.fade},[t._m(5),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发送达人次",num:t.dataView.activityWechat.sendSuccessCountTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发阅读人次",num:t.dataView.activityWechat.readCountTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发分享人次",num:t.dataView.activityWechat.redirectCountTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发收藏人次",num:t.dataView.activityWechat.collectCountTd}})],1)],1)],1),t._v(" "),i("div",{staticClass:"iik f6",class:t.fade},[t._m(6),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"短信送达人次",num:t.dataView.activitySms.sendSmsCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"短信送达人数",num:t.dataView.activitySms.sendMbrCntTd}})],1)],1)],1),t._v(" "),i("div",{staticClass:"iik f7",class:t.fade},[t._m(7),t._v(" "),i("el-row",{staticClass:"card-row"},[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"活动涉及母券数",num:t.dataView.activityCoup.useCnt,numBlue:"",run:""}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"投放张数",num:t.dataView.activityCoup.volumesCnt}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"领取张数",num:t.dataView.activityCoup.getCnt}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"核销订单数",num:t.dataView.activityCoup.cardOrderCnt}})],1)],1),t._v(" "),i("el-row",{staticStyle:{"padding-top":"22px"}},[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"卡券销售额",num:t.dataView.activityCoup.verificationAmt,numBlue:"",run:"",decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"投放人数",num:t.dataView.activityCoup.volumesNum}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"领取人数",num:t.dataView.activityCoup.getNum}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"核销人数",num:t.dataView.activityCoup.useNum}})],1)],1)],1),t._v(" "),i("div",{staticClass:"iik card f8",class:t.fade},[t._m(8),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏参与人次",num:t.dataView.activityGame.gameMbrCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏参与人数",num:t.dataView.activityGame.gameMbrNumTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏中奖人次",num:t.dataView.activityGame.prizeMbrCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏中奖人数",num:t.dataView.activityGame.prizeMbrNumTd}})],1)],1)],1)])])]],2)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-01"},[e("span",[this._v("营销人次")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-02"},[e("span",[this._v("活动覆盖人数")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-03"},[e("span",[this._v("相关订单")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-04"},[e("span",[this._v("销售额")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-05"},[e("span",[this._v("累计数据")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-01"},[e("span",[this._v("微信")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-02"},[e("span",[this._v("短信")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-03"},[e("span",[this._v("卡券")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-04"},[e("span",[this._v("游戏")])])}]};var S=i("VU/8")(x,C,!1,function(t){i("+3KQ")},"data-v-0087efb3",null);e.default=S.exports},BwfY:function(t,e,i){i("fWfb"),i("M6a0"),i("OYls"),i("QWe/"),t.exports=i("FeBl").Symbol},EvGm:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),r=i("exGp"),s=i.n(r),l=i("0SQO"),o=i("1ION"),c=i("0xDb"),u={name:"activity-list",data:function(){return{loading:!1,tableList:[],dateTime:"",tableHeader:[{label:"数据对话",prop:"name",minWidth:"150",tooltip:!0,align:"left"},{label:"创建时间",minWidth:"100",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).y+"<br />\n <span>"+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).h+"</span>\n </p>"}},{label:"活动时间",minWidth:"160",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.beginDate,"yyyy-MM-dd-HH-mm-ss")+"<br />\n <span>"+Object(c.f)(t.endDate,"yyyy-MM-dd-HH-mm-ss")+"</span>\n </p>"}},{label:"创建人",prop:"creatorName",minWidth:"120",align:"left"},{label:"状态",prop:"stateDesc",minWidth:"120",align:"left"},{label:"昨日营销人次",prop:"activityMbrCntD",minWidth:"120",tooltip:!0,align:"left"},{label:"本月营销人次",prop:"activityMbrCntM",minWidth:"120",tooltip:!0,align:"left"},{label:"合计营销人次",prop:"activityMbrCntTd",minWidth:"120",tooltip:!0,align:"left"}],listParams:{expireType:-1,beginTime:"",endTime:"",search:"",currentPage:1,pageSize:20},total:0}},mixins:[l.a],created:function(){this.getTableList()},methods:{getTableList:function(){var t=this;return s()(n.a.mark(function e(){var i;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.loading=!0,t.dataTimeFormat(),e.next=5,Object(o.a)(t.listParams);case 5:0===(i=e.sent).errorCode&&i.result?(t.tableList=i.result.result||[],t.total=i.result.totalCount):(t.tableList=[],t.total=0),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:t.loading=!1;case 12:case"end":return e.stop()}},e,t,[[0,9]])}))()},stopData:function(t){var e=this,i=t.marketingActivityId;this.loading=!0,Object(o.f)({marketingActivityId:i}).then(function(t){e.loading=!1,e.$tips({type:"success",message:"操作成功!"}),e.getTableList()}).catch(function(t){e.loading=!1,e.$tips({type:"error",message:"操作失败!"})})},delData:function(t){var e=this,i=t.marketingActivityId;this.loading=!0,Object(o.c)({marketingActivityId:i}).then(function(t){e.loading=!1,e.$tips({type:"success",message:"删除成功!"}),e.getTableList()}).catch(function(t){e.loading=!1,e.$tips({type:"error",message:"删除失败!"})})},dataTimeFormat:function(){this.dateTime?(this.listParams.beginTime=Object(c.f)(this.dateTime[0],"yyyy-MM-dd"),this.listParams.endTime=Object(c.f)(this.dateTime[1],"yyyy-MM-dd")):(this.listParams.beginTime="",this.listParams.endTime="")}}},d={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"clearfix pb22"},[i("el-date-picker",{staticClass:"w400",attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.refresh},model:{value:t.dateTime,callback:function(e){t.dateTime=e},expression:"dateTime"}}),t._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"请输入数据对话/创建人",clearable:""},on:{change:t.refresh},model:{value:t.listParams.search,callback:function(e){t.$set(t.listParams,"search",e)},expression:"listParams.search"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAddActivity)?i("el-button",{staticClass:"fr",attrs:{type:"primary","limit-code":t.$buttonCode.marketingAddActivity},on:{click:function(e){return t.$router.push("/activity/add")}}},[t._v("新建数据对话")]):t._e(),t._v(" "),i("el-button",{staticClass:"fr mr10",on:{click:function(e){return t.$router.push("/activity/history-list")}}},[t._v("查看历史数据对话")])],1),t._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:t.tableList}},[t._l(t.tableHeader,function(e,a){return i("el-table-column",{key:a,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter},scopedSlots:t._u([{key:"default",fn:function(a){return[e.formatter?i("span",{domProps:{innerHTML:t._s(e.formatter(a.row))}}):i("span",[t._v(t._s(a.row[e.prop]||"--"))])]}}])})}),t._v(" "),i("el-table-column",{attrs:{label:"操作",align:"left",width:"210px",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return t.$router.push("/activity/data-view/"+e.row.marketingActivityId)}}},[t._v("数据概览")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingEditActivity)?i("el-button",{attrs:{type:"text","limit-code":t.$buttonCode.marketingEditActivity},on:{click:function(i){return t.$router.push("/activity/edit/"+e.row.marketingActivityId)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingOutlineActivity)?i("dm-delete",{attrs:{tips:"是否下线该数据对话?"},on:{confirm:function(i){return t.stopData(e.row)}}},[i("el-button",{attrs:{"limit-code":t.$buttonCode.marketingOutlineActivity,type:"text"}},[t._v("下线")])],1):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingDelActivity)?i("dm-delete",{attrs:{tips:"是否删除该数据对话?"},on:{confirm:function(i){return t.delData(e.row)}}},[i("el-button",{attrs:{"limit-code":t.$buttonCode.marketingDelActivity,type:"text"}},[t._v("删除")])],1):t._e()]}}])})],2),t._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},staticRenderFns:[]},m=i("VU/8")(u,d,!1,null,null,null);e.default=m.exports},Kh4W:function(t,e,i){e.f=i("dSzd")},LKZe:function(t,e,i){var a=i("NpIQ"),n=i("X8DO"),r=i("TcQ7"),s=i("MmMw"),l=i("D2L2"),o=i("SfB7"),c=Object.getOwnPropertyDescriptor;e.f=i("+E39")?c:function(t,e){if(t=r(t),e=s(e,!0),o)try{return c(t,e)}catch(t){}if(l(t,e))return n(!a.f.call(t,e),t[e])}},OYls:function(t,e,i){i("crlp")("asyncIterator")},Q8ng:function(t,e){},"QWe/":function(t,e,i){i("crlp")("observable")},Rrel:function(t,e,i){var a=i("TcQ7"),n=i("n0T6").f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==r.call(t)?function(t){try{return n(t)}catch(t){return s.slice()}}(t):n(a(t))}},UY5f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Dd8w"),n=i.n(a),r=i("0xDb"),s=i("1ION"),l={name:"activity-form",data:function(){var t=this;return{loading:!1,marketingActivityId:this.$route.params.id,ruleForm:{name:"",beginDate:"",endDate:"",memberGroup:"",storeGroup:""},rules:{name:[{required:!0,message:"请输入活动名称",trigger:"change"}],dateTime:[{required:!0,validator:function(e,i,a){t.isEdit&&a();var n=t.ruleForm.beginDate,r=t.ruleForm.endDate;n&&r||a(new Error("活动时间不能为空")),new Date(r).getTime()<new Date&&a(new Error("结束时间不能小于当前时间")),new Date(r).getTime()-new Date(n).getTime()>31536e6&&a(new Error(e.message||"时间跨度不能超过一年")),a()},trigger:"change"}]},pickerOptions:{disabledDate:function(t){return Date.now()>=t.getTime()+864e5}},uuid:"",options:[0,1,2,3,4,5],data:"",scenes:"marketing",creatorId:"",info:{},defaltSelected:[],initMemberGroup:!1,isAdd:"add"===this.$route.meta.type,isEdit:"edit"===this.$route.meta.type}},computed:{disabled:function(){return this.isEdit&&new Date>new Date(this.ruleForm.beginDate)}},methods:{submit:Object(r.a)(function(){var t=this;this.$refs.form.validate(function(e){if(e){var i=n()({},t.ruleForm);t.isEdit&&(i.marketingActivityId=t.marketingActivityId),t.disabled&&(delete i.beginDate,delete i.endDate),t.isEdit&&t.disabled&&(i.storeGroup=t.info.storeGroup),t.loading=!0,Object(s.e)(i).then(function(e){t.loading=!1,t.$tips({type:"success",message:"操作成功"}),t.$router.push("/activity/list")}).catch(function(){t.loading=!1})}})}),getInfo:function(){var t=this;this.loading=!0,Object(s.d)({marketingActivityId:this.marketingActivityId}).then(function(e){var i=e.result||{},a=i.activityInfo,n=i.tagGroupList,s=a.name,l=a.beginDate,o=a.endDate,c=a.memberGroup,u=a.storeGroup;t.info=a,t.ruleForm.name=s,t.ruleForm.beginDate=Object(r.f)(l,"yyyy-MM-dd-HH-mm-ss"),t.ruleForm.endDate=Object(r.f)(o,"yyyy-MM-dd-HH-mm-ss"),t.ruleForm.memberGroup=c,t.defaltSelected=n,t.ruleForm.name=s,t.ruleForm.storeGroup=u,t.loading=!1,t.$nextTick(function(){t.initMemberGroup=!0})}).catch(function(){t.loading=!1})},storeChange:function(t){this.ruleForm.storeGroup=t},handleDataTransferred:function(t){this.ruleForm.memberGroup=t.map(function(t){return t.memberTagGroupId}).filter(function(t){return t}).join(",")},handleDataLeft:function(t,e){this.disabled?this.$message.warning("数据对话已生效,分组数据编辑无效"):this.ruleForm.memberGroup=t.map(function(t){return t.memberTagGroupId}).filter(function(t){return t}).join(",")}},mounted:function(){this.isAdd&&(this.initMemberGroup=!0),this.isEdit&&this.getInfo()}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("el-form",{ref:"form",attrs:{model:t.ruleForm,"label-width":"110px",rules:t.rules}},[i("el-form-item",{attrs:{prop:"name",label:"数据对话名称"}},[i("dm-input",{staticClass:"w300",attrs:{placeholder:"请输入数据对话名称",byteType:1,maxlength:10},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1),t._v(" "),i("el-form-item",{attrs:{prop:"dateTime",label:"数据对话时间"}},[i("el-date-picker",{attrs:{disabled:t.disabled,"picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"开始日期"},model:{value:t.ruleForm.beginDate,callback:function(e){t.$set(t.ruleForm,"beginDate",e)},expression:"ruleForm.beginDate"}}),t._v(" "),i("span",{staticStyle:{color:"#909299","margin-left":"5px","margin-right":"5px"}},[t._v("~")]),t._v(" "),i("el-date-picker",{attrs:{disabled:t.disabled,"picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"结束日期"},model:{value:t.ruleForm.endDate,callback:function(e){t.$set(t.ruleForm,"endDate",e)},expression:"ruleForm.endDate"}})],1),t._v(" "),i("el-form-item",[i("el-tooltip",{attrs:{slot:"label","open-delay":"200",placement:"top"},slot:"label"},[i("div",{attrs:{slot:"content"},slot:"content"},[t._v("可选内容,详细使用内容详见《数据对话运营复盘流程》")]),t._v(" "),i("span",{staticClass:"tooltip-icon"},[t._v("会员分组")])]),t._v(" "),i("div",{staticStyle:{width:"600px"}},[t.initMemberGroup?i("vue-gic-member-group",{attrs:{onlyFixedType:"",defaltSelected:t.defaltSelected,height:500,projectName:"marketing"},on:{handleDataTransferred:t.handleDataTransferred,handleDataLeft:t.handleDataLeft}}):t._e()],1)],1),t._v(" "),i("el-form-item",{attrs:{label:"门店范围"}},[i("vue-gic-store-new",{ref:"storeNew",attrs:{options:t.options,isAdd:t.isAdd,creatorId:t.creatorId,scenesVal:t.scenes,scenes:"auth",uuid:t.ruleForm.storeGroup},on:{"store-change":t.storeChange}}),t._v(" "),t.disabled&&t.info.storeGroup!=t.ruleForm.storeGroup?i("div",{staticClass:"gray fz12"},[i("i",{staticClass:"el-icon-warning mr5 red fz12"}),t._v("数据对话已生效,门店修改无效")]):t._e()],1),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v("确认"+t._s(t.isAdd?"新建":"保存"))])],1)],1),t._v(" "),t._m(0)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("ul",{staticStyle:{"padding-bottom":"40px","margin-left":"140px",color:"#909399","font-size":"14px","line-height":"22px"}},[e("li",[this._v("* 应用中新建计划时可以使用数据对话:微信营销、短信营销、卡券营销、智能营销、游戏营销")]),this._v(" "),e("li",[this._v("* 营销数据统计分析维度为:营销人次、活动覆盖人数、活动相关订单、活动销售额")])])}]};var c=i("VU/8")(l,o,!1,function(t){i("gysG")},"data-v-aa5937e0",null);e.default=c.exports},Xc4G:function(t,e,i){var a=i("lktj"),n=i("1kS7"),r=i("NpIQ");t.exports=function(t){var e=a(t),i=n.f;if(i)for(var s,l=i(t),o=r.f,c=0;l.length>c;)o.call(t,s=l[c++])&&e.push(s);return e}},Zzip:function(t,e,i){t.exports={default:i("/n6Q"),__esModule:!0}},crlp:function(t,e,i){var a=i("7KvD"),n=i("FeBl"),r=i("O4g8"),s=i("Kh4W"),l=i("evD5").f;t.exports=function(t){var e=n.Symbol||(n.Symbol=r?{}:a.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:s.f(t)})}},fWfb:function(t,e,i){"use strict";var a=i("7KvD"),n=i("D2L2"),r=i("+E39"),s=i("kM2E"),l=i("880/"),o=i("06OY").KEY,c=i("S82l"),u=i("e8AB"),d=i("e6n0"),m=i("3Eo+"),f=i("dSzd"),p=i("Kh4W"),v=i("crlp"),h=i("Xc4G"),y=i("7UMu"),g=i("77Pl"),b=i("EqjI"),_=i("sB3e"),w=i("TcQ7"),x=i("MmMw"),C=i("X8DO"),S=i("Yobk"),T=i("Rrel"),V=i("LKZe"),k=i("1kS7"),D=i("evD5"),M=i("lktj"),O=V.f,F=D.f,$=T.f,P=a.Symbol,j=a.JSON,A=j&&j.stringify,N=f("_hidden"),E=f("toPrimitive"),I={}.propertyIsEnumerable,H=u("symbol-registry"),L=u("symbols"),G=u("op-symbols"),W=Object.prototype,z="function"==typeof P&&!!k.f,B=a.QObject,Q=!B||!B.prototype||!B.prototype.findChild,q=r&&c(function(){return 7!=S(F({},"a",{get:function(){return F(this,"a",{value:7}).a}})).a})?function(t,e,i){var a=O(W,e);a&&delete W[e],F(t,e,i),a&&t!==W&&F(W,e,a)}:F,R=function(t){var e=L[t]=S(P.prototype);return e._k=t,e},U=z&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},K=function(t,e,i){return t===W&&K(G,e,i),g(t),e=x(e,!0),g(i),n(L,e)?(i.enumerable?(n(t,N)&&t[N][e]&&(t[N][e]=!1),i=S(i,{enumerable:C(0,!1)})):(n(t,N)||F(t,N,C(1,{})),t[N][e]=!0),q(t,e,i)):F(t,e,i)},Y=function(t,e){g(t);for(var i,a=h(e=w(e)),n=0,r=a.length;r>n;)K(t,i=a[n++],e[i]);return t},X=function(t){var e=I.call(this,t=x(t,!0));return!(this===W&&n(L,t)&&!n(G,t))&&(!(e||!n(this,t)||!n(L,t)||n(this,N)&&this[N][t])||e)},J=function(t,e){if(t=w(t),e=x(e,!0),t!==W||!n(L,e)||n(G,e)){var i=O(t,e);return!i||!n(L,e)||n(t,N)&&t[N][e]||(i.enumerable=!0),i}},Z=function(t){for(var e,i=$(w(t)),a=[],r=0;i.length>r;)n(L,e=i[r++])||e==N||e==o||a.push(e);return a},tt=function(t){for(var e,i=t===W,a=$(i?G:w(t)),r=[],s=0;a.length>s;)!n(L,e=a[s++])||i&&!n(W,e)||r.push(L[e]);return r};z||(l((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=m(arguments.length>0?arguments[0]:void 0),e=function(i){this===W&&e.call(G,i),n(this,N)&&n(this[N],t)&&(this[N][t]=!1),q(this,t,C(1,i))};return r&&Q&&q(W,t,{configurable:!0,set:e}),R(t)}).prototype,"toString",function(){return this._k}),V.f=J,D.f=K,i("n0T6").f=T.f=Z,i("NpIQ").f=X,k.f=tt,r&&!i("O4g8")&&l(W,"propertyIsEnumerable",X,!0),p.f=function(t){return R(f(t))}),s(s.G+s.W+s.F*!z,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;et.length>it;)f(et[it++]);for(var at=M(f.store),nt=0;at.length>nt;)v(at[nt++]);s(s.S+s.F*!z,"Symbol",{for:function(t){return n(H,t+="")?H[t]:H[t]=P(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var e in H)if(H[e]===t)return e},useSetter:function(){Q=!0},useSimple:function(){Q=!1}}),s(s.S+s.F*!z,"Object",{create:function(t,e){return void 0===e?S(t):Y(S(t),e)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var rt=c(function(){k.f(1)});s(s.S+s.F*rt,"Object",{getOwnPropertySymbols:function(t){return k.f(_(t))}}),j&&s(s.S+s.F*(!z||c(function(){var t=P();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){for(var e,i,a=[t],n=1;arguments.length>n;)a.push(arguments[n++]);if(i=e=a[1],(b(e)||void 0!==t)&&!U(t))return y(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!U(e))return e}),a[1]=e,A.apply(j,a)}}),P.prototype[E]||i("hJx8")(P.prototype,E,P.prototype.valueOf),d(P,"Symbol"),d(Math,"Math",!0),d(a.JSON,"JSON",!0)},gysG:function(t,e){},n0T6:function(t,e,i){var a=i("Ibhu"),n=i("xnc9").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,n)}},oPmM:function(t,e){},pFYg:function(t,e,i){"use strict";e.__esModule=!0;var a=s(i("Zzip")),n=s(i("5QVw")),r="function"==typeof n.default&&"symbol"==typeof a.default?function(t){return typeof t}:function(t){return t&&"function"==typeof n.default&&t.constructor===n.default&&t!==n.default.prototype?"symbol":typeof t};function s(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof n.default&&"symbol"===r(a.default)?function(t){return void 0===t?"undefined":r(t)}:function(t){return t&&"function"==typeof n.default&&t.constructor===n.default&&t!==n.default.prototype?"symbol":void 0===t?"undefined":r(t)}},sZNU:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("router-view")],1)},staticRenderFns:[]},n=i("VU/8")({name:"activity"},a,!1,null,null,null);e.default=n.exports},vSUq:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),r=i("exGp"),s=i.n(r),l=i("0SQO"),o=i("1ION"),c=i("0xDb"),u={name:"activity-list",data:function(){return{loading:!1,tableList:[],dateTime:"",tableHeader:[{label:"数据对话",prop:"name",minWidth:"150",tooltip:!0,align:"left"},{label:"创建时间",minWidth:"100",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).y+"<br />\n <span>"+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).h+"</span>\n </p>"}},{label:"活动时间",minWidth:"160",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.beginDate,"yyyy-MM-dd-HH-mm-ss")+"<br />\n <span>"+Object(c.f)(t.endDate,"yyyy-MM-dd-HH-mm-ss")+"</span>\n </p>"}},{label:"创建人",prop:"creatorName",minWidth:"120",align:"left"},{label:"状态",prop:"stateDesc",minWidth:"120",align:"left"},{label:"合计营销人次",prop:"activityMbrCntTd",minWidth:"120",tooltip:!0,align:"left"}],listParams:{expireType:1,beginTime:"",endTime:"",search:"",currentPage:1,pageSize:20},total:0}},mixins:[l.a],created:function(){this.getTableList()},methods:{getTableList:function(){var t=this;return s()(n.a.mark(function e(){var i;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.loading=!0,t.dataTimeFormat(),e.next=5,Object(o.a)(t.listParams);case 5:0===(i=e.sent).errorCode&&i.result?(t.tableList=i.result.result||[],t.total=i.result.totalCount):(t.tableList=[],t.total=0),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:t.loading=!1;case 12:case"end":return e.stop()}},e,t,[[0,9]])}))()},delData:function(t){var e=this,i=t.marketingActivityId;this.loading=!0,Object(o.c)({marketingActivityId:i}).then(function(t){e.loading=!1,e.$tips({type:"success",message:"删除成功!"}),e.getTableList()}).catch(function(t){e.loading=!1,e.$tips({type:"error",message:"删除失败!"})})},dataTimeFormat:function(){this.dateTime?(this.listParams.beginTime=Object(c.f)(this.dateTime[0],"yyyy-MM-dd"),this.listParams.endTime=Object(c.f)(this.dateTime[1],"yyyy-MM-dd")):(this.listParams.beginTime="",this.listParams.endTime="")}}},d={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"clearfix pb22"},[i("el-date-picker",{staticClass:"w400",attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.refresh},model:{value:t.dateTime,callback:function(e){t.dateTime=e},expression:"dateTime"}}),t._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"请输入数据对话/创建人",clearable:""},on:{change:t.refresh},model:{value:t.listParams.search,callback:function(e){t.$set(t.listParams,"search",e)},expression:"listParams.search"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:t.tableList}},[t._l(t.tableHeader,function(e,a){return i("el-table-column",{key:a,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter},scopedSlots:t._u([{key:"default",fn:function(a){return[e.formatter?i("span",{domProps:{innerHTML:t._s(e.formatter(a.row))}}):i("span",[t._v(t._s(a.row[e.prop]||"--"))])]}}])})}),t._v(" "),i("el-table-column",{attrs:{label:"操作",align:"left",width:"190px",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return t.$router.push("/activity/data-view/"+e.row.marketingActivityId)}}},[t._v("历史数据概览")]),t._v(" "),i("dm-delete",{attrs:{tips:"是否删除该数据对话?"},on:{confirm:function(i){return t.delData(e.row)}}},[i("el-button",{attrs:{type:"text"}},[t._v("删除")])],1)]}}])})],2),t._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},staticRenderFns:[]},m=i("VU/8")(u,d,!1,null,null,null);e.default=m.exports}});
\ No newline at end of file
webpackJsonp([8],{"/n6Q":function(t,e,i){i("zQR9"),i("+tPU"),t.exports=i("Kh4W").f("iterator")},"0H7f":function(t,e){},"0SQO":function(t,e,i){"use strict";e.a={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.listParams.currentPage=1,this.listParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.listParams.currentPage=t,this.getTableList()}}}},"1ION":function(t,e,i){"use strict";i.d(e,"a",function(){return r}),i.d(e,"c",function(){return s}),i.d(e,"f",function(){return l}),i.d(e,"d",function(){return o}),i.d(e,"e",function(){return c}),i.d(e,"b",function(){return u});var a=i("6Hqf"),n="api-marketing/",r=(i("2uFj").a.api,function(t){return Object(a.b)(n+"marketing-activity-page",t)}),s=function(t){return Object(a.b)(n+"del-marketing-activity",t)},l=function(t){return Object(a.b)(n+"expire-marketing-activity",t)},o=function(t){return Object(a.b)(n+"get-marketing-activity-detail",t)},c=function(t){return Object(a.b)(n+"save-edit-marketing-activity",t)},u=function(t){return Object(a.b)(n+"marketing-activity-statistics",t)}},"5QVw":function(t,e,i){t.exports={default:i("BwfY"),__esModule:!0}},"65hV":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),r=i("exGp"),s=i.n(r),l=i("0xDb"),o=i("1ION"),c=(i("oPmM"),i("pFYg")),u=i.n(c),d=0,m="webkit moz ms o".split(" "),f=void 0,p=void 0;if("undefined"==typeof window)f=function(){},p=function(){};else{f=window.requestAnimationFrame,p=window.cancelAnimationFrame;for(var v=void 0,h=0;h<m.length&&(!f||!p);h++)v=m[h],f=f||window[v+"RequestAnimationFrame"],p=p||window[v+"CancelAnimationFrame"]||window[v+"CancelRequestAnimationFrame"];f&&p||(f=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-d)),a=window.setTimeout(function(){t(e+i)},i);return d=e+i,a},p=function(t){window.clearTimeout(t)})}var y={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:0},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,i,a){return i*(1-Math.pow(2,-10*t/a))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=f(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){p(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,f(this.count)},reset:function(){this.startTime=null,p(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=f(this.count):this.$emit("callback")},isNumber:function(t){return!isNaN(parseFloat(t))},formatNumber:function(t){(void 0===t?"undefined":u()(t))===String&&(t=Number(t)),t=t.toFixed(this.decimals);var e=(t+="").split("."),i=e[0],a=e.length>1?this.decimal+e[1]:"",n=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;n.test(i);)i=i.replace(n,"$1"+this.separator+"$2");return this.prefix+i+a+this.suffix}},destroyed:function(){p(this.rAF)}},g={render:function(){var t=this.$createElement;return(this._self._c||t)("span",[this._v("\n "+this._s(this.displayValue)+"\n")])},staticRenderFns:[]},b=i("VU/8")(y,g,!1,null,null,null).exports,_={name:"item",props:{text:String,num:[String,Number],numBlue:{default:!1,type:Boolean},invert:{type:Boolean,default:!1},run:{type:Boolean,default:!1},decimals:{type:Number,default:0},duration:{type:Number,default:2e3}},filters:{famount:function(t){var e=t?t.toString():"0",i=e.indexOf(".")>-1?/(\d)(?=(\d{3})+\.)/g:/(\d)(?=(?:\d{3})+$)/g;return e.replace(i,"$1,")}},components:{countTo:b}},w={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ul",{staticClass:"view-item",class:{invert:t.invert}},[t.invert?[i("li",{staticClass:"num",class:{blue:t.numBlue}},[t.run?i("count-to",{attrs:{startVal:0,endVal:t.num,duration:t.duration,decimals:t.decimals}}):[t._v(t._s(t._f("famount")(t.num)))]],2),t._v(" "),i("li",{staticClass:"text"},[t._v(t._s(t.text))])]:[i("li",{staticClass:"text"},[t._v(t._s(t.text))]),t._v(" "),i("li",{staticClass:"num",class:{blue:t.numBlue}},[t.run?i("count-to",{attrs:{startVal:0,endVal:t.num,duration:t.duration,decimals:t.decimals}}):[t._v(t._s(t._f("famount")(t.num)))]],2)]],2)},staticRenderFns:[]};var x={name:"data-view",data:function(){return{animate:!1,loading:!1,isHistory:!1,info:{},dataView:{activityStat:{},activitySms:{},activityCoup:{},activityGame:{},activityWechat:{}},marketingActivityId:this.$route.params.id}},computed:{fade:function(){return this.animate?"animated fadeIn":""}},components:{viewItem:i("VU/8")(_,w,!1,function(t){i("0H7f")},null,null).exports},methods:{getData:function(){var t=this;return s()(n.a.mark(function e(){var i,a,r,s,c;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,Object(o.d)({marketingActivityId:t.marketingActivityId});case 3:i=e.sent,a=i.result.activityInfo||{},r=a.name,s=a.beginDate,c=a.endDate,t.info.name=r,t.info.beginDate=Object(l.f)(s,"yyyy-MM-dd-HH-mm-ss"),t.info.endDate=Object(l.f)(c,"yyyy-MM-dd-HH-mm-ss"),t.info.name=r,new Date(a.endDate)<new Date&&(t.isHistory=!0),Object(o.b)({marketingActivityId:t.marketingActivityId}).then(function(e){t.dataView=e.result||{},setTimeout(function(){t.loading=!1,t.animate=!0},0)}).catch(function(){t.loading=!1});case 12:case"end":return e.stop()}},e,t)}))()}},mounted:function(){document.documentElement.scrollTo({top:0,behavior:"smooth"}),this.getData()}},C={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap",staticStyle:{"min-height":"700px"}},[t.loading?t._e():[i("p",{staticClass:"title"},[t._v("\n "+t._s(t.info.name||"--")),i("span",[t._v("活动时间:"+t._s(t.info.beginDate||"--")+" 至 "+t._s(t.info.endDate||"--"))]),t._v(" "),i("span",{staticClass:"ml10",staticStyle:{color:"#909399"}},[t._v("* 次日10点后更新当天营销数据统计")])]),t._v(" "),t.isHistory?i("div",{staticClass:"bk f1 big mb20",class:t.fade},[t._m(4),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"总营销人次",num:t.dataView.activityStat.activityMbrCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"活动总覆盖人数",num:t.dataView.activityStat.activityMbrNumTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"累计相关订单",num:t.dataView.activityStat.orderCntTd,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"活动累计销售额",num:t.dataView.activityStat.salesAmtTd,decimals:2}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:活动覆盖人数不包含微信营销覆盖人群;活动相关订单为活动覆盖人群在活动期间的订单计入活动相关订单")])],1):[i("div",{staticClass:"bk f1 big",class:t.fade},[t._m(0),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.activityMbrCntD}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.activityMbrCntM}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.activityMbrCntTd,numBlue:"",run:""}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:涉及卡券投放,当投放渠道不是在卡券营销中直接投放时,营销次数可能会重复统计")])],1),t._v(" "),i("div",{staticClass:"bk f2",class:t.fade},[t._m(1),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.activityMbrNumD}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.activityMbrNumM}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.activityMbrNumTd,numBlue:"",run:""}})],1)],1)],1),t._v(" "),i("div",{staticClass:"bk f3 big",class:t.fade},[t._m(2),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.orderCntD,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.orderCntM,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.orderCntTd,numBlue:"",run:"",decimals:2}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:活动覆盖人群在活动期间的订单计入活动相关订单")])],1),t._v(" "),i("div",{staticClass:"bk f4 big mb20",class:t.fade},[t._m(3),t._v(" "),i("el-row",[i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"昨日",num:t.dataView.activityStat.salesAmtD,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"本月",num:t.dataView.activityStat.salesAmtM,decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:8}},[i("view-item",{attrs:{text:"累计",num:t.dataView.activityStat.salesAmtTd,numBlue:"",run:"",decimals:2}})],1)],1),t._v(" "),i("p",{staticClass:"tips"},[t._v("注:销售额为活动相关订单的销售额")])],1)],t._v(" "),i("div",{staticClass:"view-content"},[i("div",{staticClass:"left f5",class:t.fade},[i("p",[t._v("数据对话内容")]),t._v(" "),i("div",[i("view-item",{attrs:{text:"微信群发计划",num:t.dataView.activityStat.wechatCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"短信群发计划",num:t.dataView.activityStat.smsCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"卡券投放计划",num:t.dataView.activityStat.cardCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"游戏营销",num:t.dataView.activityStat.gameCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"智能营销-实时",num:t.dataView.activityStat.ecmTruetimeCnt,invert:""}})],1),t._v(" "),i("div",[i("view-item",{attrs:{text:"智能营销-定时",num:t.dataView.activityStat.ecmTimingCnt,invert:""}})],1)]),t._v(" "),i("div",{staticClass:"right"},[i("div",{staticClass:"iik f5",class:t.fade},[t._m(5),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发送达人次",num:t.dataView.activityWechat.sendSuccessCountTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发阅读人次",num:t.dataView.activityWechat.readCountTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发分享人次",num:t.dataView.activityWechat.redirectCountTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"微信群发收藏人次",num:t.dataView.activityWechat.collectCountTd}})],1)],1)],1),t._v(" "),i("div",{staticClass:"iik f6",class:t.fade},[t._m(6),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"短信送达人次",num:t.dataView.activitySms.sendSmsCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"短信送达人数",num:t.dataView.activitySms.sendMbrCntTd}})],1)],1)],1),t._v(" "),i("div",{staticClass:"iik f7",class:t.fade},[t._m(7),t._v(" "),i("el-row",{staticClass:"card-row"},[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"活动涉及母券数",num:t.dataView.activityCoup.useCnt,numBlue:"",run:""}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"投放张数",num:t.dataView.activityCoup.volumesCnt}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"领取张数",num:t.dataView.activityCoup.getCnt}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"核销订单数",num:t.dataView.activityCoup.cardOrderCnt}})],1)],1),t._v(" "),i("el-row",{staticStyle:{"padding-top":"22px"}},[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"卡券销售额",num:t.dataView.activityCoup.verificationAmt,numBlue:"",run:"",decimals:2}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"投放人数",num:t.dataView.activityCoup.volumesNum}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"领取人数",num:t.dataView.activityCoup.getNum}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"核销人数",num:t.dataView.activityCoup.useNum}})],1)],1)],1),t._v(" "),i("div",{staticClass:"iik card f8",class:t.fade},[t._m(8),t._v(" "),i("el-row",[i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏参与人次",num:t.dataView.activityGame.gameMbrCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏参与人数",num:t.dataView.activityGame.gameMbrNumTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏中奖人次",num:t.dataView.activityGame.prizeMbrCntTd}})],1),t._v(" "),i("el-col",{attrs:{span:6}},[i("view-item",{attrs:{text:"游戏中奖人数",num:t.dataView.activityGame.prizeMbrNumTd}})],1)],1)],1)])])]],2)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-01"},[e("span",[this._v("营销人次")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-02"},[e("span",[this._v("活动覆盖人数")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-03"},[e("span",[this._v("相关订单")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-04"},[e("span",[this._v("销售额")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"bl-item-05"},[e("span",[this._v("累计数据")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-01"},[e("span",[this._v("微信")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-02"},[e("span",[this._v("短信")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-03"},[e("span",[this._v("卡券")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"iik-item-04"},[e("span",[this._v("游戏")])])}]};var T=i("VU/8")(x,C,!1,function(t){i("L7oL")},"data-v-19f99d9e",null);e.default=T.exports},BwfY:function(t,e,i){i("fWfb"),i("M6a0"),i("OYls"),i("QWe/"),t.exports=i("FeBl").Symbol},EvGm:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),r=i("exGp"),s=i.n(r),l=i("0SQO"),o=i("1ION"),c=i("0xDb"),u={name:"activity-list",data:function(){return{loading:!1,tableList:[],dateTime:"",tableHeader:[{label:"数据对话",prop:"name",minWidth:"150",tooltip:!0,align:"left"},{label:"创建时间",minWidth:"100",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).y+"<br />\n <span>"+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).h+"</span>\n </p>"}},{label:"活动时间",minWidth:"160",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.beginDate,"yyyy-MM-dd-HH-mm-ss")+"<br />\n <span>"+Object(c.f)(t.endDate,"yyyy-MM-dd-HH-mm-ss")+"</span>\n </p>"}},{label:"创建人",prop:"creatorName",minWidth:"120",align:"left"},{label:"状态",prop:"stateDesc",minWidth:"120",align:"left"},{label:"昨日营销人次",prop:"activityMbrCntD",minWidth:"120",tooltip:!0,align:"left"},{label:"本月营销人次",prop:"activityMbrCntM",minWidth:"120",tooltip:!0,align:"left"},{label:"合计营销人次",prop:"activityMbrCntTd",minWidth:"120",tooltip:!0,align:"left"}],listParams:{expireType:-1,beginTime:"",endTime:"",search:"",currentPage:1,pageSize:20},total:0}},mixins:[l.a],created:function(){this.getTableList()},methods:{getTableList:function(){var t=this;return s()(n.a.mark(function e(){var i;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.loading=!0,t.dataTimeFormat(),e.next=5,Object(o.a)(t.listParams);case 5:0===(i=e.sent).errorCode&&i.result?(t.tableList=i.result.result||[],t.total=i.result.totalCount):(t.tableList=[],t.total=0),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:t.loading=!1;case 12:case"end":return e.stop()}},e,t,[[0,9]])}))()},stopData:function(t){var e=this,i=t.marketingActivityId;this.loading=!0,Object(o.f)({marketingActivityId:i}).then(function(t){e.loading=!1,e.$tips({type:"success",message:"操作成功!"}),e.getTableList()}).catch(function(t){e.loading=!1,e.$tips({type:"error",message:"操作失败!"})})},delData:function(t){var e=this,i=t.marketingActivityId;this.loading=!0,Object(o.c)({marketingActivityId:i}).then(function(t){e.loading=!1,e.$tips({type:"success",message:"删除成功!"}),e.getTableList()}).catch(function(t){e.loading=!1,e.$tips({type:"error",message:"删除失败!"})})},dataTimeFormat:function(){this.dateTime?(this.listParams.beginTime=Object(c.f)(this.dateTime[0],"yyyy-MM-dd"),this.listParams.endTime=Object(c.f)(this.dateTime[1],"yyyy-MM-dd")):(this.listParams.beginTime="",this.listParams.endTime="")}}},d={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"clearfix pb22"},[i("el-date-picker",{staticClass:"w400",attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.refresh},model:{value:t.dateTime,callback:function(e){t.dateTime=e},expression:"dateTime"}}),t._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"请输入数据对话/创建人",clearable:""},on:{change:t.refresh},model:{value:t.listParams.search,callback:function(e){t.$set(t.listParams,"search",e)},expression:"listParams.search"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingAddActivity)?i("el-button",{staticClass:"fr",attrs:{type:"primary","limit-code":t.$buttonCode.marketingAddActivity},on:{click:function(e){return t.$router.push("/activity/add")}}},[t._v("新建数据对话")]):t._e(),t._v(" "),i("el-button",{staticClass:"fr mr10",on:{click:function(e){return t.$router.push("/activity/history-list")}}},[t._v("查看历史数据对话")])],1),t._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:t.tableList}},[t._l(t.tableHeader,function(e,a){return i("el-table-column",{key:a,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter},scopedSlots:t._u([{key:"default",fn:function(a){return[e.formatter?i("span",{domProps:{innerHTML:t._s(e.formatter(a.row))}}):i("span",[t._v(t._s(a.row[e.prop]||"--"))])]}}])})}),t._v(" "),i("el-table-column",{attrs:{label:"操作",align:"left",width:"210px",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return t.$router.push("/activity/data-view/"+e.row.marketingActivityId)}}},[t._v("数据概览")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingEditActivity)?i("el-button",{attrs:{type:"text","limit-code":t.$buttonCode.marketingEditActivity},on:{click:function(i){return t.$router.push("/activity/edit/"+e.row.marketingActivityId)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingOutlineActivity)?i("dm-delete",{attrs:{tips:"是否下线该数据对话?"},on:{confirm:function(i){return t.stopData(e.row)}}},[i("el-button",{attrs:{"limit-code":t.$buttonCode.marketingOutlineActivity,type:"text"}},[t._v("下线")])],1):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.marketingDelActivity)?i("dm-delete",{attrs:{tips:"是否删除该数据对话?"},on:{confirm:function(i){return t.delData(e.row)}}},[i("el-button",{attrs:{"limit-code":t.$buttonCode.marketingDelActivity,type:"text"}},[t._v("删除")])],1):t._e()]}}])})],2),t._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},staticRenderFns:[]},m=i("VU/8")(u,d,!1,null,null,null);e.default=m.exports},Kh4W:function(t,e,i){e.f=i("dSzd")},L7oL:function(t,e){},LKZe:function(t,e,i){var a=i("NpIQ"),n=i("X8DO"),r=i("TcQ7"),s=i("MmMw"),l=i("D2L2"),o=i("SfB7"),c=Object.getOwnPropertyDescriptor;e.f=i("+E39")?c:function(t,e){if(t=r(t),e=s(e,!0),o)try{return c(t,e)}catch(t){}if(l(t,e))return n(!a.f.call(t,e),t[e])}},OYls:function(t,e,i){i("crlp")("asyncIterator")},"QWe/":function(t,e,i){i("crlp")("observable")},Rrel:function(t,e,i){var a=i("TcQ7"),n=i("n0T6").f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==r.call(t)?function(t){try{return n(t)}catch(t){return s.slice()}}(t):n(a(t))}},UY5f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Dd8w"),n=i.n(a),r=i("0xDb"),s=i("1ION"),l={name:"activity-form",data:function(){var t=this;return{loading:!1,marketingActivityId:this.$route.params.id,ruleForm:{name:"",beginDate:"",endDate:"",memberGroup:"",storeGroup:""},rules:{name:[{required:!0,message:"请输入活动名称",trigger:"change"}],dateTime:[{required:!0,validator:function(e,i,a){t.isEdit&&a();var n=t.ruleForm.beginDate,r=t.ruleForm.endDate;n&&r||a(new Error("活动时间不能为空")),new Date(r).getTime()<new Date&&a(new Error("结束时间不能小于当前时间")),new Date(r).getTime()-new Date(n).getTime()>31536e6&&a(new Error(e.message||"时间跨度不能超过一年")),a()},trigger:"change"}]},pickerOptions:{disabledDate:function(t){return Date.now()>=t.getTime()+864e5}},uuid:"",options:[0,1,2,3,4,5],data:"",scenes:"marketing",creatorId:"",info:{},defaltSelected:[],initMemberGroup:!1,isAdd:"add"===this.$route.meta.type,isEdit:"edit"===this.$route.meta.type}},computed:{disabled:function(){return this.isEdit&&new Date>new Date(this.ruleForm.beginDate)}},methods:{submit:Object(r.a)(function(){var t=this;this.$refs.form.validate(function(e){if(e){var i=n()({},t.ruleForm);t.isEdit&&(i.marketingActivityId=t.marketingActivityId),t.disabled&&(delete i.beginDate,delete i.endDate),t.isEdit&&t.disabled&&(i.storeGroup=t.info.storeGroup),t.loading=!0,Object(s.e)(i).then(function(e){t.loading=!1,t.$tips({type:"success",message:"操作成功"}),t.$router.push("/activity/list")}).catch(function(){t.loading=!1})}})}),getInfo:function(){var t=this;this.loading=!0,Object(s.d)({marketingActivityId:this.marketingActivityId}).then(function(e){var i=e.result||{},a=i.activityInfo,n=i.tagGroupList,s=a.name,l=a.beginDate,o=a.endDate,c=a.memberGroup,u=a.storeGroup;t.info=a,t.ruleForm.name=s,t.ruleForm.beginDate=Object(r.f)(l,"yyyy-MM-dd-HH-mm-ss"),t.ruleForm.endDate=Object(r.f)(o,"yyyy-MM-dd-HH-mm-ss"),t.ruleForm.memberGroup=c,t.defaltSelected=n,t.ruleForm.name=s,t.ruleForm.storeGroup=u,t.loading=!1,t.$nextTick(function(){t.initMemberGroup=!0})}).catch(function(){t.loading=!1})},storeChange:function(t){this.ruleForm.storeGroup=t},handleDataTransferred:function(t){this.ruleForm.memberGroup=t.map(function(t){return t.memberTagGroupId}).filter(function(t){return t}).join(",")},handleDataLeft:function(t,e){this.disabled?this.$message.warning("数据对话已生效,分组数据编辑无效"):this.ruleForm.memberGroup=t.map(function(t){return t.memberTagGroupId}).filter(function(t){return t}).join(",")}},mounted:function(){this.isAdd&&(this.initMemberGroup=!0),this.isEdit&&this.getInfo()}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("el-form",{ref:"form",attrs:{model:t.ruleForm,"label-width":"110px",rules:t.rules}},[i("el-form-item",{attrs:{prop:"name",label:"数据对话名称"}},[i("dm-input",{staticClass:"w300",attrs:{placeholder:"请输入数据对话名称",byteType:1,maxlength:10},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1),t._v(" "),i("el-form-item",{attrs:{prop:"dateTime",label:"数据对话时间"}},[i("el-date-picker",{attrs:{disabled:t.disabled,"picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"开始日期"},model:{value:t.ruleForm.beginDate,callback:function(e){t.$set(t.ruleForm,"beginDate",e)},expression:"ruleForm.beginDate"}}),t._v(" "),i("span",{staticStyle:{color:"#909299","margin-left":"5px","margin-right":"5px"}},[t._v("~")]),t._v(" "),i("el-date-picker",{attrs:{disabled:t.disabled,"picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"结束日期"},model:{value:t.ruleForm.endDate,callback:function(e){t.$set(t.ruleForm,"endDate",e)},expression:"ruleForm.endDate"}})],1),t._v(" "),i("el-form-item",[i("el-tooltip",{attrs:{slot:"label","open-delay":"200",placement:"top"},slot:"label"},[i("div",{attrs:{slot:"content"},slot:"content"},[t._v("可选内容,详细使用内容详见《数据对话运营复盘流程》")]),t._v(" "),i("span",{staticClass:"tooltip-icon"},[t._v("会员分组")])]),t._v(" "),i("div",{staticStyle:{width:"600px"}},[t.initMemberGroup?i("vue-gic-member-group",{attrs:{onlyFixedType:"",defaltSelected:t.defaltSelected,height:500,projectName:"marketing"},on:{handleDataTransferred:t.handleDataTransferred,handleDataLeft:t.handleDataLeft}}):t._e()],1)],1),t._v(" "),i("el-form-item",{attrs:{label:"门店范围"}},[i("vue-gic-store-new",{ref:"storeNew",attrs:{options:t.options,isAdd:t.isAdd,creatorId:t.creatorId,scenesVal:t.scenes,scenes:"auth",uuid:t.ruleForm.storeGroup},on:{"store-change":t.storeChange}}),t._v(" "),t.disabled&&t.info.storeGroup!=t.ruleForm.storeGroup?i("div",{staticClass:"gray fz12"},[i("i",{staticClass:"el-icon-warning mr5 red fz12"}),t._v("数据对话已生效,门店修改无效")]):t._e()],1),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v("确认"+t._s(t.isAdd?"新建":"保存"))])],1)],1),t._v(" "),t._m(0)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("ul",{staticStyle:{"padding-bottom":"40px","margin-left":"140px",color:"#909399","font-size":"14px","line-height":"22px"}},[e("li",[this._v("* 应用中新建计划时可以使用数据对话:微信营销、短信营销、卡券营销、智能营销、游戏营销")]),this._v(" "),e("li",[this._v("* 营销数据统计分析维度为:营销人次、活动覆盖人数、活动相关订单、活动销售额")])])}]};var c=i("VU/8")(l,o,!1,function(t){i("d5mT")},"data-v-5d51ddfe",null);e.default=c.exports},Xc4G:function(t,e,i){var a=i("lktj"),n=i("1kS7"),r=i("NpIQ");t.exports=function(t){var e=a(t),i=n.f;if(i)for(var s,l=i(t),o=r.f,c=0;l.length>c;)o.call(t,s=l[c++])&&e.push(s);return e}},Zzip:function(t,e,i){t.exports={default:i("/n6Q"),__esModule:!0}},crlp:function(t,e,i){var a=i("7KvD"),n=i("FeBl"),r=i("O4g8"),s=i("Kh4W"),l=i("evD5").f;t.exports=function(t){var e=n.Symbol||(n.Symbol=r?{}:a.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:s.f(t)})}},d5mT:function(t,e){},fWfb:function(t,e,i){"use strict";var a=i("7KvD"),n=i("D2L2"),r=i("+E39"),s=i("kM2E"),l=i("880/"),o=i("06OY").KEY,c=i("S82l"),u=i("e8AB"),d=i("e6n0"),m=i("3Eo+"),f=i("dSzd"),p=i("Kh4W"),v=i("crlp"),h=i("Xc4G"),y=i("7UMu"),g=i("77Pl"),b=i("EqjI"),_=i("sB3e"),w=i("TcQ7"),x=i("MmMw"),C=i("X8DO"),T=i("Yobk"),S=i("Rrel"),V=i("LKZe"),k=i("1kS7"),D=i("evD5"),M=i("lktj"),O=V.f,F=D.f,$=S.f,P=a.Symbol,j=a.JSON,A=j&&j.stringify,N=f("_hidden"),E=f("toPrimitive"),I={}.propertyIsEnumerable,H=u("symbol-registry"),L=u("symbols"),G=u("op-symbols"),W=Object.prototype,z="function"==typeof P&&!!k.f,B=a.QObject,q=!B||!B.prototype||!B.prototype.findChild,Q=r&&c(function(){return 7!=T(F({},"a",{get:function(){return F(this,"a",{value:7}).a}})).a})?function(t,e,i){var a=O(W,e);a&&delete W[e],F(t,e,i),a&&t!==W&&F(W,e,a)}:F,R=function(t){var e=L[t]=T(P.prototype);return e._k=t,e},U=z&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Y=function(t,e,i){return t===W&&Y(G,e,i),g(t),e=x(e,!0),g(i),n(L,e)?(i.enumerable?(n(t,N)&&t[N][e]&&(t[N][e]=!1),i=T(i,{enumerable:C(0,!1)})):(n(t,N)||F(t,N,C(1,{})),t[N][e]=!0),Q(t,e,i)):F(t,e,i)},K=function(t,e){g(t);for(var i,a=h(e=w(e)),n=0,r=a.length;r>n;)Y(t,i=a[n++],e[i]);return t},X=function(t){var e=I.call(this,t=x(t,!0));return!(this===W&&n(L,t)&&!n(G,t))&&(!(e||!n(this,t)||!n(L,t)||n(this,N)&&this[N][t])||e)},J=function(t,e){if(t=w(t),e=x(e,!0),t!==W||!n(L,e)||n(G,e)){var i=O(t,e);return!i||!n(L,e)||n(t,N)&&t[N][e]||(i.enumerable=!0),i}},Z=function(t){for(var e,i=$(w(t)),a=[],r=0;i.length>r;)n(L,e=i[r++])||e==N||e==o||a.push(e);return a},tt=function(t){for(var e,i=t===W,a=$(i?G:w(t)),r=[],s=0;a.length>s;)!n(L,e=a[s++])||i&&!n(W,e)||r.push(L[e]);return r};z||(l((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=m(arguments.length>0?arguments[0]:void 0),e=function(i){this===W&&e.call(G,i),n(this,N)&&n(this[N],t)&&(this[N][t]=!1),Q(this,t,C(1,i))};return r&&q&&Q(W,t,{configurable:!0,set:e}),R(t)}).prototype,"toString",function(){return this._k}),V.f=J,D.f=Y,i("n0T6").f=S.f=Z,i("NpIQ").f=X,k.f=tt,r&&!i("O4g8")&&l(W,"propertyIsEnumerable",X,!0),p.f=function(t){return R(f(t))}),s(s.G+s.W+s.F*!z,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;et.length>it;)f(et[it++]);for(var at=M(f.store),nt=0;at.length>nt;)v(at[nt++]);s(s.S+s.F*!z,"Symbol",{for:function(t){return n(H,t+="")?H[t]:H[t]=P(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var e in H)if(H[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),s(s.S+s.F*!z,"Object",{create:function(t,e){return void 0===e?T(t):K(T(t),e)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var rt=c(function(){k.f(1)});s(s.S+s.F*rt,"Object",{getOwnPropertySymbols:function(t){return k.f(_(t))}}),j&&s(s.S+s.F*(!z||c(function(){var t=P();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){for(var e,i,a=[t],n=1;arguments.length>n;)a.push(arguments[n++]);if(i=e=a[1],(b(e)||void 0!==t)&&!U(t))return y(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!U(e))return e}),a[1]=e,A.apply(j,a)}}),P.prototype[E]||i("hJx8")(P.prototype,E,P.prototype.valueOf),d(P,"Symbol"),d(Math,"Math",!0),d(a.JSON,"JSON",!0)},n0T6:function(t,e,i){var a=i("Ibhu"),n=i("xnc9").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,n)}},oPmM:function(t,e){},pFYg:function(t,e,i){"use strict";e.__esModule=!0;var a=s(i("Zzip")),n=s(i("5QVw")),r="function"==typeof n.default&&"symbol"==typeof a.default?function(t){return typeof t}:function(t){return t&&"function"==typeof n.default&&t.constructor===n.default&&t!==n.default.prototype?"symbol":typeof t};function s(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof n.default&&"symbol"===r(a.default)?function(t){return void 0===t?"undefined":r(t)}:function(t){return t&&"function"==typeof n.default&&t.constructor===n.default&&t!==n.default.prototype?"symbol":void 0===t?"undefined":r(t)}},sZNU:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("router-view")],1)},staticRenderFns:[]},n=i("VU/8")({name:"activity"},a,!1,null,null,null);e.default=n.exports},vSUq:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Xxa5"),n=i.n(a),r=i("exGp"),s=i.n(r),l=i("0SQO"),o=i("1ION"),c=i("0xDb"),u={name:"activity-list",data:function(){return{loading:!1,tableList:[],dateTime:"",tableHeader:[{label:"数据对话",prop:"name",minWidth:"150",tooltip:!0,align:"left"},{label:"创建时间",minWidth:"100",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).y+"<br />\n <span>"+Object(c.f)(t.createTime,"yyyy-MM-dd-HH-mm-ss",!0).h+"</span>\n </p>"}},{label:"活动时间",minWidth:"160",align:"left",formatter:function(t){return'<p class="cell-time">\n '+Object(c.f)(t.beginDate,"yyyy-MM-dd-HH-mm-ss")+"<br />\n <span>"+Object(c.f)(t.endDate,"yyyy-MM-dd-HH-mm-ss")+"</span>\n </p>"}},{label:"创建人",prop:"creatorName",minWidth:"120",align:"left"},{label:"状态",prop:"stateDesc",minWidth:"120",align:"left"},{label:"合计营销人次",prop:"activityMbrCntTd",minWidth:"120",tooltip:!0,align:"left"}],listParams:{expireType:1,beginTime:"",endTime:"",search:"",currentPage:1,pageSize:20},total:0}},mixins:[l.a],created:function(){this.getTableList()},methods:{getTableList:function(){var t=this;return s()(n.a.mark(function e(){var i;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.loading=!0,t.dataTimeFormat(),e.next=5,Object(o.a)(t.listParams);case 5:0===(i=e.sent).errorCode&&i.result?(t.tableList=i.result.result||[],t.total=i.result.totalCount):(t.tableList=[],t.total=0),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:t.loading=!1;case 12:case"end":return e.stop()}},e,t,[[0,9]])}))()},delData:function(t){var e=this,i=t.marketingActivityId;this.loading=!0,Object(o.c)({marketingActivityId:i}).then(function(t){e.loading=!1,e.$tips({type:"success",message:"删除成功!"}),e.getTableList()}).catch(function(t){e.loading=!1,e.$tips({type:"error",message:"删除失败!"})})},dataTimeFormat:function(){this.dateTime?(this.listParams.beginTime=Object(c.f)(this.dateTime[0],"yyyy-MM-dd"),this.listParams.endTime=Object(c.f)(this.dateTime[1],"yyyy-MM-dd")):(this.listParams.beginTime="",this.listParams.endTime="")}}},d={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"clearfix pb22"},[i("el-date-picker",{staticClass:"w400",attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.refresh},model:{value:t.dateTime,callback:function(e){t.dateTime=e},expression:"dateTime"}}),t._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"请输入数据对话/创建人",clearable:""},on:{change:t.refresh},model:{value:t.listParams.search,callback:function(e){t.$set(t.listParams,"search",e)},expression:"listParams.search"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:t.tableList}},[t._l(t.tableHeader,function(e,a){return i("el-table-column",{key:a,attrs:{"show-overflow-tooltip":e.tooltip,width:e.width,"min-width":e.minWidth,align:e.align,prop:e.prop,label:e.label,formatter:e.formatter},scopedSlots:t._u([{key:"default",fn:function(a){return[e.formatter?i("span",{domProps:{innerHTML:t._s(e.formatter(a.row))}}):i("span",[t._v(t._s(a.row[e.prop]||"--"))])]}}])})}),t._v(" "),i("el-table-column",{attrs:{label:"操作",align:"left",width:"190px",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return t.$router.push("/activity/data-view/"+e.row.marketingActivityId)}}},[t._v("历史数据概览")]),t._v(" "),i("dm-delete",{attrs:{tips:"是否删除该数据对话?"},on:{confirm:function(i){return t.delData(e.row)}}},[i("el-button",{attrs:{type:"text"}},[t._v("删除")])],1)]}}])})],2),t._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":t.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},staticRenderFns:[]},m=i("VU/8")(u,d,!1,null,null,null);e.default=m.exports}});
\ No newline at end of file
webpackJsonp([15],{"0SQO":function(e,t,a){"use strict";t.a={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.listParams.currentPage=1,this.listParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.listParams.currentPage=e,this.getTableList()}}}},"11WH":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("router-view")],1)},staticRenderFns:[]},s=a("VU/8")({name:"calllog"},l,!1,null,null,null);t.default=s.exports},"3bAn":function(e,t){},Dl6f:function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"c",function(){return i}),a.d(t,"b",function(){return r});var l=a("6Hqf"),s="api-marketing/",n=function(e){return Object(l.b)(s+"call-log",e)},i=function(e){return Object(l.b)(s+"save-call-setting",e)},r=function(e){return Object(l.b)(s+"get-call-setting",e)}},"H+9m":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("fZjL"),s=a.n(l),n=a("Dl6f"),i=a("TIfe"),r={name:"record",data:function(){return{openFlag:!1,storageType:0,loading:!1,allUnitFee:{storageThreeFee:0,storageSixFee:0,storageTwelveFee:0}}},methods:{handleSubmit:function(){Object(i.c)()?Object(i.b)(this.submit):this.submit()},submit:function(){var e=this;this.loading=!0;var t=this.openFlag,a=this.storageType;Object(n.c)({openFlag:Number(t),storageType:a}).then(function(t){e.loading=!1,e.$tips({type:"success",message:t.result})})}},mounted:function(){var e=this;Object(i.c)()&&Object(i.a)(),Object(n.b)().then(function(t){var a=t.result,l=a.callSetting,n=a.unitFee;l&&(e.openFlag=!!l.openFlag,e.storageType=l.storageType),s()(n).map(function(t){e.allUnitFee[t]=Number(n[t]).toFixed(2)||"0.00"})})}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap",attrs:{"element-loading-text":"数据保存中"}},[a("el-alert",{attrs:{type:"info",closable:!1,"show-icon":""}},[a("p",{staticClass:"fz14 info-color line-height1_5",attrs:{slot:"title"},slot:"title"},[e._v("使用通话录音存储功能需开启通话录音存储服务,未开启则录音不作额外保存。开启后,仅支持保存从开启当天起的录音数据。选择不同保存时长收费标准不同,当前收费标准如下:1、三个月 "+e._s(e.allUnitFee.storageThreeFee)+"元/分钟 2、六个月 "+e._s(e.allUnitFee.storageSixFee)+"元/分钟 3、十二个月 "+e._s(e.allUnitFee.storageTwelveFee)+"元/分钟")])]),e._v(" "),a("section",{staticClass:"mt20"},[a("div",{staticClass:"mb20"},[a("span",{staticClass:"dm-input_label mr10"},[e._v("开启录音服务")]),e._v(" "),a("el-switch",{model:{value:e.openFlag,callback:function(t){e.openFlag=t},expression:"openFlag"}})],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.openFlag,expression:"openFlag"}]},[a("span",{staticClass:"dm-input_label mr10"},[e._v("录音保存时长")]),e._v(" "),a("el-radio-group",{model:{value:e.storageType,callback:function(t){e.storageType=t},expression:"storageType"}},[a("el-radio",{attrs:{label:0}},[e._v("三个月")]),e._v(" "),a("el-radio",{attrs:{label:1}},[e._v("六个月")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("十二个月")])],1)],1),e._v(" "),a("div",{staticClass:"mt30"},[a("el-button",{staticClass:"save",attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("保存")])],1)])],1)},staticRenderFns:[]};var c=a("VU/8")(r,o,!1,function(e){a("3bAn")},"data-v-465071e7",null);t.default=c.exports},"Q+a4":function(e,t,a){"use strict";t.a={data:function(){return{defaultAvatar:a("hKdl")}},filters:{sceneFilter:function(e){var t="- -";switch(e){case 1:t="客户生日";break;case 2:t="节日活动邀约";break;case 3:t="加企微好友";break;case 4:t="客户复购";break;case 5:t="开卡场景";break;case 0:t="其它场景"}return t}},methods:{filterAvatar:function(e){return e?e.replace(/^http(s)?/,"https"):this.defaultAvatar}}}},TIfe:function(e,t,a){"use strict";a.d(t,"c",function(){return s}),a.d(t,"a",function(){return n}),a.d(t,"b",function(){return i});var l=a("l6IN"),s=(a.n(l),function(){return"1"==window.localStorage.getItem("enableAccessControl")}),n=function(){Object(l.Notification)({title:"温馨提示",type:"warning",message:"在此页面进行修改、删除等操作将更改本商户下所有的配置 请谨慎进行",customClass:"dm-notification"})},i=function(e,t){l.MessageBox.confirm("在此页面进行修改、删除等操作将更改本商户下所有的配置 是否确认修改!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e(t)}).catch(function(){})}},XqLc:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("Xxa5"),s=a.n(l),n=a("exGp"),i=a.n(n),r=a("Dl6f"),o=a("0SQO"),c=a("0xDb"),u={name:"call-log",mixins:[a("Q+a4").a,o.a],data:function(){var e=this;return{formatDateTimeByType:c.f,dateTime:[Date.now()-2592e6,Date.now()],callStatusOption:[{value:"",label:"全部"},{value:1,label:"未接通"},{value:2,label:"接通"}],telTaskTypeOption:[{value:"",label:"全部"},{value:1,label:"不良评价回访"},{value:2,label:"ECM话务任务"}],listParams:{marketingType:"",sceneSettingId:"",phoneNumber:"",currentPage:1,pageSize:20,callStatus:"",telTaskType:"",memberId:"",storeId:"",referId:""},total:0,loading:!1,tableList:[],pickerOptions:{onPick:function(t){var a=t.maxDate,l=t.minDate;new Date(a).getTime()-new Date(l).getTime()>7776e6&&(e.$tips({type:"warning",message:"时间范围不能大于90天"}),e.$nextTick(function(t){e.dateTime=["",""]}))},disabledDate:function(e){return e.getTime()>Date.now()}}}},created:function(){this.getTableList()},methods:{getTableList:function(){var e=this;return i()(s.a.mark(function t(){var a;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.dateTime?(e.listParams.beginTime=Object(c.f)(e.dateTime[0],"yyyy-MM-dd"),e.listParams.endTime=Object(c.f)(e.dateTime[1],"yyyy-MM-dd")):(e.listParams.beginTime="",e.listParams.endTime=""),e.loading=!0,t.prev=2,t.next=5,Object(r.a)(e.listParams);case 5:0===(a=t.sent).errorCode&&(e.tableList=a.result.result||[],e.total=a.result.totalCount),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),e.$tips({type:"error",message:"请求列表出错"});case 12:e.loading=!1;case 13:case"end":return t.stop()}},t,e,[[2,9]])}))()}}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[a("div",{staticClass:"page-tip"},[e._v("通话录音默认存储 3 天")]),e._v(" "),a("div",{staticClass:"pb22 clearfix"},[a("el-date-picker",{staticClass:"w250",attrs:{"picker-options":e.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.getTableList},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}}),e._v(" "),a("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"选择通话状态"},on:{change:e.getTableList},model:{value:e.listParams.callStatus,callback:function(t){e.$set(e.listParams,"callStatus",t)},expression:"listParams.callStatus"}},e._l(e.callStatusOption,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"选择类型"},on:{change:e.getTableList},model:{value:e.listParams.telTaskType,callback:function(t){e.$set(e.listParams,"telTaskType",t)},expression:"listParams.telTaskType"}},e._l(e.telTaskTypeOption,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-input",{staticClass:"w200",attrs:{placeholder:"输入号码查询",clearable:""},on:{change:e.refresh},model:{value:e.listParams.phoneNumber,callback:function(t){e.$set(e.listParams,"phoneNumber",t)},expression:"listParams.phoneNumber"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[a("el-table-column",{attrs:{align:"left",width:"150",prop:"callBeginTime",label:"呼叫时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.callBeginTime,"yyyy-MM-dd-HH-mm-ss",!0).y)),a("br"),e._v(" "),a("span",[e._v(e._s(e.formatDateTimeByType(t.row.callBeginTime,"yyyy-MM-dd-HH-mm-ss",!0).h))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left","min-width":"150",prop:"clerkName",label:"主叫"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"vertical-middle table__avatar--40",attrs:{src:t.row.clerkImage||e.defaultAvatar,width:"60",height:"60",alt:""}}),e._v(" "),a("div",{staticClass:"inline-block vertical-middle"},[a("p",{staticClass:"table-name--ellipsis"},[e._v(e._s(t.row.clerkName||"--"))]),e._v(" "),a("p",{staticClass:"fz13 gray"},[e._v(e._s(t.row.storeGroupName||"--"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left","min-width":"150",prop:"memberId",label:"被叫(会员)"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"vertical-middle table__avatar--40",attrs:{src:e.filterAvatar(t.row.photoUrl),width:"60",height:"60",alt:""}}),e._v(" "),a("div",{staticClass:"inline-block vertical-middle"},[a("p",{staticClass:"table-name--ellipsis"},[e._v(e._s(t.row.name||"--"))]),e._v(" "),a("p",{staticClass:"fz13 gray"},[e._v(e._s(t.row.phoneNumber||"--"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"status",label:"通话状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.callStatus?"未接通":2===t.row.callStatus?"接通":"成功")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"status",label:"类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1!==t.row.telTaskType?t.row.ecmName:"不良评价回访")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"callTime",label:"通话时长(秒)"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.callTime)+"秒 ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"callFee",label:"录音"},scopedSlots:e._u([{key:"default",fn:function(t){return[1!==t.row.showStatus?a("span",[e._v(e._s(t.row.description))]):a("a",{attrs:{href:t.row.showRecordUrl,target:"_blank",title:t.row.description}},[a("i",{staticClass:"iconfont icon-xinxixianshi2 pr5"}),e._v(e._s(t.row.description))])]}}])})],1),e._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]},p=a("VU/8")(u,d,!1,null,null,null);t.default=p.exports}});
\ No newline at end of file
webpackJsonp([15],{"0SQO":function(e,t,a){"use strict";t.a={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.listParams.currentPage=1,this.listParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.listParams.currentPage=e,this.getTableList()}}}},"11WH":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("router-view")],1)},staticRenderFns:[]},s=a("VU/8")({name:"calllog"},l,!1,null,null,null);t.default=s.exports},"1MYK":function(e,t){},Dl6f:function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"c",function(){return i}),a.d(t,"b",function(){return r});var l=a("6Hqf"),s="api-marketing/",n=function(e){return Object(l.b)(s+"call-log",e)},i=function(e){return Object(l.b)(s+"save-call-setting",e)},r=function(e){return Object(l.b)(s+"get-call-setting",e)}},"H+9m":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("fZjL"),s=a.n(l),n=a("Dl6f"),i=a("TIfe"),r={name:"record",data:function(){return{openFlag:!1,storageType:0,loading:!1,allUnitFee:{storageThreeFee:0,storageSixFee:0,storageTwelveFee:0}}},methods:{handleSubmit:function(){Object(i.c)()?Object(i.b)(this.submit):this.submit()},submit:function(){var e=this;this.loading=!0;var t=this.openFlag,a=this.storageType;Object(n.c)({openFlag:Number(t),storageType:a}).then(function(t){e.loading=!1,e.$tips({type:"success",message:t.result})})}},mounted:function(){var e=this;Object(i.c)()&&Object(i.a)(),Object(n.b)().then(function(t){var a=t.result,l=a.callSetting,n=a.unitFee;l&&(e.openFlag=!!l.openFlag,e.storageType=l.storageType),s()(n).map(function(t){e.allUnitFee[t]=Number(n[t]).toFixed(2)||"0.00"})})}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap",attrs:{"element-loading-text":"数据保存中"}},[a("el-alert",{attrs:{type:"info",closable:!1,"show-icon":""}},[a("p",{staticClass:"fz14 info-color line-height1_5",attrs:{slot:"title"},slot:"title"},[e._v("使用通话录音存储功能需开启通话录音存储服务,未开启则录音不作额外保存。开启后,仅支持保存从开启当天起的录音数据。选择不同保存时长收费标准不同,当前收费标准如下:1、三个月 "+e._s(e.allUnitFee.storageThreeFee)+"元/分钟 2、六个月 "+e._s(e.allUnitFee.storageSixFee)+"元/分钟 3、十二个月 "+e._s(e.allUnitFee.storageTwelveFee)+"元/分钟")])]),e._v(" "),a("section",{staticClass:"mt20"},[a("div",{staticClass:"mb20"},[a("span",{staticClass:"dm-input_label mr10"},[e._v("开启录音服务")]),e._v(" "),a("el-switch",{model:{value:e.openFlag,callback:function(t){e.openFlag=t},expression:"openFlag"}})],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.openFlag,expression:"openFlag"}]},[a("span",{staticClass:"dm-input_label mr10"},[e._v("录音保存时长")]),e._v(" "),a("el-radio-group",{model:{value:e.storageType,callback:function(t){e.storageType=t},expression:"storageType"}},[a("el-radio",{attrs:{label:0}},[e._v("三个月")]),e._v(" "),a("el-radio",{attrs:{label:1}},[e._v("六个月")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("十二个月")])],1)],1),e._v(" "),a("div",{staticClass:"mt30"},[a("el-button",{staticClass:"save",attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("保存")])],1)])],1)},staticRenderFns:[]};var c=a("VU/8")(r,o,!1,function(e){a("1MYK")},"data-v-42d9bced",null);t.default=c.exports},"Q+a4":function(e,t,a){"use strict";t.a={data:function(){return{defaultAvatar:a("hKdl")}},filters:{sceneFilter:function(e){var t="- -";switch(e){case 1:t="客户生日";break;case 2:t="节日活动邀约";break;case 3:t="加企微好友";break;case 4:t="客户复购";break;case 5:t="开卡场景";break;case 0:t="其它场景"}return t}},methods:{filterAvatar:function(e){return e?e.replace(/^http(s)?/,"https"):this.defaultAvatar}}}},TIfe:function(e,t,a){"use strict";a.d(t,"c",function(){return s}),a.d(t,"a",function(){return n}),a.d(t,"b",function(){return i});var l=a("l6IN"),s=(a.n(l),function(){return"1"==window.localStorage.getItem("enableAccessControl")}),n=function(){Object(l.Notification)({title:"温馨提示",type:"warning",message:"在此页面进行修改、删除等操作将更改本商户下所有的配置 请谨慎进行",customClass:"dm-notification"})},i=function(e,t){l.MessageBox.confirm("在此页面进行修改、删除等操作将更改本商户下所有的配置 是否确认修改!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e(t)}).catch(function(){})}},XqLc:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("Xxa5"),s=a.n(l),n=a("exGp"),i=a.n(n),r=a("Dl6f"),o=a("0SQO"),c=a("0xDb"),u={name:"call-log",mixins:[a("Q+a4").a,o.a],data:function(){var e=this;return{formatDateTimeByType:c.f,dateTime:[Date.now()-2592e6,Date.now()],callStatusOption:[{value:"",label:"全部"},{value:1,label:"未接通"},{value:2,label:"接通"}],telTaskTypeOption:[{value:"",label:"全部"},{value:1,label:"不良评价回访"},{value:2,label:"ECM话务任务"}],listParams:{marketingType:"",sceneSettingId:"",phoneNumber:"",currentPage:1,pageSize:20,callStatus:"",telTaskType:"",memberId:"",storeId:"",referId:""},total:0,loading:!1,tableList:[],pickerOptions:{onPick:function(t){var a=t.maxDate,l=t.minDate;new Date(a).getTime()-new Date(l).getTime()>7776e6&&(e.$tips({type:"warning",message:"时间范围不能大于90天"}),e.$nextTick(function(t){e.dateTime=["",""]}))},disabledDate:function(e){return e.getTime()>Date.now()}}}},created:function(){this.getTableList()},methods:{getTableList:function(){var e=this;return i()(s.a.mark(function t(){var a;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.dateTime?(e.listParams.beginTime=Object(c.f)(e.dateTime[0],"yyyy-MM-dd"),e.listParams.endTime=Object(c.f)(e.dateTime[1],"yyyy-MM-dd")):(e.listParams.beginTime="",e.listParams.endTime=""),e.loading=!0,t.prev=2,t.next=5,Object(r.a)(e.listParams);case 5:0===(a=t.sent).errorCode&&(e.tableList=a.result.result||[],e.total=a.result.totalCount),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),e.$tips({type:"error",message:"请求列表出错"});case 12:e.loading=!1;case 13:case"end":return t.stop()}},t,e,[[2,9]])}))()}}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[a("div",{staticClass:"page-tip"},[e._v("通话录音默认存储 3 天")]),e._v(" "),a("div",{staticClass:"pb22 clearfix"},[a("el-date-picker",{staticClass:"w250",attrs:{"picker-options":e.pickerOptions,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.getTableList},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}}),e._v(" "),a("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"选择通话状态"},on:{change:e.getTableList},model:{value:e.listParams.callStatus,callback:function(t){e.$set(e.listParams,"callStatus",t)},expression:"listParams.callStatus"}},e._l(e.callStatusOption,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"选择类型"},on:{change:e.getTableList},model:{value:e.listParams.telTaskType,callback:function(t){e.$set(e.listParams,"telTaskType",t)},expression:"listParams.telTaskType"}},e._l(e.telTaskTypeOption,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),a("el-input",{staticClass:"w200",attrs:{placeholder:"输入号码查询",clearable:""},on:{change:e.refresh},model:{value:e.listParams.phoneNumber,callback:function(t){e.$set(e.listParams,"phoneNumber",t)},expression:"listParams.phoneNumber"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[a("el-table-column",{attrs:{align:"left",width:"150",prop:"callBeginTime",label:"呼叫时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.callBeginTime,"yyyy-MM-dd-HH-mm-ss",!0).y)),a("br"),e._v(" "),a("span",[e._v(e._s(e.formatDateTimeByType(t.row.callBeginTime,"yyyy-MM-dd-HH-mm-ss",!0).h))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left","min-width":"150",prop:"clerkName",label:"主叫"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"vertical-middle table__avatar--40",attrs:{src:t.row.clerkImage||e.defaultAvatar,width:"60",height:"60",alt:""}}),e._v(" "),a("div",{staticClass:"inline-block vertical-middle"},[a("p",{staticClass:"table-name--ellipsis"},[e._v(e._s(t.row.clerkName||"--"))]),e._v(" "),a("p",{staticClass:"fz13 gray"},[e._v(e._s(t.row.storeGroupName||"--"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left","min-width":"150",prop:"memberId",label:"被叫(会员)"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"vertical-middle table__avatar--40",attrs:{src:e.filterAvatar(t.row.photoUrl),width:"60",height:"60",alt:""}}),e._v(" "),a("div",{staticClass:"inline-block vertical-middle"},[a("p",{staticClass:"table-name--ellipsis"},[e._v(e._s(t.row.name||"--"))]),e._v(" "),a("p",{staticClass:"fz13 gray"},[e._v(e._s(t.row.phoneNumber||"--"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"status",label:"通话状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.callStatus?"未接通":2===t.row.callStatus?"接通":"成功")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"status",label:"类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1!==t.row.telTaskType?t.row.ecmName:"不良评价回访")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"callTime",label:"通话时长(秒)"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.callTime)+"秒 ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"left",width:"150",prop:"callFee",label:"录音"},scopedSlots:e._u([{key:"default",fn:function(t){return[1!==t.row.showStatus?a("span",[e._v(e._s(t.row.description))]):a("a",{attrs:{href:t.row.showRecordUrl,target:"_blank",title:t.row.description}},[a("i",{staticClass:"iconfont icon-xinxixianshi2 pr5"}),e._v(e._s(t.row.description))])]}}])})],1),e._v(" "),a("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]},p=a("VU/8")(u,d,!1,null,null,null);t.default=p.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([11],{"0SQO":function(e,t,n){"use strict";t.a={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.listParams.currentPage=1,this.listParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.listParams.currentPage=e,this.getTableList()}}}},"5LRq":function(e,t){},"6ncD":function(e,t,n){"use strict";var a={name:"time-count",data:function(){return{isStart:!1,globalTimer:null,countString:"0秒",day:0,hour:0,minute:0,second:0,millisecond:0,countVal:this.defaultVal,pauseTime:0,nowDate:Date.now()}},watch:{countString:{deep:!0,handler:function(e,t){this.needSendSunc&&this.passToParent(e)}},needSendSunc:{deep:!0,handler:function(e){e&&this.passToParent(this.countString)}}},props:{sendSync:{type:Boolean,default:!1},autoStart:{type:Boolean,default:!1},defaultVal:{type:Number,default:0}},mounted:function(){this.autoStart&&this.startCountFn()},computed:{needSendSunc:function(){return this.sendSync}},created:function(){this.$on("startCount",function(){this.startCountFn()}),this.$on("stopCount",function(){this.stopCountFn()})},methods:{counterFn:function(e){var t=this,n=(new Date).getTime(),a=0;this.pauseTime<=0?a=e-n:(this.pauseTime=this.pauseTime+10,a=e-this.pauseTime),a<=0&&(this.stopCountFn(),this.$nextTick(function(e){t.countString=""}));var r=a%864e5,i=r%36e5,o=i%6e4;this.day=Math.floor(a/864e5),this.hour=Math.floor(r/36e5),this.minute=Math.floor(i/6e4),this.second=Math.round(o/1e3),this.day>0?this.countString=this.day+"天 "+this.hour+"小时 "+this.minute+"分 "+this.second+"秒":this.hour>0?this.countString=this.hour+"小时 "+this.minute+"分 "+this.second+"秒":this.minute>0?this.countString=this.minute+"分 "+this.second+"秒":this.countString=this.second+"秒"},startCountFn:function(){var e=this;if(!this.isStart){this.countVal=this.countVal?this.countVal:(new Date).getTime();var t=setInterval(function(t){e.counterFn(e.countVal)},1e3);this.globalTimer=t,this.isStart=!0}},stopCountFn:function(){this.isStart&&(window.clearInterval(this.globalTimer),this.globalTimer=null,this.isStart=!1,this.pauseTime=(new Date).getTime())},passToParent:function(e){this.$emit("getDataFromChild",e)}},beforeDestroy:function(){this.stopCountFn()}},r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("span",{attrs:{sendSync:this.sendSync,autoStart:this.autoStart,defaultVal:this.defaultVal}},[this._v(this._s(this.countString))])])},staticRenderFns:[]},i=n("VU/8")(a,r,!1,null,null,null);t.a=i.exports},AQXh:function(e,t,n){"use strict";var a={name:"dm-upload",props:{model:{type:Object,default:function(){return{code:"",imgUrl:"",wxImg:""}}},width:{type:String,default:"auto"},tips:{type:String,default:"图片建议尺寸:100*100"},className:{type:String,default:""},label:{type:String,default:"上传"},fileType:{type:String,default:"file"},acceptType:{type:String,default:"image/gif, image/jpeg,image/png"},showImg:{type:Boolean,default:!0},tipsStyle:Object,url:{type:String,default:""},needExtraParams:{type:Boolean,default:!1},paramsObj:{type:Object},noUse:{type:Boolean,default:!1},iconClass:{type:String,default:""},needAxiosDataBack:{type:Boolean,default:!1}},watch:{model:{handler:function(e){this.$emit("update:model",this.model),this.$emit("backImg",this.model)},deep:!0}},data:function(){return{disabled:!1,loading:!1}},methods:{dataBack:function(e,t){this.$emit("dataBack",e,t)}}},r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("label",{staticClass:"el-button el-button--primary",class:{"is-disabled":e.disabled||e.noUse}},[e.iconClass?n("i",{staticClass:"mr5",class:e.iconClass}):e._e(),e._v("\n "+e._s(e.disabled?"上传中...":e.label)+"\n "),n("input",{directives:[{name:"upload",rawName:"v-upload",value:this,expression:"this"}],ref:"uploader",staticStyle:{display:"none"},attrs:{type:"file",disabled:e.disabled||e.noUse,accept:e.acceptType}})]),e._v(" "),n("span",{staticClass:"fz12 gray",style:e.tipsStyle},[e._v(" "+e._s(e.tips))])])},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(e){n("5LRq")},"data-v-1b5ce2bf",null);t.a=i.exports},BPmr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("router-view")],1)},staticRenderFns:[]},r=n("VU/8")({name:"cdkey",created:function(){var e=this;this.$store.commit("aside_handler",!1),this.$nextTick(function(t){e.$store.commit("aside_handler",!0)})}},a,!1,null,null,null);t.default=r.exports},"EBS+":function(e,t,n){"use strict";n.d(t,"O",function(){return o}),n.d(t,"Q",function(){return s}),n.d(t,"o",function(){return c}),n.d(t,"_18",function(){return l}),n.d(t,"j",function(){return d}),n.d(t,"d",function(){return u}),n.d(t,"_21",function(){return f}),n.d(t,"q",function(){return p}),n.d(t,"b",function(){return m}),n.d(t,"h",function(){return b}),n.d(t,"c",function(){return y}),n.d(t,"g",function(){return h}),n.d(t,"L",function(){return g}),n.d(t,"X",function(){return v}),n.d(t,"R",function(){return k}),n.d(t,"S",function(){return _}),n.d(t,"T",function(){return w}),n.d(t,"D",function(){return C}),n.d(t,"G",function(){return x}),n.d(t,"_15",function(){return T}),n.d(t,"f",function(){return j}),n.d(t,"P",function(){return O}),n.d(t,"e",function(){return S}),n.d(t,"y",function(){return F}),n.d(t,"_11",function(){return P}),n.d(t,"x",function(){return $}),n.d(t,"r",function(){return D}),n.d(t,"_10",function(){return I}),n.d(t,"_4",function(){return L}),n.d(t,"_22",function(){return E}),n.d(t,"n",function(){return R}),n.d(t,"_6",function(){return M}),n.d(t,"m",function(){return V}),n.d(t,"z",function(){return N}),n.d(t,"B",function(){return B}),n.d(t,"t",function(){return U}),n.d(t,"_14",function(){return q}),n.d(t,"i",function(){return z}),n.d(t,"_16",function(){return A}),n.d(t,"J",function(){return H}),n.d(t,"I",function(){return K}),n.d(t,"_5",function(){return Q}),n.d(t,"k",function(){return X}),n.d(t,"_20",function(){return G}),n.d(t,"C",function(){return Z}),n.d(t,"_8",function(){return W}),n.d(t,"_13",function(){return J}),n.d(t,"l",function(){return Y}),n.d(t,"s",function(){return ee}),n.d(t,"_9",function(){return te}),n.d(t,"N",function(){return ne}),n.d(t,"M",function(){return ae}),n.d(t,"_0",function(){return re}),n.d(t,"_12",function(){return ie}),n.d(t,"_7",function(){return oe}),n.d(t,"A",function(){return se}),n.d(t,"v",function(){return ce}),n.d(t,"F",function(){return le}),n.d(t,"_3",function(){return de}),n.d(t,"w",function(){return ue}),n.d(t,"_2",function(){return fe}),n.d(t,"_1",function(){return pe}),n.d(t,"V",function(){return me}),n.d(t,"Y",function(){return be}),n.d(t,"p",function(){return ye}),n.d(t,"u",function(){return he}),n.d(t,"a",function(){return ge}),n.d(t,"_19",function(){return ve}),n.d(t,"_17",function(){return ke}),n.d(t,"U",function(){return _e}),n.d(t,"W",function(){return we}),n.d(t,"Z",function(){return Ce}),n.d(t,"H",function(){return xe}),n.d(t,"K",function(){return Te}),n.d(t,"E",function(){return je});var a=n("6Hqf"),r=n("2uFj"),i="api-marketing/",o=(r.a.api,function(e){return Object(a.b)("/api-admin/list-wm-coupon",e,!1,!1,"post")}),s=function(e){return Object(a.b)("/api-admin/list-coupon-log",e,!1,!1,"post")},c=function(e){return Object(a.b)("/api-admin/delete-coupon-error-log",e,!1,!1,"post")},l=function(e){return Object(a.b)("/api-admin/send-coupon-reset",e,!1,!1,"post")},d=function(e){return Object(a.b)("/api-admin/consume-coupon",e,!1,!1,"post")},u=function(e){return Object(a.b)(i+"card-page",e)},f=function(e){return Object(a.b)(i+"update-card-stock",e)},p=function(e){return Object(a.b)(i+"delete-card",e)},m=function(e){return Object(a.b)(i+"card-channel-analysis",e)},b=function(e){return Object(a.b)(i+"card-basic-statistics",e)},y=function(e){return Object(a.b)(i+"card-channel-statistics",e)},h=function(e){return Object(a.b)(i+"card-trend-echart",e)},g=function(e){return Object(a.b)(i+"get-category-list",e)},v=function(e){return Object(a.b)(i+"weimob-coupon-bind-count",e)},k=function(e){return Object(a.b)(i+"latest-reptile-time",e)},_=function(e){return Object(a.b)(i+"get-property-list",e)},w=function(e){return Object(a.b)(i+"get-property-value-list",e)},C=function(e){return Object(a.b)(i+"get-card-detail",e)},x=function(e){return Object(a.b)(i+"list-coupon-names",e)},T=function(e){return Object(a.b)(i+"save-update-card",e)},j=function(e){return Object(a.b)(i+"card-record-page",e)},O=function(e){return Object(a.b)(i+"coup-give-log-page",e)},S=function(e){return Object(a.b)(i+"card-put-on-record",e)},F=r.a.api+i+"export-card-put-on-record-excel",P=function(e){return Object(a.b)(i+"page-back-coup-log",e)},$=r.a.api+i+"export-back-coup-excel",D=function(e){return Object(a.b)(i+"delete-card-puton",e)},I=function(e){return Object(a.b)(i+"refresh-put-on-count",e)},L=function(e){return Object(a.b)(i+"list-coupcard-order",e)},E=function(e){return Object(a.b)(i+"write-off-card",e)},R=function(e){return Object(a.b)(i+"coupcard-destroy",e)},M=function(e){return Object(a.b)(i+"page-card-shelfs",e)},V=function(e){return Object(a.b)(i+"coupcard-check-list",e)},N=r.a.api+i+"export-coupcard-check-excel",B=r.a.api+i+"export-received-record-excel",U=function(e){return Object(a.b)(i+"delete-shelf-card",e)},q=function(e){return Object(a.b)(i+"save-shelf-card",e)},z=function(e){return Object(a.b)(i+"check-puton-memberIds",e)},A=function(e){return Object(a.b)(i+"save-update-puton-card",e)},H=function(e){return Object(a.b)(i+"get-card-puton-detail",e)},K=function(e){return Object(a.b)(i+"get-marketing-setting",e)},Q=function(e){return Object(a.b)(i+"load-goods-data",e)},X=function(e){return Object(a.b)(i+"copy-card-detail",e)},G=function(e){return Object(a.b)(i+"template-receive-card-page",e)},Z=r.a.api+i+"export-template-receive-excel",W=function(e){return Object(a.b)(i+"page-coup-package",e)},J=function(e){return Object(a.b)(i+"create-coup-package",e)},Y=function(e){return Object(a.b)(i+"coup-package-detail",e)},ee=function(e){return Object(a.b)(i+"delete-coup-package",e)},te=function(e){return Object(a.b)(i+"page-coup-package-log",e)},ne=function(e){return Object(a.b)(i+"get-coup-list-info",e)},ae=function(e){return Object(a.b)(i+"get-coup-destory-detail",e)},re=i+"import-destory-coup-code",ie=function(e){return Object(a.b)(i+"save-coup-destory-plan",e)},oe=function(e){return Object(a.b)(i+"page-coup-destory-plan",e)},se=r.a.api+i+"export-destory-plan-code?requestProject=marketing",ce=r.a.api+i+"download-destroy-code-template?requestProject=marketing",le=function(e){return Object(a.b)(i+"/get-card-effective-mode",e)},de=function(e){return Object(a.b)(i+"/list-consume-refund-page",e)},ue=r.a.api+i+"ecm-consume-coupon-excel",fe=function(e){return Object(a.b)(i+"/list-consume-coupon-detail",e)},pe=function(e){return Object(a.b)(i+"/is-aolai",e)},me=function(e){return Object(a.b)(i+"write-off-store-page",e)},be=function(e){return Object(a.b)(i+"card-write-off-qrcode",e)},ye=function(e){return Object(a.b)(i+"delete-write-off-store",e)},he=function(e){return Object(a.b)(i+"delete-write-off-staff",e)},ge=function(e){return Object(a.b)(i+"save-write-off-store",e,!0)},ve=function(e){return Object(a.b)(i+"save-write-off-staff",e)},ke=function(e){return Object(a.b)(i+"check-write-off-staff",e)},_e=function(e){return Object(a.b)("/api-plug/query-store-by-code-name-new",e)},we=function(e){return Object(a.b)("/api-plug/get-store-widget-store",e)},Ce=function(e){return Object(a.b)("/api-marketing/import-cost-store",e,!0)},xe=function(e){return Object(a.b)(i+"card-write-off-log-page",e)},Te=function(e){return Object(a.b)(i+"card-write-off-store-page",e)},je=function(e){return Object(a.b)(i+"card-write-off-page",e)}},GZBk:function(e,t,n){"use strict";n.d(t,"h",function(){return o}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"d",function(){return d}),n.d(t,"j",function(){return u}),n.d(t,"i",function(){return f}),n.d(t,"a",function(){return p}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return b});var a=n("6Hqf"),r=n("2uFj"),i="api-marketing/",o=(r.a.api,function(e){return Object(a.b)(i+"cdkey-plan-record",e)}),s=function(e){return Object(a.b)(i+"cdkey-plan-forbid",e)},c=function(e){return Object(a.b)(i+"cdkey-plan-delete",e)},l=function(e){return Object(a.b)(i+"cdkey-plan-edit",e)},d=function(e){return Object(a.b)(i+"cdkey-log-record",e)},u=function(e){return Object(a.b)(i+"get-cdkey-wxa-qr-code-image",e)},f=i+"cdkey-plan-save",p=i+"cdkey-check",m=r.a.api+i+"cdkey-export?requestProject=marketing",b=r.a.api+i+"cdkey-fail-export"},HTjL:function(e,t){},UsD7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("Xxa5"),r=n.n(a),i=n("exGp"),o=n.n(i),s=n("GZBk"),c=n("0xDb"),l=n("6ncD"),d=n("0SQO"),u={name:"cdkey-list",components:{timeCounts:l.a},mixins:[d.a],data:function(){return{status:[{value:1,label:"未生效"},{value:2,label:"生效中"},{value:3,label:"已过期"},{value:4,label:"已失效"}],loading:!1,tableList:[],listParams:{cdkeyPlanStatus:"",cdkeyType:"",cdkeyEffectTime:"",cdkeyLimitTime:"",cdkeyName:"",currentPage:1,pageSize:20},dateTime:["",""],total:0,qr:{},activeName:"url",codeVisible:!1,projectName:"marketing",dialogVisible:!1,excelUrl:"",params:{}}},created:function(){this.getTableList(),this.getCdkeyWxaQrCodeImage()},methods:{formatDateTimeByType:c.f,getCdkeyWxaQrCodeImage:function(){var e=this;Object(s.j)().then(function(t){e.qr=t.result||{}})},getTableList:function(){var e=this;return o()(r.a.mark(function t(){var n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,e.dateTime?(e.listParams.cdkeyEffectTime=Object(c.f)(e.dateTime[0],"yyyy-MM-dd"),e.listParams.cdkeyLimitTime=Object(c.f)(e.dateTime[1],"yyyy-MM-dd")):e.listParams.cdkeyEffectTime=e.listParams.cdkeyLimitTime="",t.next=5,Object(s.h)(e.listParams);case 5:0===(n=t.sent).errorCode&&n.result?(e.tableList=n.result.result||[],e.total=n.result.totalCount):(e.tableList=[],e.total=0),e.loading=!1,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),e.loading=!1;case 13:case"end":return t.stop()}},t,e,[[0,10]])}))()},delData:function(e){var t=this,n=e.cdkeyPlanId;this.loading=!0,Object(s.e)({cdkeyPlanId:n}).then(function(e){t.$tips({type:"success",message:"删除成功!"}),t.getTableList()}).catch(function(e){t.$tips({type:"error",message:"删除失败!"})}).finally(function(){t.loading=!1})},invalidData:function(e){var t=this,n=e.cdkeyPlanId;this.loading=!0,Object(s.g)({cdkeyPlanId:n}).then(function(e){t.$tips({type:"success",message:"禁用成功!"}),t.getTableList()}).catch(function(e){t.$tips({type:"error",message:"禁用失败!"})}).finally(function(){t.loading=!1})},cdkeyExport:function(e){var t=e.cdkeyPlanId;this.dialogVisible=!0,this.excelUrl=s.b,this.params={cdkeyPlanId:t,requestProject:"marketing"}}}},f={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[n("div",{staticClass:"clearfix pb22"},[n("el-input",{staticClass:"w280",attrs:{placeholder:"请输入兑换码名称",clearable:""},on:{change:e.refresh},model:{value:e.listParams.cdkeyName,callback:function(t){e.$set(e.listParams,"cdkeyName",t)},expression:"listParams.cdkeyName"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),n("el-date-picker",{staticClass:"w300",attrs:{type:"daterange","range-separator":"至","start-placeholder":"兑换开始日期","end-placeholder":"兑换结束日期"},on:{change:e.refresh},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}}),e._v(" "),n("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"兑换码类型"},on:{change:e.refresh},model:{value:e.listParams.cdkeyType,callback:function(t){e.$set(e.listParams,"cdkeyType",t)},expression:"listParams.cdkeyType"}},[n("el-option",{attrs:{label:"专属码",value:1}}),e._v(" "),n("el-option",{attrs:{label:"通用码",value:2}})],1),e._v(" "),n("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"兑换码状态"},on:{change:e.refresh},model:{value:e.listParams.cdkeyPlanStatus,callback:function(t){e.$set(e.listParams,"cdkeyPlanStatus",t)},expression:"listParams.cdkeyPlanStatus"}},e._l(e.status,function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),n("div",{staticClass:"fr"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.codeVisible=!0}}},[e._v("兑换链接")]),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingAddCdkey)?n("el-button",{attrs:{type:"primary","limit-code":e.$buttonCode.marketingAddCdkey},on:{click:function(t){return e.$router.push("/cdKey/add")}}},[e._v("新建兑换码")]):e._e()],1)],1),e._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[n("el-table-column",{attrs:{"min-width":"150",align:"left",prop:"cdkeyName",label:"兑换码名称",fixed:"left","show-overflow-tooltip":!0}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"170",align:"left",prop:"createTime",label:"有效期"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v(e._s(e.formatDateTimeByType(t.row.cdkeyEffectTime,"yyyy-MM-dd HH:mm:ss"))+" ~")]),e._v(" "),n("div",[e._v(e._s(e.formatDateTimeByType(t.row.cdkeyLimitTime,"yyyy-MM-dd HH:mm:ss")))])]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",label:"兑换码类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.cdkeyType?"专属码":"通用码")+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkeyContentDescribe",label:"兑换码内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.cdkeyType?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.cdkeyExport(t.row)}}},[e._v("导出兑换码列表")]):n("span",[e._v(e._s(t.row.cdkeyValue))])]}}])}),e._v(" "),n("el-table-column",{attrs:{"min-width":"120",align:"left",prop:"cdkeyCount",label:"兑换码数量"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkeyContentDescribe",label:"兑换内容"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",prop:"createTime",label:"兑换码状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--warning"}),e._v("未生效")]):e._e(),e._v(" "),2==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--primary--flash"}),e._v("生效中")]):e._e(),e._v(" "),3==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--info"}),e._v("已过期")]):e._e(),e._v(" "),4==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--info"}),e._v("已失效")]):e._e()]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"操作",align:"left",width:"160px",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.marketingEditCdkey)&&1==t.row.cdkeyPlanStatus?n("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingEditCdkey},on:{click:function(n){return e.$router.push("/cdKey/edit/"+t.row.cdkeyPlanId)}}},[e._v("编辑")]):e._e(),e._v(" "),1!=t.row.cdkeyPlanStatus?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.$router.push("/cdKey/info/"+t.row.cdkeyPlanId)}}},[e._v("详情")]):e._e(),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingDisableCdkey)&&2==t.row.cdkeyPlanStatus?n("dm-delete",{attrs:{tips:"是否禁用该条数据?"},on:{confirm:function(n){return e.invalidData(t.row)}}},[n("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingDisableCdkey}},[e._v("禁用")])],1):e._e(),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingDelCdkey)&&1==t.row.cdkeyPlanStatus?n("dm-delete",{attrs:{tips:"是否删除该条数据?"},on:{confirm:function(n){return e.delData(t.row)}}},[n("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingDelCdkey}},[e._v("删除")])],1):e._e()]}}])})],1),e._v(" "),n("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),n("el-dialog",{attrs:{title:"页面链接",visible:e.codeVisible,width:"500px"},on:{"update:visible":function(t){e.codeVisible=t}}},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"页面链接",name:"url"}},[n("div",{staticStyle:{padding:"30px 0"}},[n("el-input",{staticStyle:{display:"inline-block",width:"400px"},attrs:{value:e.qr.linkUrl,disabled:""}}),e._v(" "),n("el-button",{directives:[{name:"clipboard",rawName:"v-clipboard:text",value:e.qr.linkUrl,expression:"qr.linkUrl",arg:"text"}],attrs:{type:"text"}},[e._v("复制")])],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"小程序二维码",name:"qrUrl"}},[n("div",{staticClass:"text-center pt20"},[n("img",{staticClass:"pt10",attrs:{src:e.qr.imgUrl,width:"192",height:"192"}}),e._v(" "),n("div",{staticStyle:{"margin-top":"11px",color:"#606266"}},[e._v("- 兑换码链接二维码 -")]),e._v(" "),n("div",{staticStyle:{"margin-top":"11px",color:"#909399","padding-bottom":"30px","font-size":"12px"}},[e._v("小程序端需升级版本至3.6.1或p3.6.1以上")])])])],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.codeVisible=!1}}},[e._v("关闭 ")])],1)],1),e._v(" "),n("vue-gic-export-excel",{attrs:{dialogVisible:e.dialogVisible,dataArr:e.tableList,type:2,excelUrl:e.excelUrl,params:e.params,projectName:e.projectName},on:{"update:dialogVisible":function(t){e.dialogVisible=t},"update:dialog-visible":function(t){e.dialogVisible=t}}})],1)},staticRenderFns:[]},p=n("VU/8")(u,f,!1,null,null,null);t.default=p.exports},oqbS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("Dd8w"),r=n.n(a),i=n("fZjL"),o=n.n(i),s=n("OMN4"),c=n.n(s),l=n("AQXh"),d=n("0xDb"),u=n("GZBk"),f=n("EBS+"),p={name:"cdkey-form",data:function(){var e=this;return{loading:!1,cdkeyPlanId:this.$route.params.id,cdkeyFailExportUrl:u.c,ruleForm:{cdkeyContentType:"",cdkeyContentRelated:"",cdkeyContentDescribe:"",cdkeyMode:1,cdkeyCount:void 0,cdkeyType:1,cdkeyValue:"",cdkeyEffectTime:"",cdkeyLimitTime:"",cdkeyName:"",marketingActivityId:""},importRes:{file:null,fileId:"",fileName:"",size:"",fail:0,success:0,failData:[],total:0},rules:{cdkeyName:[{required:!0,message:"请输入兑换码名称",trigger:"change"}],cdkeyCount:[{validator:function(t,n,a){if(!n){var r="请输入"+(2==e.ruleForm.cdkeyType?"兑换次数上限":"兑换码数量");return 2==e.ruleForm.cdkeyMode&&(r=e.importRes.fileName?"手工导入数据无可用码":"请上传文件"),a(new Error(""+r))}a()},trigger:"change"}],cdkeyContentRelated:[{required:!0,message:"请选择卡券",trigger:"change"}],fileId:[{validator:function(t,n,a){if(2==e.ruleForm.cdkeyMode&&!e.importRes.fileId&&e.isAdd)return a(new Error(t.message));a()},message:"请上传文件",trigger:"change"}],dateTime:[{required:!0,validator:function(t,n,a){if(e.isEdit&&a(),e.dateTime&&e.dateTime[0]){var r=e.dateTime[0],i=e.dateTime[1];new Date(i).getTime()-new Date(r).getTime()>7776e6&&e.canEdit&&a(new Error(t.message||"时间跨度不能超过三个月")),a()}else a(new Error("有效期不能为空"))},trigger:"change"}],cdkeyValue:[{required:!0,validator:function(t,n,a){if(2==e.ruleForm.cdkeyType)return e.ruleForm.cdkeyValue||a(new Error("请输入码值")),/^[0-9A-Za-z]{8}$/.test(e.ruleForm.cdkeyValue)||a(new Error("码值限定8位,包含数字及字母")),a();a()},trigger:"change"}]},info:{},uploadUrl:u.a,pickerOptions:{disabledDate:function(e){return Date.now()>=e.getTime()+864e5}},dateTime:[],relatedInfo:{stock:100,status:1},projectName:"marketing",dialogVisible:!1,excelUrl:"",params:{},showCardDialog:!1,isAdd:"add"===this.$route.meta.type,isEdit:"edit"===this.$route.meta.type,isInfo:"info"===this.$route.meta.type}},components:{file:l.a},computed:{canEdit:function(){return this.isAdd||this.isEdit&&new Date<this.info.cdkeyEffectTime}},methods:{changeCdkeyValue:function(e){2==e&&(this.ruleForm.cdkeyMode=1),this.$refs.ruleForm.validateField("cdkeyCount")},changeCdKeyMode:function(e){if(2==e){this.ruleForm.cdkeyCount=this.importRes.success||0;var t=this.$refs.ruleForm.fields.find(function(e){return"cdkeyCount"==e.prop}),n=this.$refs.ruleForm.fields.find(function(e){return"fileId"==e.prop});t.resetField(),n.resetField()}else this.$refs.ruleForm.validateField("cdkeyCount")},downloadMX:function(){window.open("/marketing/static/file/兑换码模板示例.xlsx","_blank")},getInfo:function(){var e=this;this.loading=!0,Object(u.f)({cdkeyPlanId:this.cdkeyPlanId}).then(function(t){o()(e.ruleForm).map(function(n){e.ruleForm[n]=t.result[n]}),e.info=t.result||{},e.dateTime=[t.result.cdkeyEffectTime,t.result.cdkeyLimitTime],1==t.result.cdkeyContentType&&e.getCardInfo(t.result.cdkeyContentRelated)}).finally(function(){e.loading=!1})},getCardInfo:function(e){var t=this;Object(f.D)({coupCardId:e}).then(function(e){e.result.card&&(t.relatedInfo.stock=e.result.card.couponStock,t.relatedInfo.status=e.result.card.status)})},submit:Object(d.a)(function(){var e=this;this.loading||this.$refs.ruleForm.validate(function(t){if(t){e.loading=!0;var n=r()({},e.ruleForm);n.cdkeyEffectTime=Object(d.f)(e.dateTime[0],"yyyy-MM-dd HH:mm:ss"),n.cdkeyLimitTime=Object(d.f)(e.dateTime[1],"yyyy-MM-dd HH:mm:ss"),delete n.fileId;var a=new FormData;a.append("requestProject","gic-web"),2==n.cdkeyMode&&a.append("file",e.importRes.file),o()(n).forEach(function(e){a.append(e,n[e])}),e.isEdit&&(a.append("cdkeyPlanId",e.cdkeyPlanId),a.delete("cdkeyMode"),a.delete("cdkeyType"),a.delete("cdkeyValue"),a.delete("cdkeyCount")),c.a.post(u.i,a).then(function(t){0===t.data.errorCode?(e.$tips({message:"操作成功!"}),e.$router.push("/cdKey/list")):e.$tips({type:"error",message:t.data.message})}).catch(function(t){e.$tips({type:"error",message:t.message})}).finally(function(){e.loading=!1})}})}),cdkeyFailExport:function(){var e=new FormData;e.append("requestProject","gic-web"),e.append("file",this.importRes.file);var t=new XMLHttpRequest;t.withCredentials=!0,t.responseType="blob",t.onload=function(){if(200===t.status&&4==t.readyState){var e=t.response,n=document.createElement("a"),a=window.URL.createObjectURL(e);n.href=a,n.download="兑换码导入失败记录"+(new Date).getTime()+".xlsx",n.click()}},t.open("post",u.c,!0),t.send(e)},cleanCard:function(){this.ruleForm.cdkeyContentRelated="",this.ruleForm.cdkeyContentDescribe="",this.ruleForm.cdkeyContentType="",this.$refs.ruleForm.validateField("cdkeyContentRelated")},selectCard:function(e){e&&(this.ruleForm.cdkeyContentType=1,this.ruleForm.cdkeyContentRelated=e.coupCardId,this.ruleForm.cdkeyContentDescribe=e.cardName,this.$refs.ruleForm.validateField("cdkeyContentRelated")),this.showCardDialog=!1},dataBack:function(e,t){this.importRes.file=e,this.importRes.fileName=e.name.length>15?e.name.substring(0,15)+"...":e.name,this.importRes.fileId=new Date,this.importRes.size=(e.size/1024).toFixed(2),this.importRes.success=t.success,this.ruleForm.cdkeyCount=t.success,this.importRes.fail=t.fail||void 0,this.importRes.total=t.total,this.importRes.failData=t.failData,this.$refs.ruleForm.validateField("fileId"),this.$refs.ruleForm.validateField("cdkeyCount")},cdkeyExport:function(){this.dialogVisible=!0,this.excelUrl=u.b,this.params={cdkeyPlanId:this.cdkeyPlanId,requestProject:"marketing"}}},mounted:function(){this.isAdd||this.getInfo()}},m={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[n("el-form",{ref:"ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"140px"}},[n("el-form-item",{attrs:{label:"兑换码名称",prop:"cdkeyName"}},[n("dm-input",{staticClass:"w400",attrs:{disabled:!e.canEdit,placeholder:"请输入兑换码名称",byteType:1,maxlength:24},model:{value:e.ruleForm.cdkeyName,callback:function(t){e.$set(e.ruleForm,"cdkeyName",t)},expression:"ruleForm.cdkeyName"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"数据对话",prop:"marketingActivityId"}},[n("template",{slot:"label"},[n("span",[e._v("数据对话")]),e._v(" "),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"数据对话为原营销活动。可不选择,选择后会将该营销活动的数据置于选择的数据对话中一起分析","open-delay":300}},[n("i",{staticClass:"el-icon-question",staticStyle:{cursor:"pointer",color:"#c0c4cc","font-size":"14px"}})])],1),e._v(" "),n("dm-activity-select",{staticClass:"activity",attrs:{actId:e.ruleForm.marketingActivityId,readOnly:!e.canEdit},on:{"update:actId":function(t){return e.$set(e.ruleForm,"marketingActivityId",t)},"update:act-id":function(t){return e.$set(e.ruleForm,"marketingActivityId",t)}}})],2),e._v(" "),n("el-form-item",{attrs:{prop:"dateTime",label:"有效期"}},[n("el-date-picker",{staticClass:"w400",attrs:{"default-time":["00:00:00","23:59:59"],disabled:!e.canEdit,type:"datetimerange","picker-options":e.pickerOptions,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"兑换码类型",prop:"cdkeyValue"}},[n("el-radio-group",{attrs:{disabled:!e.isAdd},on:{change:e.changeCdkeyValue},model:{value:e.ruleForm.cdkeyType,callback:function(t){e.$set(e.ruleForm,"cdkeyType",t)},expression:"ruleForm.cdkeyType"}},[n("el-radio",{staticStyle:{"margin-right":"44px"},attrs:{label:1}},[e._v("专属码")]),e._v(" "),n("el-radio",{attrs:{label:2}},[e._v("通用码")])],1),e._v(" "),2==e.ruleForm.cdkeyType?n("div",[n("div",{staticClass:"code1"},[e._v("码值:"),n("el-input",{staticStyle:{width:"180px"},attrs:{disabled:!e.isAdd,clearable:"",maxlength:"12",palceholder:"请输入码值"},model:{value:e.ruleForm.cdkeyValue,callback:function(t){e.$set(e.ruleForm,"cdkeyValue","string"==typeof t?t.trim():t)},expression:"ruleForm.cdkeyValue"}})],1)]):e._e()],1),e._v(" "),1==e.ruleForm.cdkeyType?n("el-form-item",{attrs:{label:"券码生成方式",prop:"fileId"}},[n("el-radio-group",{attrs:{disabled:!e.isAdd},on:{change:e.changeCdKeyMode},model:{value:e.ruleForm.cdkeyMode,callback:function(t){e.$set(e.ruleForm,"cdkeyMode",t)},expression:"ruleForm.cdkeyMode"}},[n("el-radio",{attrs:{label:1}},[e._v("系统生成")]),e._v(" "),n("el-radio",{attrs:{label:2}},[e._v("手工导入")])],1),e._v(" "),2!=e.ruleForm.cdkeyMode||e.isAdd?e._e():n("el-button",{staticClass:"ml20",attrs:{type:"text"},on:{click:e.cdkeyExport}},[e._v("导出兑换码列表")]),e._v(" "),2==e.ruleForm.cdkeyMode?n("div",[e.isAdd?n("div",{staticClass:"code2"},[n("div",[n("file",{ref:"fileUpload",staticClass:"inline-block",attrs:{needAxiosDataBack:"",label:"点击上传",acceptType:".xlsx, .csv",tips:"",url:e.uploadUrl,iconClass:"el-icon-upload2"},on:{dataBack:e.dataBack,backImg:e.backImg}}),e._v(" "),n("el-button",{staticClass:"ml20",attrs:{type:"text"},on:{click:e.downloadMX}},[e._v("下载模板")])],1),e._v(" "),n("div",{staticClass:"gray"},[e._v("仅支持xlsx\\csv格式")]),e._v(" "),e.importRes.fileId?n("div",{staticClass:"success-file"},[n("span",{staticClass:"fl",staticStyle:{"max-width":"500px",overflow:"hidden"}},[n("i",{staticClass:"iconfont mr5 icon-excel",staticStyle:{color:"#23B08D"}}),e._v(e._s(e.importRes.fileName)+"("+e._s(e.importRes.size)+"kb)")]),e._v(" "),n("i",{staticClass:"el-icon-success fr success-color ml5",staticStyle:{"line-height":"40px","margin-right":"2px"}})]):e._e(),e._v(" "),e.importRes.fileId?n("div",{staticStyle:{"line-height":"1"}},[e._v("导入成功"+e._s(e.importRes.success)+"条,导入失败"),n("span",{staticClass:"warning-span"},[e._v(e._s(e.importRes.fail))]),e._v("条\n "),e.importRes.fail>0?[e._v(","),n("el-button",{attrs:{type:"text"},on:{click:e.cdkeyFailExport}},[e._v("下载导入失败记录")])]:e._e()],2):e._e()]):e._e()]):e._e()],1):e._e(),e._v(" "),n("el-form-item",{staticClass:"is-required",attrs:{label:2==e.ruleForm.cdkeyType?"兑换次数上限":"兑换码数量",prop:"cdkeyCount"}},[n("el-input-number",{staticStyle:{width:"140px"},attrs:{disabled:!e.isAdd||2==e.ruleForm.cdkeyMode,"controls-position":"right",min:0,max:1e4},model:{value:e.ruleForm.cdkeyCount,callback:function(t){e.$set(e.ruleForm,"cdkeyCount",t)},expression:"ruleForm.cdkeyCount"}}),e._v(" "),2!=e.ruleForm.cdkeyType?n("span",{staticClass:"gray ml10"},[e._v("券码数量请控制在10000以内")]):e._e()],1),e._v(" "),n("el-form-item",{attrs:{label:"兑换内容",prop:"cdkeyContentRelated"}},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.ruleForm.cdkeyContentRelated,expression:"!ruleForm.cdkeyContentRelated"}],staticStyle:{"border-style":"dashed",width:"105px"},attrs:{type:"plain"},on:{click:function(t){e.showCardDialog=!0}}},[e._v("选择卡券")]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleForm.cdkeyContentRelated,expression:"ruleForm.cdkeyContentRelated"}]},[n("el-tooltip",{attrs:{"open-delay":"300",effect:"dark",content:e.ruleForm.cdkeyContentRelated,placement:"top-start"}},[n("span",[e._v(e._s(e.ruleForm.cdkeyContentDescribe))])]),e._v(" "),e.canEdit?n("el-button",{staticClass:"ml10",attrs:{type:"text"},on:{click:e.cleanCard}},[e._v("删除")]):e._e(),e._v(" "),e.isAdd?e._e():[0==e.relatedInfo.status?n("span",{staticClass:"ml10 fz12",staticStyle:{color:"#f56c6c"}},[n("i",{staticClass:"el-icon-warning fz12 mr5"}),e._v("已删除")]):e.relatedInfo.stock<=0?n("span",{staticClass:"ml10 fz12",staticStyle:{color:"#f56c6c"}},[n("i",{staticClass:"el-icon-warning fz12 mr5"}),e._v("库存不足")]):e._e()]],2)],1),e._v(" "),n("el-form-item",[e.canEdit?n("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("确认"+e._s(e.isAdd?"新建":"保存"))]):e._e()],1)],1),e._v(" "),n("vue-gic-card",{attrs:{appendToBody:"",showCardDialog:e.showCardDialog,cardLimit:-1,cardType:null},on:{"update:showCardDialog":function(t){e.showCardDialog=t},"update:show-card-dialog":function(t){e.showCardDialog=t},selectCard:e.selectCard}}),e._v(" "),n("vue-gic-export-excel",{attrs:{dialogVisible:e.dialogVisible,dataArr:[1,2,3],type:2,excelUrl:e.excelUrl,params:e.params,projectName:e.projectName},on:{"update:dialogVisible":function(t){e.dialogVisible=t},"update:dialog-visible":function(t){e.dialogVisible=t}}})],1)},staticRenderFns:[]};var b=n("VU/8")(p,m,!1,function(e){n("HTjL")},"data-v-3e757e8c",null);t.default=b.exports},wFKx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("Xxa5"),r=n.n(a),i=n("exGp"),o=n.n(i),s=n("GZBk"),c=n("0xDb"),l={name:"cdkey-record",mixins:[n("0SQO").a],data:function(){return{recordLoading:!1,tableList:[],listParams:{beginTime:"",endTime:"",search:"",currentPage:1,pageSize:20},dateTime:["",""],total:0}},created:function(){this.getTableList()},methods:{formatDateTimeByType:c.f,getTableList:function(){var e=this;return o()(r.a.mark(function t(){var n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.recordLoading=!0,e.dateTime?(e.listParams.beginTime=Object(c.f)(e.dateTime[0],"yyyy-MM-dd"),e.listParams.endTime=Object(c.f)(e.dateTime[1],"yyyy-MM-dd")):e.listParams.beginTime=e.listParams.endTime="",t.next=5,Object(s.d)(e.listParams);case 5:0===(n=t.sent).errorCode&&n.result?(e.tableList=n.result.result||[],e.total=n.result.totalCount):(e.tableList=[],e.total=0),e.recordLoading=!1,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),e.recordLoading=!1;case 13:case"end":return t.stop()}},t,e,[[0,10]])}))()}}},d={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{directives:[{name:"loading",rawName:"v-loading",value:e.recordLoading,expression:"recordLoading"}],staticClass:"dm-wrap"},[n("div",{staticClass:"clearfix pb22"},[n("el-input",{staticClass:"w350",attrs:{placeholder:"请输入用户信息/兑换码名称",clearable:""},on:{change:e.refresh},model:{value:e.listParams.search,callback:function(t){e.$set(e.listParams,"search",t)},expression:"listParams.search"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),n("el-date-picker",{staticClass:"w350",attrs:{type:"daterange","range-separator":"至","start-placeholder":"兑换开始日期","end-placeholder":"兑换结束日期"},on:{change:e.refresh},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}})],1),e._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120","header-align":"left",fixed:"left",align:"left",prop:"memberId",label:"会员信息"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("a",{attrs:{href:"/member/#/wechatmemberDetail?memberId="+t.row.memberId,target:"_blank"}},[n("img",{staticClass:"vertical-middle table__avatar--40",attrs:{src:t.row.memberImgUrl||e.defaultAvatar,width:"60",height:"60"}}),e._v(" "),n("div",{staticClass:"inline-block vertical-middle"},[n("p",{staticClass:"table-name--ellipsis"},[e._v(e._s(t.row.memberName||"--"))])])])]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",label:"兑换时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.createTime,"yyyy-MM-dd-HH-mm-ss",!0).y)),n("br"),e._v(" "),n("span",[e._v(e._s(e.formatDateTimeByType(t.row.createTime,"yyyy-MM-dd-HH-mm-ss",!0).h))])])]}}])}),e._v(" "),n("el-table-column",{attrs:{"min-width":"140",align:"left",prop:"cdkeyName",label:"兑换码名称","show-overflow-tooltip":!0}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",label:"兑换码类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.cdkeyType?"专属码":"通用码")+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkey",label:"兑换码码值"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkeyContentDescribe",label:"兑换内容"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",prop:"createTime",label:"兑换码状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.convertibilityStatus?n("div",{staticClass:"dm-status--success"},[e._v("成功")]):e._e(),e._v(" "),2==t.row.convertibilityStatus?n("div",{staticClass:"dm-status--error"},[e._v("失败")]):e._e()]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",prop:"convertibilityRemark",label:"备注"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.convertibilityRemark||"--")+"\n ")]}}])})],1),e._v(" "),n("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]},u=n("VU/8")(l,d,!1,null,null,null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([11],{"+4Z4":function(e,t){},"0SQO":function(e,t,n){"use strict";t.a={methods:{refresh:function(){this.listParams.currentPage=1,this.getTableList()},handleSizeChange:function(e){this.listParams.currentPage=1,this.listParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.listParams.currentPage=e,this.getTableList()}}}},"6ncD":function(e,t,n){"use strict";var a={name:"time-count",data:function(){return{isStart:!1,globalTimer:null,countString:"0秒",day:0,hour:0,minute:0,second:0,millisecond:0,countVal:this.defaultVal,pauseTime:0,nowDate:Date.now()}},watch:{countString:{deep:!0,handler:function(e,t){this.needSendSunc&&this.passToParent(e)}},needSendSunc:{deep:!0,handler:function(e){e&&this.passToParent(this.countString)}}},props:{sendSync:{type:Boolean,default:!1},autoStart:{type:Boolean,default:!1},defaultVal:{type:Number,default:0}},mounted:function(){this.autoStart&&this.startCountFn()},computed:{needSendSunc:function(){return this.sendSync}},created:function(){this.$on("startCount",function(){this.startCountFn()}),this.$on("stopCount",function(){this.stopCountFn()})},methods:{counterFn:function(e){var t=this,n=(new Date).getTime(),a=0;this.pauseTime<=0?a=e-n:(this.pauseTime=this.pauseTime+10,a=e-this.pauseTime),a<=0&&(this.stopCountFn(),this.$nextTick(function(e){t.countString=""}));var r=a%864e5,i=r%36e5,o=i%6e4;this.day=Math.floor(a/864e5),this.hour=Math.floor(r/36e5),this.minute=Math.floor(i/6e4),this.second=Math.round(o/1e3),this.day>0?this.countString=this.day+"天 "+this.hour+"小时 "+this.minute+"分 "+this.second+"秒":this.hour>0?this.countString=this.hour+"小时 "+this.minute+"分 "+this.second+"秒":this.minute>0?this.countString=this.minute+"分 "+this.second+"秒":this.countString=this.second+"秒"},startCountFn:function(){var e=this;if(!this.isStart){this.countVal=this.countVal?this.countVal:(new Date).getTime();var t=setInterval(function(t){e.counterFn(e.countVal)},1e3);this.globalTimer=t,this.isStart=!0}},stopCountFn:function(){this.isStart&&(window.clearInterval(this.globalTimer),this.globalTimer=null,this.isStart=!1,this.pauseTime=(new Date).getTime())},passToParent:function(e){this.$emit("getDataFromChild",e)}},beforeDestroy:function(){this.stopCountFn()}},r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("span",{attrs:{sendSync:this.sendSync,autoStart:this.autoStart,defaultVal:this.defaultVal}},[this._v(this._s(this.countString))])])},staticRenderFns:[]},i=n("VU/8")(a,r,!1,null,null,null);t.a=i.exports},"9WFK":function(e,t){},AQXh:function(e,t,n){"use strict";var a={name:"dm-upload",props:{model:{type:Object,default:function(){return{code:"",imgUrl:"",wxImg:""}}},width:{type:String,default:"auto"},tips:{type:String,default:"图片建议尺寸:100*100"},className:{type:String,default:""},label:{type:String,default:"上传"},fileType:{type:String,default:"file"},acceptType:{type:String,default:"image/gif, image/jpeg,image/png"},showImg:{type:Boolean,default:!0},tipsStyle:Object,url:{type:String,default:""},needExtraParams:{type:Boolean,default:!1},paramsObj:{type:Object},noUse:{type:Boolean,default:!1},iconClass:{type:String,default:""},needAxiosDataBack:{type:Boolean,default:!1}},watch:{model:{handler:function(e){this.$emit("update:model",this.model),this.$emit("backImg",this.model)},deep:!0}},data:function(){return{disabled:!1,loading:!1}},methods:{dataBack:function(e,t){this.$emit("dataBack",e,t)}}},r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("label",{staticClass:"el-button el-button--primary",class:{"is-disabled":e.disabled||e.noUse}},[e.iconClass?n("i",{staticClass:"mr5",class:e.iconClass}):e._e(),e._v("\n "+e._s(e.disabled?"上传中...":e.label)+"\n "),n("input",{directives:[{name:"upload",rawName:"v-upload",value:this,expression:"this"}],ref:"uploader",staticStyle:{display:"none"},attrs:{type:"file",disabled:e.disabled||e.noUse,accept:e.acceptType}})]),e._v(" "),n("span",{staticClass:"fz12 gray",style:e.tipsStyle},[e._v(" "+e._s(e.tips))])])},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(e){n("9WFK")},"data-v-7edcb22c",null);t.a=i.exports},BPmr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("router-view")],1)},staticRenderFns:[]},r=n("VU/8")({name:"cdkey",created:function(){var e=this;this.$store.commit("aside_handler",!1),this.$nextTick(function(t){e.$store.commit("aside_handler",!0)})}},a,!1,null,null,null);t.default=r.exports},"EBS+":function(e,t,n){"use strict";n.d(t,"O",function(){return o}),n.d(t,"Q",function(){return s}),n.d(t,"o",function(){return c}),n.d(t,"_18",function(){return l}),n.d(t,"j",function(){return d}),n.d(t,"d",function(){return u}),n.d(t,"_21",function(){return f}),n.d(t,"q",function(){return p}),n.d(t,"b",function(){return m}),n.d(t,"h",function(){return b}),n.d(t,"c",function(){return y}),n.d(t,"g",function(){return h}),n.d(t,"L",function(){return g}),n.d(t,"X",function(){return v}),n.d(t,"R",function(){return k}),n.d(t,"S",function(){return _}),n.d(t,"T",function(){return w}),n.d(t,"D",function(){return C}),n.d(t,"G",function(){return x}),n.d(t,"_15",function(){return T}),n.d(t,"f",function(){return j}),n.d(t,"P",function(){return O}),n.d(t,"e",function(){return F}),n.d(t,"y",function(){return S}),n.d(t,"_11",function(){return P}),n.d(t,"x",function(){return $}),n.d(t,"r",function(){return D}),n.d(t,"_10",function(){return I}),n.d(t,"_4",function(){return E}),n.d(t,"_22",function(){return M}),n.d(t,"n",function(){return V}),n.d(t,"_6",function(){return R}),n.d(t,"m",function(){return L}),n.d(t,"z",function(){return N}),n.d(t,"B",function(){return B}),n.d(t,"t",function(){return U}),n.d(t,"_14",function(){return z}),n.d(t,"i",function(){return q}),n.d(t,"_16",function(){return A}),n.d(t,"J",function(){return H}),n.d(t,"I",function(){return K}),n.d(t,"_5",function(){return Z}),n.d(t,"k",function(){return Q}),n.d(t,"_20",function(){return X}),n.d(t,"C",function(){return G}),n.d(t,"_8",function(){return W}),n.d(t,"_13",function(){return J}),n.d(t,"l",function(){return Y}),n.d(t,"s",function(){return ee}),n.d(t,"_9",function(){return te}),n.d(t,"N",function(){return ne}),n.d(t,"M",function(){return ae}),n.d(t,"_0",function(){return re}),n.d(t,"_12",function(){return ie}),n.d(t,"_7",function(){return oe}),n.d(t,"A",function(){return se}),n.d(t,"v",function(){return ce}),n.d(t,"F",function(){return le}),n.d(t,"_3",function(){return de}),n.d(t,"w",function(){return ue}),n.d(t,"_2",function(){return fe}),n.d(t,"_1",function(){return pe}),n.d(t,"V",function(){return me}),n.d(t,"Y",function(){return be}),n.d(t,"p",function(){return ye}),n.d(t,"u",function(){return he}),n.d(t,"a",function(){return ge}),n.d(t,"_19",function(){return ve}),n.d(t,"_17",function(){return ke}),n.d(t,"U",function(){return _e}),n.d(t,"W",function(){return we}),n.d(t,"Z",function(){return Ce}),n.d(t,"H",function(){return xe}),n.d(t,"K",function(){return Te}),n.d(t,"E",function(){return je});var a=n("6Hqf"),r=n("2uFj"),i="api-marketing/",o=(r.a.api,function(e){return Object(a.b)("/api-admin/list-wm-coupon",e,!1,!1,"post")}),s=function(e){return Object(a.b)("/api-admin/list-coupon-log",e,!1,!1,"post")},c=function(e){return Object(a.b)("/api-admin/delete-coupon-error-log",e,!1,!1,"post")},l=function(e){return Object(a.b)("/api-admin/send-coupon-reset",e,!1,!1,"post")},d=function(e){return Object(a.b)("/api-admin/consume-coupon",e,!1,!1,"post")},u=function(e){return Object(a.b)(i+"card-page",e)},f=function(e){return Object(a.b)(i+"update-card-stock",e)},p=function(e){return Object(a.b)(i+"delete-card",e)},m=function(e){return Object(a.b)(i+"card-channel-analysis",e)},b=function(e){return Object(a.b)(i+"card-basic-statistics",e)},y=function(e){return Object(a.b)(i+"card-channel-statistics",e)},h=function(e){return Object(a.b)(i+"card-trend-echart",e)},g=function(e){return Object(a.b)(i+"get-category-list",e)},v=function(e){return Object(a.b)(i+"weimob-coupon-bind-count",e)},k=function(e){return Object(a.b)(i+"latest-reptile-time",e)},_=function(e){return Object(a.b)(i+"get-property-list",e)},w=function(e){return Object(a.b)(i+"get-property-value-list",e)},C=function(e){return Object(a.b)(i+"get-card-detail",e)},x=function(e){return Object(a.b)(i+"list-coupon-names",e)},T=function(e){return Object(a.b)(i+"save-update-card",e)},j=function(e){return Object(a.b)(i+"card-record-page",e)},O=function(e){return Object(a.b)(i+"coup-give-log-page",e)},F=function(e){return Object(a.b)(i+"card-put-on-record",e)},S=r.a.api+i+"export-card-put-on-record-excel",P=function(e){return Object(a.b)(i+"page-back-coup-log",e)},$=r.a.api+i+"export-back-coup-excel",D=function(e){return Object(a.b)(i+"delete-card-puton",e)},I=function(e){return Object(a.b)(i+"refresh-put-on-count",e)},E=function(e){return Object(a.b)(i+"list-coupcard-order",e)},M=function(e){return Object(a.b)(i+"write-off-card",e)},V=function(e){return Object(a.b)(i+"coupcard-destroy",e)},R=function(e){return Object(a.b)(i+"page-card-shelfs",e)},L=function(e){return Object(a.b)(i+"coupcard-check-list",e)},N=r.a.api+i+"export-coupcard-check-excel",B=r.a.api+i+"export-received-record-excel",U=function(e){return Object(a.b)(i+"delete-shelf-card",e)},z=function(e){return Object(a.b)(i+"save-shelf-card",e)},q=function(e){return Object(a.b)(i+"check-puton-memberIds",e)},A=function(e){return Object(a.b)(i+"save-update-puton-card",e)},H=function(e){return Object(a.b)(i+"get-card-puton-detail",e)},K=function(e){return Object(a.b)(i+"get-marketing-setting",e)},Z=function(e){return Object(a.b)(i+"load-goods-data",e)},Q=function(e){return Object(a.b)(i+"copy-card-detail",e)},X=function(e){return Object(a.b)(i+"template-receive-card-page",e)},G=r.a.api+i+"export-template-receive-excel",W=function(e){return Object(a.b)(i+"page-coup-package",e)},J=function(e){return Object(a.b)(i+"create-coup-package",e)},Y=function(e){return Object(a.b)(i+"coup-package-detail",e)},ee=function(e){return Object(a.b)(i+"delete-coup-package",e)},te=function(e){return Object(a.b)(i+"page-coup-package-log",e)},ne=function(e){return Object(a.b)(i+"get-coup-list-info",e)},ae=function(e){return Object(a.b)(i+"get-coup-destory-detail",e)},re=i+"import-destory-coup-code",ie=function(e){return Object(a.b)(i+"save-coup-destory-plan",e)},oe=function(e){return Object(a.b)(i+"page-coup-destory-plan",e)},se=r.a.api+i+"export-destory-plan-code?requestProject=marketing",ce=r.a.api+i+"download-destroy-code-template?requestProject=marketing",le=function(e){return Object(a.b)(i+"/get-card-effective-mode",e)},de=function(e){return Object(a.b)(i+"/list-consume-refund-page",e)},ue=r.a.api+i+"ecm-consume-coupon-excel",fe=function(e){return Object(a.b)(i+"/list-consume-coupon-detail",e)},pe=function(e){return Object(a.b)(i+"/is-aolai",e)},me=function(e){return Object(a.b)(i+"write-off-store-page",e)},be=function(e){return Object(a.b)(i+"card-write-off-qrcode",e)},ye=function(e){return Object(a.b)(i+"delete-write-off-store",e)},he=function(e){return Object(a.b)(i+"delete-write-off-staff",e)},ge=function(e){return Object(a.b)(i+"save-write-off-store",e,!0)},ve=function(e){return Object(a.b)(i+"save-write-off-staff",e)},ke=function(e){return Object(a.b)(i+"check-write-off-staff",e)},_e=function(e){return Object(a.b)("/api-plug/query-store-by-code-name-new",e)},we=function(e){return Object(a.b)("/api-plug/get-store-widget-store",e)},Ce=function(e){return Object(a.b)("/api-marketing/import-cost-store",e,!0)},xe=function(e){return Object(a.b)(i+"card-write-off-log-page",e)},Te=function(e){return Object(a.b)(i+"card-write-off-store-page",e)},je=function(e){return Object(a.b)(i+"card-write-off-page",e)}},GZBk:function(e,t,n){"use strict";n.d(t,"h",function(){return o}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"d",function(){return d}),n.d(t,"j",function(){return u}),n.d(t,"i",function(){return f}),n.d(t,"a",function(){return p}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return b});var a=n("6Hqf"),r=n("2uFj"),i="api-marketing/",o=(r.a.api,function(e){return Object(a.b)(i+"cdkey-plan-record",e)}),s=function(e){return Object(a.b)(i+"cdkey-plan-forbid",e)},c=function(e){return Object(a.b)(i+"cdkey-plan-delete",e)},l=function(e){return Object(a.b)(i+"cdkey-plan-edit",e)},d=function(e){return Object(a.b)(i+"cdkey-log-record",e)},u=function(e){return Object(a.b)(i+"get-cdkey-wxa-qr-code-image",e)},f=i+"cdkey-plan-save",p=i+"cdkey-check",m=r.a.api+i+"cdkey-export?requestProject=marketing",b=r.a.api+i+"cdkey-fail-export"},UsD7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("Xxa5"),r=n.n(a),i=n("exGp"),o=n.n(i),s=n("GZBk"),c=n("0xDb"),l=n("6ncD"),d=n("0SQO"),u={name:"cdkey-list",components:{timeCounts:l.a},mixins:[d.a],data:function(){return{status:[{value:1,label:"未生效"},{value:2,label:"生效中"},{value:3,label:"已过期"},{value:4,label:"已失效"}],loading:!1,tableList:[],listParams:{cdkeyPlanStatus:"",cdkeyType:"",cdkeyEffectTime:"",cdkeyLimitTime:"",cdkeyName:"",currentPage:1,pageSize:20},dateTime:["",""],total:0,qr:{},activeName:"url",codeVisible:!1,projectName:"marketing",dialogVisible:!1,excelUrl:"",params:{}}},created:function(){this.getTableList(),this.getCdkeyWxaQrCodeImage()},methods:{formatDateTimeByType:c.f,getCdkeyWxaQrCodeImage:function(){var e=this;Object(s.j)().then(function(t){e.qr=t.result||{}})},getTableList:function(){var e=this;return o()(r.a.mark(function t(){var n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,e.dateTime?(e.listParams.cdkeyEffectTime=Object(c.f)(e.dateTime[0],"yyyy-MM-dd"),e.listParams.cdkeyLimitTime=Object(c.f)(e.dateTime[1],"yyyy-MM-dd")):e.listParams.cdkeyEffectTime=e.listParams.cdkeyLimitTime="",t.next=5,Object(s.h)(e.listParams);case 5:0===(n=t.sent).errorCode&&n.result?(e.tableList=n.result.result||[],e.total=n.result.totalCount):(e.tableList=[],e.total=0),e.loading=!1,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),e.loading=!1;case 13:case"end":return t.stop()}},t,e,[[0,10]])}))()},delData:function(e){var t=this,n=e.cdkeyPlanId;this.loading=!0,Object(s.e)({cdkeyPlanId:n}).then(function(e){t.$tips({type:"success",message:"删除成功!"}),t.getTableList()}).catch(function(e){t.$tips({type:"error",message:"删除失败!"})}).finally(function(){t.loading=!1})},invalidData:function(e){var t=this,n=e.cdkeyPlanId;this.loading=!0,Object(s.g)({cdkeyPlanId:n}).then(function(e){t.$tips({type:"success",message:"禁用成功!"}),t.getTableList()}).catch(function(e){t.$tips({type:"error",message:"禁用失败!"})}).finally(function(){t.loading=!1})},cdkeyExport:function(e){var t=e.cdkeyPlanId;this.dialogVisible=!0,this.excelUrl=s.b,this.params={cdkeyPlanId:t,requestProject:"marketing"}}}},f={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[n("div",{staticClass:"clearfix pb22"},[n("el-input",{staticClass:"w280",attrs:{placeholder:"请输入兑换码名称",clearable:""},on:{change:e.refresh},model:{value:e.listParams.cdkeyName,callback:function(t){e.$set(e.listParams,"cdkeyName",t)},expression:"listParams.cdkeyName"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),n("el-date-picker",{staticClass:"w300",attrs:{type:"daterange","range-separator":"至","start-placeholder":"兑换开始日期","end-placeholder":"兑换结束日期"},on:{change:e.refresh},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}}),e._v(" "),n("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"兑换码类型"},on:{change:e.refresh},model:{value:e.listParams.cdkeyType,callback:function(t){e.$set(e.listParams,"cdkeyType",t)},expression:"listParams.cdkeyType"}},[n("el-option",{attrs:{label:"专属码",value:1}}),e._v(" "),n("el-option",{attrs:{label:"通用码",value:2}})],1),e._v(" "),n("el-select",{staticClass:"dm-select",attrs:{clearable:"",placeholder:"兑换码状态"},on:{change:e.refresh},model:{value:e.listParams.cdkeyPlanStatus,callback:function(t){e.$set(e.listParams,"cdkeyPlanStatus",t)},expression:"listParams.cdkeyPlanStatus"}},e._l(e.status,function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),n("div",{staticClass:"fr"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.codeVisible=!0}}},[e._v("兑换链接")]),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingAddCdkey)?n("el-button",{attrs:{type:"primary","limit-code":e.$buttonCode.marketingAddCdkey},on:{click:function(t){return e.$router.push("/cdKey/add")}}},[e._v("新建兑换码")]):e._e()],1)],1),e._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[n("el-table-column",{attrs:{"min-width":"150",align:"left",prop:"cdkeyName",label:"兑换码名称",fixed:"left","show-overflow-tooltip":!0}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"170",align:"left",prop:"createTime",label:"有效期"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v(e._s(e.formatDateTimeByType(t.row.cdkeyEffectTime,"yyyy-MM-dd HH:mm:ss"))+" ~")]),e._v(" "),n("div",[e._v(e._s(e.formatDateTimeByType(t.row.cdkeyLimitTime,"yyyy-MM-dd HH:mm:ss")))])]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",label:"兑换码类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.cdkeyType?"专属码":"通用码")+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkeyContentDescribe",label:"兑换码内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.cdkeyType?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.cdkeyExport(t.row)}}},[e._v("导出兑换码列表")]):n("span",[e._v(e._s(t.row.cdkeyValue))])]}}])}),e._v(" "),n("el-table-column",{attrs:{"min-width":"120",align:"left",prop:"cdkeyCount",label:"兑换码数量"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkeyContentDescribe",label:"兑换内容"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",prop:"createTime",label:"兑换码状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--warning"}),e._v("未生效")]):e._e(),e._v(" "),2==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--primary--flash"}),e._v("生效中")]):e._e(),e._v(" "),3==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--info"}),e._v("已过期")]):e._e(),e._v(" "),4==t.row.cdkeyPlanStatus?n("div",[n("span",{staticClass:"dm-status--info"}),e._v("已失效")]):e._e()]}}])}),e._v(" "),n("el-table-column",{attrs:{label:"操作",align:"left",width:"160px",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.marketingEditCdkey)&&1==t.row.cdkeyPlanStatus?n("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingEditCdkey},on:{click:function(n){return e.$router.push("/cdKey/edit/"+t.row.cdkeyPlanId)}}},[e._v("编辑")]):e._e(),e._v(" "),1!=t.row.cdkeyPlanStatus?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.$router.push("/cdKey/info/"+t.row.cdkeyPlanId)}}},[e._v("详情")]):e._e(),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingDisableCdkey)&&2==t.row.cdkeyPlanStatus?n("dm-delete",{attrs:{tips:"是否禁用该条数据?"},on:{confirm:function(n){return e.invalidData(t.row)}}},[n("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingDisableCdkey}},[e._v("禁用")])],1):e._e(),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingDelCdkey)&&1==t.row.cdkeyPlanStatus?n("dm-delete",{attrs:{tips:"是否删除该条数据?"},on:{confirm:function(n){return e.delData(t.row)}}},[n("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingDelCdkey}},[e._v("删除")])],1):e._e()]}}])})],1),e._v(" "),n("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),n("el-dialog",{attrs:{title:"页面链接",visible:e.codeVisible,width:"500px"},on:{"update:visible":function(t){e.codeVisible=t}}},[n("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"页面链接",name:"url"}},[n("div",{staticStyle:{padding:"30px 0"}},[n("el-input",{staticStyle:{display:"inline-block",width:"400px"},attrs:{value:e.qr.linkUrl,disabled:""}}),e._v(" "),n("el-button",{directives:[{name:"clipboard",rawName:"v-clipboard:text",value:e.qr.linkUrl,expression:"qr.linkUrl",arg:"text"}],attrs:{type:"text"}},[e._v("复制")])],1)]),e._v(" "),n("el-tab-pane",{attrs:{label:"小程序二维码",name:"qrUrl"}},[n("div",{staticClass:"text-center pt20"},[n("img",{staticClass:"pt10",attrs:{src:e.qr.imgUrl,width:"192",height:"192"}}),e._v(" "),n("div",{staticStyle:{"margin-top":"11px",color:"#606266"}},[e._v("- 兑换码链接二维码 -")]),e._v(" "),n("div",{staticStyle:{"margin-top":"11px",color:"#909399","padding-bottom":"30px","font-size":"12px"}},[e._v("小程序端需升级版本至3.6.1或p3.6.1以上")])])])],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.codeVisible=!1}}},[e._v("关闭 ")])],1)],1),e._v(" "),n("vue-gic-export-excel",{attrs:{dialogVisible:e.dialogVisible,dataArr:e.tableList,type:2,excelUrl:e.excelUrl,params:e.params,projectName:e.projectName},on:{"update:dialogVisible":function(t){e.dialogVisible=t},"update:dialog-visible":function(t){e.dialogVisible=t}}})],1)},staticRenderFns:[]},p=n("VU/8")(u,f,!1,null,null,null);t.default=p.exports},oqbS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("Dd8w"),r=n.n(a),i=n("fZjL"),o=n.n(i),s=n("OMN4"),c=n.n(s),l=n("AQXh"),d=n("0xDb"),u=n("GZBk"),f=n("EBS+"),p={name:"cdkey-form",data:function(){var e=this;return{loading:!1,cdkeyPlanId:this.$route.params.id,cdkeyFailExportUrl:u.c,ruleForm:{cdkeyContentType:"",cdkeyContentRelated:"",cdkeyContentDescribe:"",cdkeyMode:1,cdkeyCount:void 0,cdkeyType:1,cdkeyValue:"",cdkeyEffectTime:"",cdkeyLimitTime:"",cdkeyName:"",marketingActivityId:""},importRes:{file:null,fileId:"",fileName:"",size:"",fail:0,success:0,failData:[],total:0},rules:{cdkeyName:[{required:!0,message:"请输入兑换码名称",trigger:"change"}],cdkeyCount:[{validator:function(t,n,a){if(!n){var r="请输入"+(2==e.ruleForm.cdkeyType?"兑换次数上限":"兑换码数量");return 2==e.ruleForm.cdkeyMode&&(r=e.importRes.fileName?"手工导入数据无可用码":"请上传文件"),a(new Error(""+r))}a()},trigger:"change"}],cdkeyContentRelated:[{required:!0,message:"请选择卡券",trigger:"change"}],fileId:[{validator:function(t,n,a){if(2==e.ruleForm.cdkeyMode&&!e.importRes.fileId&&e.isAdd)return a(new Error(t.message));a()},message:"请上传文件",trigger:"change"}],dateTime:[{required:!0,validator:function(t,n,a){if(e.isEdit&&a(),e.dateTime&&e.dateTime[0]){var r=e.dateTime[0],i=e.dateTime[1];new Date(i).getTime()-new Date(r).getTime()>7776e6&&e.canEdit&&a(new Error(t.message||"时间跨度不能超过三个月")),a()}else a(new Error("有效期不能为空"))},trigger:"change"}],cdkeyValue:[{required:!0,validator:function(t,n,a){if(2==e.ruleForm.cdkeyType)return e.ruleForm.cdkeyValue||a(new Error("请输入码值")),/^[0-9A-Za-z]{8}$/.test(e.ruleForm.cdkeyValue)||a(new Error("码值限定8位,包含数字及字母")),a();a()},trigger:"change"}]},info:{},uploadUrl:u.a,pickerOptions:{disabledDate:function(e){return Date.now()>=e.getTime()+864e5}},dateTime:[],relatedInfo:{stock:100,status:1},projectName:"marketing",dialogVisible:!1,excelUrl:"",params:{},showCardDialog:!1,isAdd:"add"===this.$route.meta.type,isEdit:"edit"===this.$route.meta.type,isInfo:"info"===this.$route.meta.type}},components:{file:l.a},computed:{canEdit:function(){return this.isAdd||this.isEdit&&new Date<this.info.cdkeyEffectTime}},methods:{changeCdkeyValue:function(e){2==e&&(this.ruleForm.cdkeyMode=1),this.$refs.ruleForm.validateField("cdkeyCount")},changeCdKeyMode:function(e){if(2==e){this.ruleForm.cdkeyCount=this.importRes.success||0;var t=this.$refs.ruleForm.fields.find(function(e){return"cdkeyCount"==e.prop}),n=this.$refs.ruleForm.fields.find(function(e){return"fileId"==e.prop});t.resetField(),n.resetField()}else this.$refs.ruleForm.validateField("cdkeyCount")},downloadMX:function(){window.open("/marketing/static/file/兑换码模板示例.xlsx","_blank")},getInfo:function(){var e=this;this.loading=!0,Object(u.f)({cdkeyPlanId:this.cdkeyPlanId}).then(function(t){o()(e.ruleForm).map(function(n){e.ruleForm[n]=t.result[n]}),e.info=t.result||{},e.dateTime=[t.result.cdkeyEffectTime,t.result.cdkeyLimitTime],1==t.result.cdkeyContentType&&e.getCardInfo(t.result.cdkeyContentRelated)}).finally(function(){e.loading=!1})},getCardInfo:function(e){var t=this;Object(f.D)({coupCardId:e}).then(function(e){e.result.card&&(t.relatedInfo.stock=e.result.card.couponStock,t.relatedInfo.status=e.result.card.status)})},submit:Object(d.a)(function(){var e=this;this.loading||this.$refs.ruleForm.validate(function(t){if(t){e.loading=!0;var n=r()({},e.ruleForm);n.cdkeyEffectTime=Object(d.f)(e.dateTime[0],"yyyy-MM-dd HH:mm:ss"),n.cdkeyLimitTime=Object(d.f)(e.dateTime[1],"yyyy-MM-dd HH:mm:ss"),delete n.fileId;var a=new FormData;a.append("requestProject","gic-web"),2==n.cdkeyMode&&a.append("file",e.importRes.file),o()(n).forEach(function(e){a.append(e,n[e])}),e.isEdit&&(a.append("cdkeyPlanId",e.cdkeyPlanId),a.delete("cdkeyMode"),a.delete("cdkeyType"),a.delete("cdkeyValue"),a.delete("cdkeyCount")),c.a.post(u.i,a).then(function(t){0===t.data.errorCode?(e.$tips({message:"操作成功!"}),e.$router.push("/cdKey/list")):e.$tips({type:"error",message:t.data.message})}).catch(function(t){e.$tips({type:"error",message:t.message})}).finally(function(){e.loading=!1})}})}),cdkeyFailExport:function(){var e=new FormData;e.append("requestProject","gic-web"),e.append("file",this.importRes.file);var t=new XMLHttpRequest;t.withCredentials=!0,t.responseType="blob",t.onload=function(){if(200===t.status&&4==t.readyState){var e=t.response,n=document.createElement("a"),a=window.URL.createObjectURL(e);n.href=a,n.download="兑换码导入失败记录"+(new Date).getTime()+".xlsx",n.click()}},t.open("post",u.c,!0),t.send(e)},cleanCard:function(){this.ruleForm.cdkeyContentRelated="",this.ruleForm.cdkeyContentDescribe="",this.ruleForm.cdkeyContentType="",this.$refs.ruleForm.validateField("cdkeyContentRelated")},selectCard:function(e){e&&(this.ruleForm.cdkeyContentType=1,this.ruleForm.cdkeyContentRelated=e.coupCardId,this.ruleForm.cdkeyContentDescribe=e.cardName,this.$refs.ruleForm.validateField("cdkeyContentRelated")),this.showCardDialog=!1},dataBack:function(e,t){this.importRes.file=e,this.importRes.fileName=e.name.length>15?e.name.substring(0,15)+"...":e.name,this.importRes.fileId=new Date,this.importRes.size=(e.size/1024).toFixed(2),this.importRes.success=t.success,this.ruleForm.cdkeyCount=t.success,this.importRes.fail=t.fail||void 0,this.importRes.total=t.total,this.importRes.failData=t.failData,this.$refs.ruleForm.validateField("fileId"),this.$refs.ruleForm.validateField("cdkeyCount")},cdkeyExport:function(){this.dialogVisible=!0,this.excelUrl=u.b,this.params={cdkeyPlanId:this.cdkeyPlanId,requestProject:"marketing"}}},mounted:function(){this.isAdd||this.getInfo()}},m={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[n("el-form",{ref:"ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"140px"}},[n("el-form-item",{attrs:{label:"兑换码名称",prop:"cdkeyName"}},[n("dm-input",{staticClass:"w400",attrs:{disabled:!e.canEdit,placeholder:"请输入兑换码名称",byteType:1,maxlength:24},model:{value:e.ruleForm.cdkeyName,callback:function(t){e.$set(e.ruleForm,"cdkeyName",t)},expression:"ruleForm.cdkeyName"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"数据对话",prop:"marketingActivityId"}},[n("template",{slot:"label"},[n("span",[e._v("数据对话")]),e._v(" "),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"数据对话为原营销活动。可不选择,选择后会将该营销活动的数据置于选择的数据对话中一起分析","open-delay":300}},[n("i",{staticClass:"el-icon-question",staticStyle:{cursor:"pointer",color:"#c0c4cc","font-size":"14px"}})])],1),e._v(" "),n("dm-activity-select",{staticClass:"activity",attrs:{actId:e.ruleForm.marketingActivityId,readOnly:!e.canEdit},on:{"update:actId":function(t){return e.$set(e.ruleForm,"marketingActivityId",t)},"update:act-id":function(t){return e.$set(e.ruleForm,"marketingActivityId",t)}}})],2),e._v(" "),n("el-form-item",{attrs:{prop:"dateTime",label:"有效期"}},[n("el-date-picker",{staticClass:"w400",attrs:{"default-time":["00:00:00","23:59:59"],disabled:!e.canEdit,type:"datetimerange","picker-options":e.pickerOptions,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}})],1),e._v(" "),n("el-form-item",{attrs:{label:"兑换码类型",prop:"cdkeyValue"}},[n("el-radio-group",{attrs:{disabled:!e.isAdd},on:{change:e.changeCdkeyValue},model:{value:e.ruleForm.cdkeyType,callback:function(t){e.$set(e.ruleForm,"cdkeyType",t)},expression:"ruleForm.cdkeyType"}},[n("el-radio",{staticStyle:{"margin-right":"44px"},attrs:{label:1}},[e._v("专属码")]),e._v(" "),n("el-radio",{attrs:{label:2}},[e._v("通用码")])],1),e._v(" "),2==e.ruleForm.cdkeyType?n("div",[n("div",{staticClass:"code1"},[e._v("码值:"),n("el-input",{staticStyle:{width:"180px"},attrs:{disabled:!e.isAdd,clearable:"",maxlength:"12",palceholder:"请输入码值"},model:{value:e.ruleForm.cdkeyValue,callback:function(t){e.$set(e.ruleForm,"cdkeyValue","string"==typeof t?t.trim():t)},expression:"ruleForm.cdkeyValue"}})],1)]):e._e()],1),e._v(" "),1==e.ruleForm.cdkeyType?n("el-form-item",{attrs:{label:"券码生成方式",prop:"fileId"}},[n("el-radio-group",{attrs:{disabled:!e.isAdd},on:{change:e.changeCdKeyMode},model:{value:e.ruleForm.cdkeyMode,callback:function(t){e.$set(e.ruleForm,"cdkeyMode",t)},expression:"ruleForm.cdkeyMode"}},[n("el-radio",{attrs:{label:1}},[e._v("系统生成")]),e._v(" "),n("el-radio",{attrs:{label:2}},[e._v("手工导入")])],1),e._v(" "),2!=e.ruleForm.cdkeyMode||e.isAdd?e._e():n("el-button",{staticClass:"ml20",attrs:{type:"text"},on:{click:e.cdkeyExport}},[e._v("导出兑换码列表")]),e._v(" "),2==e.ruleForm.cdkeyMode?n("div",[e.isAdd?n("div",{staticClass:"code2"},[n("div",[n("file",{ref:"fileUpload",staticClass:"inline-block",attrs:{needAxiosDataBack:"",label:"点击上传",acceptType:".xlsx, .csv",tips:"",url:e.uploadUrl,iconClass:"el-icon-upload2"},on:{dataBack:e.dataBack,backImg:e.backImg}}),e._v(" "),n("el-button",{staticClass:"ml20",attrs:{type:"text"},on:{click:e.downloadMX}},[e._v("下载模板")])],1),e._v(" "),n("div",{staticClass:"gray"},[e._v("仅支持xlsx\\csv格式")]),e._v(" "),e.importRes.fileId?n("div",{staticClass:"success-file"},[n("span",{staticClass:"fl",staticStyle:{"max-width":"500px",overflow:"hidden"}},[n("i",{staticClass:"iconfont mr5 icon-excel",staticStyle:{color:"#23B08D"}}),e._v(e._s(e.importRes.fileName)+"("+e._s(e.importRes.size)+"kb)")]),e._v(" "),n("i",{staticClass:"el-icon-success fr success-color ml5",staticStyle:{"line-height":"40px","margin-right":"2px"}})]):e._e(),e._v(" "),e.importRes.fileId?n("div",{staticStyle:{"line-height":"1"}},[e._v("导入成功"+e._s(e.importRes.success)+"条,导入失败"),n("span",{staticClass:"warning-span"},[e._v(e._s(e.importRes.fail))]),e._v("条\n "),e.importRes.fail>0?[e._v(","),n("el-button",{attrs:{type:"text"},on:{click:e.cdkeyFailExport}},[e._v("下载导入失败记录")])]:e._e()],2):e._e()]):e._e()]):e._e()],1):e._e(),e._v(" "),n("el-form-item",{staticClass:"is-required",attrs:{label:2==e.ruleForm.cdkeyType?"兑换次数上限":"兑换码数量",prop:"cdkeyCount"}},[n("el-input-number",{staticStyle:{width:"140px"},attrs:{disabled:!e.isAdd||2==e.ruleForm.cdkeyMode,"controls-position":"right",min:0,max:1e4},model:{value:e.ruleForm.cdkeyCount,callback:function(t){e.$set(e.ruleForm,"cdkeyCount",t)},expression:"ruleForm.cdkeyCount"}}),e._v(" "),2!=e.ruleForm.cdkeyType?n("span",{staticClass:"gray ml10"},[e._v("券码数量请控制在10000以内")]):e._e()],1),e._v(" "),n("el-form-item",{attrs:{label:"兑换内容",prop:"cdkeyContentRelated"}},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.ruleForm.cdkeyContentRelated,expression:"!ruleForm.cdkeyContentRelated"}],staticStyle:{"border-style":"dashed",width:"105px"},attrs:{type:"plain"},on:{click:function(t){e.showCardDialog=!0}}},[e._v("选择卡券")]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleForm.cdkeyContentRelated,expression:"ruleForm.cdkeyContentRelated"}]},[n("el-tooltip",{attrs:{"open-delay":"300",effect:"dark",content:e.ruleForm.cdkeyContentRelated,placement:"top-start"}},[n("span",[e._v(e._s(e.ruleForm.cdkeyContentDescribe))])]),e._v(" "),e.canEdit?n("el-button",{staticClass:"ml10",attrs:{type:"text"},on:{click:e.cleanCard}},[e._v("删除")]):e._e(),e._v(" "),e.isAdd?e._e():[0==e.relatedInfo.status?n("span",{staticClass:"ml10 fz12",staticStyle:{color:"#f56c6c"}},[n("i",{staticClass:"el-icon-warning fz12 mr5"}),e._v("已删除")]):e.relatedInfo.stock<=0?n("span",{staticClass:"ml10 fz12",staticStyle:{color:"#f56c6c"}},[n("i",{staticClass:"el-icon-warning fz12 mr5"}),e._v("库存不足")]):e._e()]],2)],1),e._v(" "),n("el-form-item",[e.canEdit?n("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("确认"+e._s(e.isAdd?"新建":"保存"))]):e._e()],1)],1),e._v(" "),n("vue-gic-card",{attrs:{appendToBody:"",showCardDialog:e.showCardDialog,cardLimit:-1,cardType:null},on:{"update:showCardDialog":function(t){e.showCardDialog=t},"update:show-card-dialog":function(t){e.showCardDialog=t},selectCard:e.selectCard}}),e._v(" "),n("vue-gic-export-excel",{attrs:{dialogVisible:e.dialogVisible,dataArr:[1,2,3],type:2,excelUrl:e.excelUrl,params:e.params,projectName:e.projectName},on:{"update:dialogVisible":function(t){e.dialogVisible=t},"update:dialog-visible":function(t){e.dialogVisible=t}}})],1)},staticRenderFns:[]};var b=n("VU/8")(p,m,!1,function(e){n("+4Z4")},"data-v-71acc934",null);t.default=b.exports},wFKx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("Xxa5"),r=n.n(a),i=n("exGp"),o=n.n(i),s=n("GZBk"),c=n("0xDb"),l={name:"cdkey-record",mixins:[n("0SQO").a],data:function(){return{recordLoading:!1,tableList:[],listParams:{beginTime:"",endTime:"",search:"",currentPage:1,pageSize:20},dateTime:["",""],total:0}},created:function(){this.getTableList()},methods:{formatDateTimeByType:c.f,getTableList:function(){var e=this;return o()(r.a.mark(function t(){var n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.recordLoading=!0,e.dateTime?(e.listParams.beginTime=Object(c.f)(e.dateTime[0],"yyyy-MM-dd"),e.listParams.endTime=Object(c.f)(e.dateTime[1],"yyyy-MM-dd")):e.listParams.beginTime=e.listParams.endTime="",t.next=5,Object(s.d)(e.listParams);case 5:0===(n=t.sent).errorCode&&n.result?(e.tableList=n.result.result||[],e.total=n.result.totalCount):(e.tableList=[],e.total=0),e.recordLoading=!1,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),e.recordLoading=!1;case 13:case"end":return t.stop()}},t,e,[[0,10]])}))()}}},d={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{directives:[{name:"loading",rawName:"v-loading",value:e.recordLoading,expression:"recordLoading"}],staticClass:"dm-wrap"},[n("div",{staticClass:"clearfix pb22"},[n("el-input",{staticClass:"w350",attrs:{placeholder:"请输入用户信息/兑换码名称",clearable:""},on:{change:e.refresh},model:{value:e.listParams.search,callback:function(t){e.$set(e.listParams,"search",t)},expression:"listParams.search"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),n("el-date-picker",{staticClass:"w350",attrs:{type:"daterange","range-separator":"至","start-placeholder":"兑换开始日期","end-placeholder":"兑换结束日期"},on:{change:e.refresh},model:{value:e.dateTime,callback:function(t){e.dateTime=t},expression:"dateTime"}})],1),e._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120","header-align":"left",fixed:"left",align:"left",prop:"memberId",label:"会员信息"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("a",{attrs:{href:"/member/#/wechatmemberDetail?memberId="+t.row.memberId,target:"_blank"}},[n("img",{staticClass:"vertical-middle table__avatar--40",attrs:{src:t.row.memberImgUrl||e.defaultAvatar,width:"60",height:"60"}}),e._v(" "),n("div",{staticClass:"inline-block vertical-middle"},[n("p",{staticClass:"table-name--ellipsis"},[e._v(e._s(t.row.memberName||"--"))])])])]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",label:"兑换时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.createTime,"yyyy-MM-dd-HH-mm-ss",!0).y)),n("br"),e._v(" "),n("span",[e._v(e._s(e.formatDateTimeByType(t.row.createTime,"yyyy-MM-dd-HH-mm-ss",!0).h))])])]}}])}),e._v(" "),n("el-table-column",{attrs:{"min-width":"140",align:"left",prop:"cdkeyName",label:"兑换码名称","show-overflow-tooltip":!0}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",label:"兑换码类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.cdkeyType?"专属码":"通用码")+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkey",label:"兑换码码值"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"140",align:"left",prop:"cdkeyContentDescribe",label:"兑换内容"}}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",prop:"createTime",label:"兑换码状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.convertibilityStatus?n("div",{staticClass:"dm-status--success"},[e._v("成功")]):e._e(),e._v(" "),2==t.row.convertibilityStatus?n("div",{staticClass:"dm-status--error"},[e._v("失败")]):e._e()]}}])}),e._v(" "),n("el-table-column",{attrs:{"show-overflow-tooltip":!0,"min-width":"120",align:"left",prop:"convertibilityRemark",label:"备注"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.convertibilityRemark||"--")+"\n ")]}}])})],1),e._v(" "),n("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]},u=n("VU/8")(l,d,!1,null,null,null);t.default=u.exports}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([24],{"+8kX":function(t,e){},0:function(t,e,n){n("j1ja"),t.exports=n("NHnr")},"0xDb":function(t,e,n){"use strict";n.d(e,"h",function(){return c}),n.d(e,"f",function(){return M}),n.d(e,"j",function(){return L}),n.d(e,"k",function(){return d}),n.d(e,"m",function(){return p}),n.d(e,"e",function(){return h}),n.d(e,"n",function(){return j}),n.d(e,"l",function(){return w}),n.d(e,"c",function(){return y}),n.d(e,"d",function(){return N}),n.d(e,"a",function(){return C}),n.d(e,"b",function(){return g}),n.d(e,"g",function(){return f}),n.d(e,"i",function(){return D});var i=n("mvHQ"),a=n.n(i),u=n("BO1k"),s=(n.n(u),n("lRwf")),o=n.n(s),r=n("hKdl"),c=(n.n(r),function(t){0}),l=function(t){return(t*=1)<10?"0"+t:t},M=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd-HH-mm-ss",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t)return n?{y:"",h:""}:"";"number"!=typeof t&&"string"!=typeof t||(t=new Date(t));try{if("string"==typeof t)return n?{y:t,h:""}:t;var i=e.indexOf("yyyy")>=0?l(t.getFullYear()):"",a=e.indexOf("MM")>=0?"-"+l(t.getMonth()+1):"",u=e.indexOf("dd")>=0?"-"+l(t.getDate()):"",s=e.indexOf("HH")>=0?" "+l(t.getHours()):"",o=e.indexOf("mm")>=0?":"+l(t.getMinutes()):"",r=e.indexOf("ss")>=0?":"+l(t.getSeconds()):"";return n?{y:i+a+u,h:s+o+r}:i+a+u+s+o+r}catch(e){return n?{y:t,h:""}:t}},L=function(t){var e={"零":0,"一":1,"二":2,"三":3,"四":4,"五":5,"六":6,"七":7,"八":8,"九":9,"十":10},n="";for(var i in e)t===e[i]&&(n=i);return n},d=function(t){for(var e in t)if(e&&t[e])switch(t[e].constructor){case Array:t[e]=[];break;case String:t[e]="";break;case Number:t[e]=0;break;case Boolean:t[e]=!1;break;default:t[e]=""}};function m(t,e,n){return t[e]=t.splice(n,1,t[e])[0],t}var p=function(t,e){0!=e&&m(t,e,e-1)},h=function(t,e){e!=t.length-1&&m(t,e,e+1)},j=function(t,e){return!t&&(o.a.prototype.$tips({type:"warning",message:e||"内容填写不全"}),!0)},w=function(t,e){var n=0;return function(){var i=+new Date;i-n>t&&(e.apply(this,arguments),n=i)}},y=function(t){if(""==t)return o.a.prototype.$tips({type:"warning",message:"网址不规范,示例:http://www.domain.com"}),!0;return!/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/.test(t)&&(o.a.prototype.$tips({type:"warning",message:"网址不规范,示例:http://www.domain.com"}),!0)},N=function(t){return JSON.parse(a()(t))},C=function(t,e){var n;e=e||200;return function(){var i=this,a=arguments;n&&clearTimeout(n),n=setTimeout(function(){n=null,t.apply(i,a)},e)}},g=function(){o.a.prototype.$confirm("当前会员小程序版本过低,请联系达摩运营提审并发布最新版小程序后再次尝试。造成不便,敬请谅解。<div class='mt10'><a href='https://notes.dingtalk.com/p/dy0mVPReOv9yWz89/docs/dy0mVkBMjvxZMG89' target='_blank'>达摩GIC卡券模块更新说明</a></div>","提示",{cancelButtonText:"确定",showConfirmButton:!1,dangerouslyUseHTMLString:!0}).then(function(){}).catch(function(){})},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t?new Date(t):new Date;return 1==e&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),2==e&&(n.setHours(23),n.setMinutes(59),n.setSeconds(59),n.setMilliseconds(999)),n.getTime()},D=function(t){return"number"!=typeof t?"- -":t.toString().replace(/\d+/,function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,"$1,")})}},"2uFj":function(t,e,n){"use strict";n.d(e,"b",function(){return i}),e.a={api:window.location.protocol+"//"+window.location.host+"/"||""};var i=1e5},"6Hqf":function(t,e,n){"use strict";n.d(e,"b",function(){return I});var i=n("//Fk"),a=n.n(i),u=n("mvHQ"),s=n.n(u),o=n("woOf"),r=n.n(o),c=n("ifoU"),l=n.n(c),M=n("2uFj"),L=n("0xDb"),d=n("mw3O"),m=n.n(d),p=n("OMN4"),h=n.n(p),j=n("YaEn"),w=n("IcnI"),y=n("lRwf"),N=n.n(y);n.d(e,"a",function(){return h.a});var C=!1,g=M.a.api,f=[];function D(t){Object(L.h)(t.url+"--end");var e=f.findIndex(function(e){return e===t});e>-1&&f.splice(e,1)}function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"请求错误";switch(t){case 401:C||(window.location.href=M.a.api+"gic-web/"),e="登录失效";break;case 403:e="禁止访问",j.a.push("/403");break;case 408:e="请求超时";break;case 500:e="服务器内部错误";break;case 501:e="功能未实现";break;case 503:e="服务不可用";break;case 504:e="网关错误"}N.a.prototype.$tips({type:"warning",message:e})}h.a.defaults.baseURL=g;var v=new l.a,I=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"POST",o=arguments[5],c={method:u,url:t},l=null;w.a.state.marketing.openFlag||delete e.showSelfFlag,"POST"===u.toLocaleUpperCase()?n?(c.data=e,c.headers={"Content-Type":"application/json"},c.url+=o?"?requestProject=marketing"+o:"?requestProject=marketing"):c.data=m.a.stringify(r()({requestProject:"gic-web"},e)):c.params=r()({requestProject:"gic-web"},e);var M=s()(c);if(v.has(M)){if(!(Date.now()-v.get(M)>1e3))return a.a.reject();v.delete(M)}else v.set(M,Date.now());return new a.a(function(e,n){var a={stamp:Date.now(),url:""+(g+t)};i||(l=setTimeout(function(){var t;t=a,Object(L.h)(t.url+"--begin"),f.push(t)},300)),c.headers=r()({},c.headers||{},{sign:localStorage.getItem("sign")}),h()(c).then(function(t){clearTimeout(l),D(a),0!==t.data.errorCode&&0!=t.data.code?(n(t),t.data.message.indexOf("抱歉")>=0?N.a.prototype.$alert(t.data.message,"提示"):170009==t.data.errorCode&&"核销会员手机号已存在,无法重复添加"==t.data.message||x(t.data.errorCode,t.data.message)):e(t.data)}).catch(function(t){clearTimeout(l),D(a),v.delete(M),t&&x(t.response.status,"接口异常"),n(t)})})}},"6zci":function(t,e,n){t.exports=n.p+"static/img/error_500.ed0cba4.svg"},ASH3:function(t,e,n){t.exports=n.p+"static/img/401.089007e.gif"},"AiY+":function(t,e){},DBvx:function(t,e){},"Drn/":function(t,e){},"E3+y":function(t,e,n){t.exports=n.p+"static/img/error_404.bf58747.svg"},IcnI:function(t,e,n){"use strict";var i=n("lRwf"),a=n.n(i),u=n("SJI6"),s=n.n(u),o=n("Xxa5"),r=n.n(o),c=n("exGp"),l=n.n(c),M=n("BO1k"),L=n.n(M),d=n("tzYu"),m={state:{enterpriseId:"",limitCodeList:[],isLimit:!1,all:0,storeCardAuth:!1,cartData:[],total:0,leftMenu:[],storeObj:{},layoutTips:"",isShowSelf:!1,openFlag:!1,appletEnable:!1,xsxsFlag:!1,userId:"",departAuth:0,superAdmin:0,keepAlive:[],showLayout:!0},getters:{allProducts:function(t,e,n){return t.all},allCartData:function(t){return t.cartData},getStoreCardAuth:function(t){return t.storeCardAuth},total:function(t){t.total=0;var e=!0,n=!1,i=void 0;try{for(var a,u=L()(t.cartData);!(e=(a=u.next()).done);e=!0){var s=a.value;t.total+=s.price}}catch(t){n=!0,i=t}finally{try{!e&&u.return&&u.return()}finally{if(n)throw i}}return t.total},getLimitCodeList:function(t){return t.limitCodeList},getLimitWechatTemplateMessage:function(t){return t.limitCodeList.some(function(t){return"wxTemplateMessage"==t})},getShowLayout:function(t){return t.showLayout}},actions:{setAll:function(t,e){(0,t.commit)("mutations_setAll",e)},setCartData:function(t,e){(0,t.commit)("mutations_CartData",e)},removecartData:function(t,e){(0,t.commit)("mutations_removeCartData",e)},getIsShowSelfData:function(t){var e=this;return l()(r.a.mark(function t(){var n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(d.d)();case 2:n=t.sent,e.commit("mutations_auth",n.result);case 4:case"end":return t.stop()}},t,e)}))()}},mutations:{updateAppletEnable:function(t,e){t.appletEnable=!!e},updateLimit:function(t,e){t.isLimit=!!e},updateEnterpriseId:function(t,e){t.enterpriseId=e},mutations_setAll:function(t,e){t.all=e},mutations_CartData:function(t,e){t.cartData.push(e)},mutations_removeCartData:function(t,e){for(var n in t.cartData)t.cartData[n].id===e.id&&t.cartData.splice(n,1)},mutations_auth:function(t,e){var n=e.openFlag,i=e.showFlag;t.isShowSelf=Boolean(i),t.openFlag=Boolean(n)},updateStoreCardAuth:function(t,e){t.storeCardAuth=e},updateLimitCodeList:function(t,e){t.limitCodeList=e},updateSuperAdmin:function(t,e){t.superAdmin=e},updateDepartAuth:function(t,e){t.departAuth=e},updateUserId:function(t,e){t.userId=e},setKeepAlive:function(t,e){t.keepAlive=e},mutations_Layout:function(t,e){t.showLayout=e}}};a.a.use(s.a);e.a=new s.a.Store({modules:{marketing:m}})},LDXs:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("fZjL"),a=n.n(i),u=n("lRwf"),s=n.n(u),o=n("tzYu"),r={name:"App",data:function(){return{include:[],userId:""}},methods:{saveUserId:function(){var t=this;Object(o.g)().then(function(e){if(0===e.errorCode){t.userId=e.result&&e.result.userId;var n=e.result&&e.result.wxaLinkFlag;localStorage.setItem("wxaLinkFlag",n)}})},changeTab:function(){var t=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&Object(o.g)().then(function(e){if(0===e.errorCode){var n=e.result&&e.result.userId,i=e.result&&e.result.enableAccessControl;localStorage.setItem("enableAccessControl",i),t.userId!==n&&(t.userId=n,window.notCache=!0,t.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请重新登录!","登录账号变更提示",{confirmButtonText:"重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){window.location.href="/gic-web/#/login"}).catch(function(){window.location.href="/report"}))}})})}},created:function(){this.saveUserId(),this.changeTab(),this.$store.dispatch("getIsShowSelfData")}},c={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("keep-alive",{attrs:{include:this.include}},[e("router-view")],1)],1)},staticRenderFns:[]};var l=n("VU/8")(r,c,!1,function(t){n("OW1H")},null,null).exports,M=n("YaEn"),L=n("IcnI"),d=n("6Hqf"),m={bind:function(t,e,n,i){t.val=e.value,t.handler=function(){var e=t.val,n=document.createElement("input");t.appendChild(n),n.value=e,n.select(),document.execCommand("Copy"),t.__vue__.$tips({type:"success",message:"复制成功"}),n.parentNode.removeChild(n)},t.addEventListener("click",t.handler)},update:function(t,e,n,i){t.val=e.value},unbind:function(t){t.removeEventListener("click",t.handler)}},p=n("//Fk"),h=n.n(p),j=n("OMN4"),w=n.n(j),y=n("2uFj");w.a.defaults.withCredentials=!0;var N={inserted:function(t,e){t.addEventListener("change",function(n){if(n.target.value){e.value.loading=!0,console.log(t.files);var i,u,s,o=e.value.limit&&e.value.limit.maxSize?e.value.limit.maxSize:2;if(t.files[0].size>1024*o*1024)return e.value.$tips({type:"warning",message:"上传"+(e.value.fileType.indexOf("image")>=0?"图片":"文件")+"不能大于"+o+"M"}),void(e.value.loading=!1);if(e.value.imgType)if(!e.value.imgType.split("/").includes(t.files[0].type.split("/")[1]))return e.value.$tips({type:"warning",message:"请上传"+e.value.imgType+"类型"}),void(e.value.loading=!1);if(e.value.limit&&e.value.limit.type){var r=e.value.limit,c=r.width,l=r.height;(i=t,u=c,s=l,new h.a(function(t,e){if(i.value){var n=i.files[0],a=new FileReader;a.onload=function(n){var a=n.target.result,o=new Image;o.onload=function(){var n=o.width,a=o.height;u=u||n,s=s||a,n===u&&a===s?t():(i.value="",e(new Error("上传图片尺寸应为"+u+"*"+s)))},o.src=a},a.readAsDataURL(n)}else e()})).then(function(t){M()}).catch(function(t){e.value.$tips({type:"warning",message:t.message}),e.value.loading=!1})}else M()}function M(){e.value.disabled=!0;var n=new FormData;if(n.append(e.value.fileType,t.files[0]),n.append("requestProject","gic-web"),e.value.needExtraParams){var i=e.value.paramsObj||{};a()(i).map(function(t){n.append(t,i[t])})}var u=t.files[0],s=y.a.api+e.value.url;w.a.post(s,n).then(function(t){e.value.loading=!1,0===t.data.errorCode?("/api-plug/upload-img"===e.value.url?(e.value.model.code=t.data.result[0].imageFiledCode,e.value.model.imgUrl=t.data.result[0].qcloudImageUrl):e.value.acceptType&&(e.value.acceptType.includes("csv")||e.value.acceptType.includes("xls")||e.value.acceptType.includes("xlsx"))?e.value.model.code=(new Date).getTime():(e.value.model.code=t.data.result.imageFiledCode,e.value.model.imgUrl=t.data.result.qcloudImageUrl,e.value.model.mediaId=t.data.result.imageMediaId,e.value.model.wxImg=t.data.result.wxImg||t.data.result.imageUrl||""),e.value.$tips({type:"success",message:"上传成功"}),e.value.needAxiosDataBack&&e.value.dataBack(u,t.data.result)):e.value.$tips({type:"error",message:t.data.message||"上传失败"}),e.value.disabled=!1}).catch(function(t){e.value.loading=!1,e.value.disabled=!1,e.value.$tips({type:"error",message:t.message||"上传失败"})})}})}};w.a.defaults.withCredentials=!0;var C={clipboard:m,upload:N,imglibupload:{inserted:function(t,e){t.addEventListener("change",function(){if(t.files[0].size>2097152)e.value.$tips({type:"warning",message:"上传图片不能大于2M"});else{e.value.upLoadDisabled=!0;var n=new FormData;n.append("file",t.files[0]),n.append("requestProject","gic-web"),n.append("wechatImageGroupId",e.value.listParams.wechatImageGroupId||1),w.a.post(y.a.api+"/api-marketing/marketing-wechat-image-save",n).then(function(t){0===t.data.errorCode?(e.value.$tips({type:"success",message:"上传成功"}),e.value.loadImgList()):e.value.$tips({type:"error",message:t.data.message||"上传失败"}),e.value.upLoadDisabled=!1}).catch(function(t){e.value.upLoadDisabled=!1,e.value.$tips({type:"error",message:t.msg||"上传失败"})})}})}},loadmore:{bind:function(t,e,n,i){t.querySelector(".el-select-dropdown .el-select-dropdown__wrap").addEventListener("scroll",function(){Math.floor(this.scrollHeight-this.scrollTop)<=this.clientHeight&&e.value()})}}},g=function(t){t.$nextTick(function(t){document.getElementsByClassName("is-error")[0].scrollIntoView({block:"center",behavior:"smooth"})})};function f(t,e){t.style.position="fixed",t.style.zIndex="2001",t.style.top=e+"px",t.style.display="block"}function D(t,e){var n=t.className;n.includes("fixed")||(t.setAttribute("class",n+" fixed"),f(t,e))}function x(t){var e=t.className,n=e.indexOf("fixed");if(-1!==n){var i=e.substr(0,n-1);t.setAttribute("class",i),function(t){t.style.position="static",t.style.top="0",t.style.zIndex="0",t.style.display="none"}(t)}}function v(t){var e=getComputedStyle(t.getElementsByClassName("el-table__body-wrapper")[0]).width,n=t.getElementsByClassName("el-table__header-wrapper");S.style.width=e;for(var i=0;i<n.length;i++)n[i].style.width=e}var I={},T={},z={},S={};s.a.directive("sticky",{inserted:function(t,e,n){var i=n.componentInstance._uid;window.addEventListener("resize",T[i]=function(){v(t)});var a=document.querySelector(e.value.parent)||document;a.addEventListener("scroll",I[i]=function(){!function(t,e,n){var i=void 0,a=void 0,u=void 0,s=e.lastChild;if(t.tagName){i=e.offsetTop-t.scrollTop-s.offsetHeight;var o=getComputedStyle(t).height;if(u=Number(o.slice(0,o.length-2)),a=n+t.getBoundingClientRect().top,i>u)return}else if(i=e.getBoundingClientRect().top,u=window.innerHeight,a=n,i>document.documentElement.scrollTop+u)return;Math.abs(i)>e.offsetHeight+100||(i<0&&Math.abs(i)>e.offsetHeight?x(s):i<=0?D(s,a):i>0?x(s):Math.abs(i)<e.offsetHeight&&D(s,a))}(a,t,e.value.top)},!0),e.value.parent&&document.addEventListener("scroll",z[i]=function(){var n=t.children[1];"fixed"===getComputedStyle(n).position&&f(n,e.value.top+a.getBoundingClientRect().top)},!0)},componentUpdated:function(t){!function(t){var e=t.getElementsByClassName("el-table__header-wrapper"),n=(S=e[0].cloneNode(!0)).lastChild.lastChild.firstChild.childNodes;if(n.length>1&&!t.lastChild.className.includes("el-table__header-wrapper")){S.style.display="none";for(var i=n?n.length:0,a=0;a<i;a++){var u=n[a].className;u.includes("is-hidden")&&(n[a].className=u.replace("is-hidden",""))}t.appendChild(S)}}(t),v(t)},unbind:function(t,e,n){var i=n.componentInstance._uid;window.removeEventListener("resize",T[i]),(document.querySelector(e.value.parent)||document).removeEventListener("scroll",I[i]),e.value.parent&&document.removeEventListener("scroll",z[i])}}),s.a.config.productionTip=!1,s.a.config.devtools=!1,s.a.prototype.scrollToError=g,s.a.prototype.axios=d.a,s.a.prototype.axios.withCredentials=!0,s.a.prototype.axios.defaults.timeout=5e4,window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,a()(C).map(function(t){return s.a.directive(t,C[t])}),window.$bus=new s.a;var A,b=!1;s.a.prototype.$tips=function(t){var e=t.message,n=void 0===e?"提示":e,i=t.type,a=void 0===i?"success":i;b||(this.$message({message:n,type:a}),b=!0,setTimeout(function(t){b=!1},1e3))},A={createApp:function(){window.getLimit(M.a,"marketing").then(function(){new s.a({el:"#app",router:M.a,store:L.a,components:{App:l},template:"<App/>"})})}}.createApp,window.onload=function(){var t=Object(d.b)("/api-auth/get-login-user-info",{requestProject:"gic-web",f:1}).then(function(t){var e=t.result||{};L.a.commit("updateEnterpriseId",e.enterpriseId),L.a.commit("updateLimitCodeList",e.limitCodeList),L.a.commit("updateSuperAdmin",e.superAdmin),L.a.commit("updateDepartAuth",e.departAuth),L.a.commit("updateUserId",e.userId),L.a.commit("updateStoreCardAuth",2==e.enterpriseDTO.brandType)}),e=Object(d.b)("/api-marketing/opt-coupon-enable",{requestProject:"marketing"}).then(function(t){L.a.commit("updateAppletEnable",t.result||!1)});h.a.all([t,e]).finally(function(){A()})}},OMN4:function(t,e){t.exports=axios},OW1H:function(t,e){},S1RZ:function(t,e){},SJI6:function(t,e){t.exports=Vuex},UXIX:function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5Zu+5bGCXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDAwIDMzNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDAwIDMzNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6bm9uZTtzdHJva2U6I0I5QzdEQjtzdHJva2Utd2lkdGg6NDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQoJLnN0MXtmaWxsOiNCOUM3REI7fQ0KCS5zdDJ7ZmlsbDojREJFNUYxO30NCgkuc3Qze2ZpbGw6I0ZGRkZGRjt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTT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IsMjE2LjQsMjAyLjYsMjEzLjQsMjAyLjZ6IE0xOTMuMywxODYuMnY1LjcNCgljMCwxLjMsMSwyLjMsMi4zLDIuM3MyLjMtMSwyLjMtMi4zdi01LjdjMS4zLTAuNywyLjMtMiwyLjMtMy43YzAtMi4zLTItNC4zLTQuNy00LjNjLTIuNywwLTQuNywyLTQuNyw0LjMNCglDMTkxLDE4NC4yLDE5MiwxODUuNSwxOTMuMywxODYuMnogTTIwNy40LDE2Ny44YzAtNi01LjQtMTEtMTEuNy0xMWMtNi40LDAtMTEuNyw1LTExLjcsMTF2Mi4zaDIzLjRWMTY3Ljh6Ii8+DQo8L3N2Zz4NCg=="},VBAc:function(t,e,n){"use strict";var i={props:{drawer:{type:Boolean,default:!1},direction:{type:String,default:"rtl"},contentTitle:String},watch:{drawer:function(t){this.$emit("update:drawer",t)}}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return"触达效果"==t.contentTitle?n("el-drawer",{attrs:{title:"触达效果说明",visible:t.drawer,modal:!1,direction:t.direction,"custom-class":"touch_drawer h"},on:{"update:visible":function(e){t.drawer=e}}},[n("ul",{staticClass:"content"},[n("li",[t._v("数据更新频率:1天1次")]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("转化收益计算方式")]),t._v(" "),n("p",[t._v("通过智能营销触达到顾客后,顾客在收益有效期内进行消费,会被视为该智能营销计划的转化。"),n("br"),t._v("如:1月1日智能营销计划下发话务任务,让导购联系1月生日会员到店消费,收益有效期设置为14天。导购在1月3日完成任务联系到顾客。如果该顾客在1月17日前来店消费,则将该顾客记入触达顾客转化人数,该顾客消费订单数和金额记入触达顾客订单数和转化收益。"),n("br"),t._v("如果出现补单和退单的情况,时间在七天以内的补单订单,会按照收益计算规则进行统计;时间在七天以内的退单,会按照退单实际情况扣减相应数据。七天之外的退补单不再对已计算转化数据产生影响。")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("计划整体效果")]),t._v(" "),n("p",[t._v("统计整个计划的营销效果。任意一个渠道触达顾客即视为触达。如果计划中多个渠道触达同一个顾客,统计人数时会进行去重,仅计算为1个人。")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("卡券收益")]),t._v(" "),n("p",[t._v("\n ①智能营销计划中投放卡券所产生的营销效果,仅有通过当前智能营销任务发出的卡券才会被统计,其他渠道投放卡券的数据不会包含"),n("br"),t._v("\n ②由于是单独从“卡券”维度统计,因此只要是使用了该计划所发送优惠券的都会计入,即使顾客使用该优惠券的订单超过了收益有效期。比如实际使用该卡券发生在被触达之后很久,远远超过了收益有效期,在此收益模块中,也会将该订单纳入统计,而“计划整体效果”中不会包含该超过了收益有效期的订单相关数据。"),n("br"),t._v("\n ③如果一个顾客使用了多张卡券,在统计单个卡券效果时,会根据实际情况分别计算(这可能导致每个优惠券的数据相加求和大于计划整体)。\n ")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("各渠道触达效果(企微群发任务、话务任务、短信、微信)")]),t._v(" "),n("p",[t._v("\n 计划中触达渠道的营销效果,会对每个触达渠道分别进行统计。"),n("br"),t._v("\n 如果计划中使用了多种触达渠道触达了某个顾客,且该顾客在收益有效期内进行了消费。在统计单个触达渠道的效果时,会在每个触达渠道中都算上该顾客(这可能导致每个渠道的数据相加求和大于计划整体,因为“计划整体”的触达转化效果是会去重的)。"),n("br"),t._v("\n 各触达渠道“实际触达”的定义如下:"),n("br"),t._v("\n ① 群发任务:通过企业微信实际发送群发消息成功即视为触达"),n("br"),t._v("\n ② 短信:运营商返回发送成功的即视为触达。 "),n("br"),t._v("\n ③ 微信:微信发送接口返回成功即视为触达。"),n("br"),t._v("\n ④ 话务:导购完成话务任务(不含放弃)即视为触达。\n ")])])])])]):"智能营销"==t.contentTitle?n("el-drawer",{attrs:{title:"数据说明",visible:t.drawer,modal:!1,direction:t.direction,"custom-class":"touch_drawer h"},on:{"update:visible":function(e){t.drawer=e}}},[n("ul",{staticClass:"content"},[n("li",[t._v("更新频率:营销人次实时统计,其余指标1天更新1次;")]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("营销人次")]),t._v(" "),n("p",[t._v("本次计划各次营销的人数汇总。如计划执行两次,第一次选中10000人使用了2个卡券1个短信,第二次选中相同的10000人使用了群发,整体营销人次为20000")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("计划触达人数")]),t._v(" "),n("p",[t._v("当前智能营销在计划创建时,按照条件圈选的顾客人数。如果当前计划中,通过不同触达方式或不同时间,计划触达同一个顾客,会进行去重统计,仅计算为1个人;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("触达人数")]),t._v(" "),n("p",[t._v("当前智能营销通过指定触达方式,实际触达到的顾客数。如果当前计划中,通过不同触达方式或不同时间,实际触达了同一个顾客,会进行去重统计,仅计算为1个人;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("转化人数")]),t._v(" "),n("p",[t._v("当前智能营销实际触达顾客中,在收益有效期内消费的顾客人数。无论顾客消费了几次,会进行去重统计,仅计算为1个人;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("转化收益")]),t._v(" "),n("p",[t._v("当前智能营销实际触达顾客中,在收益有效期内消费的顾客实付订单金额。只计销售单,不看退货单和换货单。")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("卡券收益")]),t._v(" "),n("p",[t._v("当前智能营销计划发出优惠券后,使用优惠券的订单金额。如果一笔订单使用了超过1张优惠券,该金额仅计算一次;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("说明")]),t._v(" "),n("p",[t._v("未开启营销分析开关的,除营销人次外其他指标信息不统计;")])])])])]):t._e()},staticRenderFns:[]};var u=n("VU/8")(i,a,!1,function(t){n("LDXs")},null,null);e.a=u.exports},YaEn:function(t,e,n){"use strict";var i=n("fZjL"),a=n.n(i),u=n("lRwf"),s=n.n(u),o=n("pRNm"),r=n.n(o),c=n("Gu7T"),l=n.n(c),M=n("mw3O"),L=n.n(M),d={name:"vue-gic-aside-menu",props:["collapseFlag","projectName"],data:function(){return{repProjectName:"gic-web",asideHeight:"0px",pathName:"",leftCollapse:!1,leftModuleName:"",menuLeftRouter:[],baseUrl:"",selectMenu:""}},beforeMount:function(){var t=window.location.origin;"-1"!=t.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=t},methods:{handleOpen:function(t,e){},handleSelect:function(t,e){console.log(t),this.selectMenu=t},setNewData:function(t){t.forEach(function(t,e){null==t.level4List||0==t.level4List.length?t.menuUrl="/"+t.menuUrl:t.level4List.forEach(function(t,e){t.menuUrl="/"+t.menuUrl})}),this.menuLeftRouter=t},toRouter:function(t){this.$emit("toLeftRouterView","/"+t)},refreshRoute:function(){this.routePathName=window.location.pathname.split("/")[2],-1!=this.routePathName.indexOf("?")&&(this.routePathName=this.routePathName.split("?")[0]),-1!=this.routePathName.indexOf("/")&&(this.routePathName=this.routePathName.split("/")[0]),this.pathName=this.routePathName,this.getLeftMenu()},getLeftMenu:function(){var t=this,e={project:t.repProjectName,path:t.pathName,requestProject:t.repProjectName};t.axios.post(t.baseUrl+"/api-auth/get-current-memu-data",L.a.stringify(e)).then(function(e){var n=e.data;if(0==n.errorCode){if(!n.result)return;return t.leftModuleName=n.result.level2.menuName,t.setNewData(n.result.leftMenu),t.$route.meta.path?t.selectMenu=t.$route.meta.path:t.selectMenu=t.$route.path,n.result.level4?void(t.selectMenu="/"+n.result.level4.menuUrl):void(n.result.level3&&(t.selectMenu="/"+n.result.level3.menuUrl))}t.$message.error({duration:1e3,message:n.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{collapseFlag:function(t,e){this.leftCollapse=t},projectName:function(t,e){this.repProjectName=t||"gic-web"},$route:function(t){if(t.query.new){var e=t.params.path||t.path;this.handleSelect(e)}}},mounted:function(){this.repProjectName=this.projectName||"gic-web",this.asideHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",this.pathName=window.location.hash.split("/")[1],-1!=this.pathName.indexOf("?")&&(this.pathName=this.pathName.split("?")[0]),this.getLeftMenu(),this.leftCollapse=this.collapseFlag}},m={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"left-aside-contain"},[n("div",{staticClass:"leftBar-wrap"},[n("div",{staticClass:"cardmenu",class:{collapse:t.leftCollapse}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.leftCollapse,expression:"!leftCollapse"}],staticClass:"cardtitle"},[n("span",[t._v(t._s(t.leftModuleName))])]),t._v(" "),n("div",{staticClass:"cardmenu-item"},[n("el-menu",{staticClass:"el-menu-vertical-demo cardmenupanel",staticStyle:{"border-right":"0"},attrs:{"default-active":t.selectMenu,"data-path":"/"+t.$route.path,router:!0,"text-color":"#c0c4cc","active-text-color":"#ffffff",collapse:t.leftCollapse,"unique-opened":""},on:{open:t.handleOpen,select:t.handleSelect}},[t._l(t.menuLeftRouter,function(e,i){return[e.level4List.length>0?n("el-submenu",{key:i,attrs:{index:i+""}},[n("template",{slot:"title"},[n("i",{class:["iconfont","menu-icon",e.iconUrl]}),t._v(" "),n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.menuName))])]),t._v(" "),t._l(e.level4List,function(e,i){return n("el-menu-item",{key:i,staticStyle:{"padding-left":"53px"},attrs:{index:e.menuUrl}},[n("label",{attrs:{slot:"title","data-index":t.$route.path==e.menuUrl&&t.$route.path,"data-path":e.menuUrl},slot:"title"},[t._v(t._s(e.menuName))])])})],2):t._e(),t._v(" "),e.level4List.length?t._e():n("el-menu-item",{key:i,attrs:{index:e.menuUrl}},[n("i",{class:["iconfont","menu-icon",e.iconUrl]}),t._v(" "),n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.menuName))])])]})],2)],1)])])])},staticRenderFns:[]};var p={components:{asideMenu:n("VU/8")(d,m,!1,function(t){n("AiY+")},"data-v-17f206b4",null).exports,description:n("VBAc").a},data:function(){return{collapseFlag:!1,projectName:"marketing",leftModulesName:"公众号配置",bodyHeight:0,drawer:!1,direction:"rtl"}},mounted:function(){this.bodyHeight=document.body.clientHeight||document.documentElement.clientHeight},computed:{contentTitle:function(){return this.$route.meta&&this.$route.meta.aliasName||this.$route.name},showDescription:function(){return this.$route.path.indexOf("ecm/list")>=0&&this.$store.state.marketing.xsxsFlag||this.$route.path.indexOf("ecm/touch")>=0}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTagHandler:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t){this.drawer=!1},immediate:!0}}},h={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("dm-layout",{attrs:{projectName:this.projectName}},[e("keep-alive",[this.$route.meta.keepAlive?e("router-view"):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():e("router-view")],1)],1)},staticRenderFns:[]};var j=n("VU/8")(p,h,!1,function(t){n("ta6F")},null,null).exports,w=n("UXIX"),y=n.n(w),N={name:"pageLimit",data:function(){return{limitImg:y.a}},methods:{}},C={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("img",{attrs:{src:this.limitImg,alt:"限流",width:"400"}}),this._v(" "),e("div",{staticStyle:{"font-size":"16px"}},[this._v("\n 抱歉,页面限流\n ")])])},staticRenderFns:[]};var g=n("VU/8")(N,C,!1,function(t){n("DBvx")},"data-v-00ba63dc",null).exports,f=n("ASH3"),D=n.n(f),x={name:"page401",data:function(){return{errGif:D.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/"}):this.$router.go(-1)}}},v={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"errPage-container"},[n("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),n("el-row",[n("el-col",{attrs:{span:12}},[n("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("Oops!")]),t._v("\n 页面\n "),n("h2",[t._v("你没有权限去该页面")]),t._v(" "),n("h6",[t._v("如有不满请联系你领导")]),t._v(" "),n("ul",{staticClass:"list-unstyled"},[n("li",[t._v("或者你可以去:")]),t._v(" "),n("li",{staticClass:"link-type"},[n("router-link",{attrs:{to:"/report/#/memberSummary"}},[t._v("回首页")])],1),t._v(" "),n("li",{staticClass:"link-type"},[n("router-link",{attrs:{to:"/report/#/memberSummary"}},[t._v("回首页")])],1),t._v(" "),n("li",[n("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),t._v(" "),n("el-col",{attrs:{span:12}},[n("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),n("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var I=n("VU/8")(x,v,!1,function(t){n("Drn/")},"data-v-f0605414",null).exports,T=n("lx22"),z=n.n(T),S={name:"page403",data:function(){return{img_403:z.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},A={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),e("a",{staticClass:"bullshit__return-home",attrs:{href:"/report/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var b=n("VU/8")(S,A,!1,function(t){n("S1RZ")},"data-v-a0c2f62e",null).exports,E=n("E3+y"),O=n.n(E),Q={name:"page404",data:function(){return{img_404:O.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},Y={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),e("a",{staticClass:"bullshit__return-home",attrs:{href:"/report/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var k=n("VU/8")(Q,Y,!1,function(t){n("vaXQ")},"data-v-7a228181",null).exports,U=n("6zci"),F=n.n(U),B={name:"page500",data:function(){return{img_500:F.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},G={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),e("a",{staticClass:"bullshit__return-home",attrs:{href:"/report/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var W=n("VU/8")(B,G,!1,function(t){n("+8kX")},"data-v-fac2b85c",null).exports,R=n("Xxa5"),P=n.n(R),Z=n("gRE1"),H=n.n(Z),J=n("Dd8w"),V=n.n(J),_=n("exGp"),X=n.n(_),K={name:"ListItem",props:{item:{type:Object,default:function(){return{activityCategoryId:"",categoryName:"",childs:[]}}}},watch:{item:{handler:function(t,e){this.title=t.categoryName,this.list=[].concat(l()(t.childs))},deep:!0,immediate:!0}},data:function(){return{list:[],title:""}},methods:{jump:function(t){var e=t.jumpUrl;if(e)if("hb_m0206"==t.activityCode){var n=window.location.origin+"/"+e+"&hbPage=staffActCode";window.open(n)}else window.location.href=window.location.origin+"/"+e}}},q={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"activity-center-list-item"},[n("header",{staticClass:"item-header"},[n("i",{staticClass:"column-line"}),n("span",{staticClass:"item-header-title"},[t._v(t._s(t.title))])]),t._v(" "),n("div",{staticClass:"flex-wrap"},t._l(t.list,function(e){return n("div",{key:e,staticClass:"card-item",on:{click:function(n){return t.jump(e)}}},[e.activityRemark?n("div",{staticClass:"remark-tag"},[t._v(t._s(e.activityRemark))]):t._e(),t._v(" "),n("el-image",{staticStyle:{width:"40px",height:"40px","margin-right":"12px","border-radius":"8px"},attrs:{src:e.activityImage,fit:"cover"}}),t._v(" "),n("div",{staticClass:"card-right"},[n("p",{staticClass:"card-right-title"},[t._v(t._s(e.activityName))]),t._v(" "),n("p",{staticClass:"card-right-explain"},[t._v(t._s(e.activityExplain))])])],1)}),0)])},staticRenderFns:[]};var $=n("VU/8")(K,q,!1,function(t){n("c+mG")},"data-v-62ad9344",null).exports,tt=n("6Hqf"),et=(n("2uFj").a.api,{components:{ListItem:$},data:function(){return{list:[]}},created:function(){var t=this;this.$store.commit("mutations_breadcrumb",[{name:"营销管理"},{name:"微信营销",path:"/wechat"},{name:"素材库",path:""}]),this.$store.commit("aside_handler",!1),this.$nextTick(function(e){t.$store.commit("aside_handler",!0)})},mounted:function(){this.getLIst()},methods:{getLIst:function(){var t=this;return X()(P.a.mark(function e(){var n,i,a,u;return P.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s={orderBy:"activity_sort ASC"},Object(tt.b)("api-marketing/marketing/activity/getList",s);case 2:n=e.sent,i=n.result,a=void 0===i?[]:i,console.log(a),u={},a.forEach(function(t){u[t.activityCategoryId]?u[t.activityCategoryId].childs.push(V()({},t)):u[t.activityCategoryId]={activityCategoryId:t.activityCategoryId,categoryName:t.categoryName,childs:[V()({},t)]}}),t.list=H()(u);case 9:case"end":return e.stop()}var s},e,t)}))()}}}),nt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{padding:"20px"}},this._l(this.list,function(t){return e("list-item",{key:t,attrs:{item:t}})}),1)},staticRenderFns:[]},it=[{path:"/game/cmh/add",name:"新建拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"add"}},{path:"/game/cmh/edit/:id",name:"编辑拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"edit"}},{path:"/game/cmh/info/:id",name:"查看拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"info"}},{path:"/game/cmh/copy/:id",name:"复制拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"copy"}}],at=[{path:"/",name:"layout",component:j,redirect:"/marketing-app-list",children:[{path:"/marketing-app-list",name:"营销活动",component:n("VU/8")(et,nt,!1,null,null,null).exports},{path:"card",name:"卡券营销",component:function(){return n.e(0).then(n.bind(null,"bWPM"))},meta:{},redirect:"card/list",children:[{path:"list",name:"卡券库",component:function(){return n.e(0).then(n.bind(null,"ZbHG"))},meta:{path:"/card/list",keepAlive:!0}},{path:"connect-list",name:"卡券关联列表",component:function(){return n.e(22).then(n.bind(null,"bCih"))}},{path:"async-logs",name:"卡券同步错误日志",component:function(){return n.e(0).then(n.bind(null,"0sWI"))}},{path:"record",name:"卡券记录",component:function(){return n.e(0).then(n.bind(null,"u5E1"))},meta:{},redirect:"record/send",children:[{path:"get",name:"领取记录",component:function(){return n.e(0).then(n.bind(null,"XV1t"))},meta:{path:"/card/record/get"}},{path:"give",name:"转赠记录",component:function(){return n.e(0).then(n.bind(null,"Z5v/"))},meta:{}},{path:"send",name:"投放记录",component:function(){return n.e(0).then(n.bind(null,"MbWn"))},meta:{}},{path:"sendInfo/:id",name:"投放记录详情",component:function(){return n.e(0).then(n.bind(null,"rTNG"))},meta:{type:"send",path:"/card/record/send"}},{path:"cache",name:"临时领取记录",component:function(){return n.e(0).then(n.bind(null,"wJVu"))},meta:{}},{path:"refund",name:"退券记录",component:function(){return n.e(0).then(n.bind(null,"e5U4"))},meta:{}},{path:"refund-list",name:"退券记录",component:function(){return n.e(0).then(n.bind(null,"SWGB"))},meta:{}},{path:"recycle-record-detail",name:"卡券积分回收明细",component:function(){return n.e(0).then(n.bind(null,"IpVQ"))},meta:{}}]},{path:"merge",name:"卡券包",component:function(){return n.e(0).then(n.bind(null,"58ok"))},meta:{},redirect:"merge/list",children:[{path:"list",name:"卡券包列表",component:function(){return n.e(0).then(n.bind(null,"QD5B"))},meta:{path:"/card/merge/list"}},{path:"record-list",name:"卡券包领取记录",component:function(){return n.e(0).then(n.bind(null,"ZcC4"))},meta:{path:"/card/merge/record-list"}},{path:"add",name:"新建卡券包",component:function(){return n.e(0).then(n.bind(null,"T+ed"))},meta:{path:"/card/merge/list",type:"add"}},{path:"edit/:id",name:"编辑卡券包",component:function(){return n.e(0).then(n.bind(null,"T+ed"))},meta:{path:"/card/merge/list",type:"edit"}},{path:"info/:id",name:"查看卡券包",component:function(){return n.e(0).then(n.bind(null,"T+ed"))},meta:{path:"/card/merge/list",type:"info"}}]},{path:"groupsend",name:"新建卡券群发",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"add"}},{path:"groupsend/:id",name:"卡券群发",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"edit",path:"/card/record/send"}},{path:"addgroupsend/:id",name:"卡券投放",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"send",path:"/card/list"}},{path:"groupinfo/:id",name:"卡券群发详情",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"info",path:"/card/record/send"}},{path:"edit/:id",name:"卡券编辑",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"edit",path:"/card/list"}},{path:"info/:id",name:"卡券详情",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"info",path:"/card/list"}},{path:"copy/:id",name:"卡券复制",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"copy",path:"/card/list"}},{path:"add",name:"新增卡券",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"add",path:"/card/list"}},{path:"analysis/:id",name:"卡券报表",component:function(){return n.e(0).then(n.bind(null,"mnBH"))},meta:{path:"/card/list"}},{path:"shelfanalysis/:id",name:"卡券展架报表",component:function(){return n.e(0).then(n.bind(null,"/FGE"))},meta:{type:"shelf",path:"/card/shelf"}},{path:"shelf",name:"卡券展架",component:function(){return n.e(0).then(n.bind(null,"ry2Z"))},meta:{path:"/card/shelf"}},{path:"shelf/:id",name:"卡券管理",component:function(){return n.e(0).then(n.bind(null,"jr9A"))},meta:{path:"/card/shelf"}},{path:"check",name:"核销纠错",component:function(){return n.e(0).then(n.bind(null,"iKY/"))},meta:{path:"/card/check"}},{path:"destroy",name:"卡券销毁",component:function(){return n.e(0).then(n.bind(null,"3TWO"))},meta:{path:"/card/destroy"}},{path:"store",name:"核销门店",component:function(){return n.e(0).then(n.bind(null,"Swg8"))},meta:{path:"/card/store"}},{path:"hhrecord",name:"核销记录",component:function(){return n.e(0).then(n.bind(null,"Kofs"))},meta:{path:"/card/hhrecord",keepAlive:!0},children:[]},{path:"hhrecord/storeDetails",name:"核销明细",component:function(){return n.e(0).then(n.bind(null,"hAiK"))},meta:{type:"info",path:"/card/hhrecord/storeDetails"}}]},{path:"ecm",name:"智能营销管理",component:function(){return n.e(3).then(n.bind(null,"RNga"))},redirect:"/ecm/list",children:[{path:"log",name:"操作日志",component:function(){return n.e(3).then(n.bind(null,"7ADJ"))},meta:{path:"/ecm/list"}},{path:"copy/:id",name:"智能营销新增",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"copy",path:"/ecm/list"}},{path:"list",name:"智能营销",component:function(){return n.e(3).then(n.bind(null,"ojyS"))},meta:{path:"/ecm/list"}},{path:"edit/:id",name:"智能营销编辑",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"edit",path:"/ecm/list"}},{path:"info/:id",name:"智能营销详情",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"info",path:"/ecm/list"}},{path:"add",name:"智能营销新增",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"add",path:"/ecm/list"}},{path:"batchlist/:id",name:"批次提交日志",component:function(){return n.e(3).then(n.bind(null,"98VA"))},meta:{path:"/ecm/list"}},{path:"oncelist/:id",name:"提交日志",component:function(){return n.e(3).then(n.bind(null,"xXaw"))},meta:{path:"/ecm/list",type:"once"}},{path:"currentlist/:id",name:"提交日志",component:function(){return n.e(3).then(n.bind(null,"xXaw"))},meta:{path:"/ecm/list",type:"currrent"}},{path:"touch/:id",name:"触达效果",component:function(){return n.e(3).then(n.bind(null,"NQOp"))},meta:{path:"/ecm/list",type:"info"}},{path:"clue",name:"线索页",component:function(){return n.e(3).then(n.bind(null,"gu9i"))},meta:{path:"/ecm/list",type:"info"}}]},{path:"scan",name:"扫码营销管理",component:function(){return n.e(6).then(n.bind(null,"JMjO"))},redirect:"/scan/list",children:[{path:"list",name:"营销计划",component:function(){return n.e(6).then(n.bind(null,"Ur49"))},meta:{path:"/scan/list"}},{path:"history-list",name:"历史营销计划",component:function(){return n.e(6).then(n.bind(null,"rg+T"))},meta:{path:"/scan/list"}},{path:"edit/:id",name:"营销计划编辑",component:function(){return n.e(6).then(n.bind(null,"Rjlj"))},meta:{type:"edit",path:"/scan/list"}},{path:"info/:id",name:"scanInfo",component:function(){return n.e(6).then(n.bind(null,"Rjlj"))},meta:{aliasName:"营销计划详情",type:"info",path:"/scan/list"}},{path:"add",name:"营销计划新增",component:function(){return n.e(6).then(n.bind(null,"Rjlj"))},meta:{type:"add",path:"/scan/list"}},{path:"log",name:"扫码营销日志",component:function(){return n.e(6).then(n.bind(null,"L6Pk"))},meta:{type:"add",path:"/scan/log"}},{path:"currentlist/:id",name:"扫码营销记录",component:function(){return n.e(6).then(n.bind(null,"jzwd"))},meta:{type:"add",path:"/scan/list"}}]},{path:"game",name:"游戏营销",component:function(){return n.e(1).then(n.bind(null,"CXKa"))},redirect:"game/dzp",children:[{path:"dzp",name:"大转盘",component:function(){return n.e(1).then(n.bind(null,"1d6k"))},meta:{path:"/game/dzp"}},{path:"dzp/add",name:"大转盘新增",component:function(){return n.e(1).then(n.bind(null,"eqZc"))},meta:{type:"add",path:"/game/dzp"}},{path:"dzp/edit/:id",name:"大转盘编辑",component:function(){return n.e(1).then(n.bind(null,"eqZc"))},meta:{type:"edit",path:"/game/dzp"}},{path:"dzp/detail/:id",name:"大转盘查看",component:function(){return n.e(1).then(n.bind(null,"eqZc"))},meta:{type:"info",path:"/game/dzp"}},{path:"dzp/record/:id",name:"大转盘中奖记录",component:function(){return n.e(1).then(n.bind(null,"Ldr5"))},meta:{path:"/game/dzp"}},{path:"ggk",name:"刮刮卡",component:function(){return n.e(1).then(n.bind(null,"ZTEa"))},meta:{path:"/game/ggk"}},{path:"ggk/add",name:"刮刮卡新增",component:function(){return n.e(1).then(n.bind(null,"XXMV"))},meta:{type:"add",path:"/game/ggk"}},{path:"ggk/edit/:id",name:"刮刮卡编辑",component:function(){return n.e(1).then(n.bind(null,"XXMV"))},meta:{type:"edit",path:"/game/ggk"}},{path:"ggk/detail/:id",name:"刮刮卡详情",component:function(){return n.e(1).then(n.bind(null,"XXMV"))},meta:{type:"info",path:"/game/ggk"}},{path:"ggk/record/:id",name:"刮刮卡中奖记录",component:function(){return n.e(1).then(n.bind(null,"phno"))},meta:{path:"/game/ggk"}},{path:"ptyx",name:"拼图游戏",component:function(){return n.e(1).then(n.bind(null,"HenM"))},meta:{path:"/game/ptyx"}},{path:"ptyx/add",name:"拼图游戏新增",component:function(){return n.e(1).then(n.bind(null,"Xpoy"))},meta:{type:"add",path:"/game/ptyx"}},{path:"ptyx/edit/:id",name:"拼图游戏编辑",component:function(){return n.e(1).then(n.bind(null,"Xpoy"))},meta:{type:"edit",path:"/game/ptyx"}},{path:"ptyx/query/:id",name:"拼图游戏详情",component:function(){return n.e(1).then(n.bind(null,"Xpoy"))},meta:{type:"query",path:"/game/ptyx"}},{path:"ptyx/record/:id",name:"拼图游戏统计",component:function(){return n.e(1).then(n.bind(null,"7bHf"))},meta:{path:"/game/ptyx"}},{path:"znm",name:"找你马",component:function(){return n.e(1).then(n.bind(null,"X38y"))},meta:{path:"/game/znm"}},{path:"znm/add",name:"找你马新增",component:function(){return n.e(1).then(n.bind(null,"QL2a"))},meta:{type:"add",path:"/game/znm"}},{path:"znm/edit/:id",name:"找你马编辑",component:function(){return n.e(1).then(n.bind(null,"QL2a"))},meta:{type:"edit",path:"/game/znm"}},{path:"znm/info/:id",name:"找你马查看",component:function(){return n.e(1).then(n.bind(null,"QL2a"))},meta:{type:"info",path:"/game/znm"}},{path:"znm/record/:id",name:"找你马统计",component:function(){return n.e(1).then(n.bind(null,"3DMo"))},meta:{path:"/game/znm"}},{path:"klfl",name:"口令福利",component:function(){return n.e(1).then(n.bind(null,"5r99"))},meta:{path:"/game/klfl"}},{path:"klfl/add",name:"口令福利新增",component:function(){return n.e(1).then(n.bind(null,"CjT2"))},meta:{type:"add",path:"/game/klfl"}},{path:"klfl/edit/:id",name:"口令福利编辑",component:function(){return n.e(1).then(n.bind(null,"CjT2"))},meta:{type:"edit",path:"/game/klfl"}},{path:"klfl/info/:id",name:"口令福利查看",component:function(){return n.e(1).then(n.bind(null,"CjT2"))},meta:{type:"info",path:"/game/klfl"}},{path:"klfl/record/:id",name:"口令福利中奖记录",component:function(){return n.e(1).then(n.bind(null,"q3A4"))},meta:{path:"/game/klfl"}},{path:"cmh",name:"拆盲盒列表",component:function(){return n.e(1).then(n.bind(null,"ADvk"))},meta:{}},{path:"cmh/statistics/:id",name:"拆盲盒数据统计",component:function(){return n.e(1).then(n.bind(null,"29n7"))}},{path:"cmh/statistics/activityDetail/:id",name:"拆盲盒数据统计-活动明细",component:function(){return n.e(1).then(n.bind(null,"ZNLM"))}},{path:"cmh/statistics/prizeDetail/:id",name:"拆盲盒数据统计-奖品明细",component:function(){return n.e(1).then(n.bind(null,"tbjl"))}}]},{path:"message",name:"短信营销",component:function(){return n.e(4).then(n.bind(null,"Rf88"))},meta:{},redirect:"message/record",children:[{path:"record",name:"短信群发",component:function(){return n.e(4).then(n.bind(null,"m/Ue"))},meta:{path:"/message/record"}},{path:"temp",name:"模板库",component:function(){return n.e(4).then(n.bind(null,"vKXu"))},meta:{path:"/message/temp"}},{path:"temp/add",name:"新增模板",component:function(){return n.e(4).then(n.bind(null,"Omet"))},meta:{type:"add",path:"/message/temp"}},{path:"temp/edit/:id",name:"编辑模板",component:function(){return n.e(4).then(n.bind(null,"Omet"))},meta:{type:"edit",path:"/message/temp"}},{path:"record/add",name:"新建群发",component:function(){return n.e(4).then(n.bind(null,"t03Z"))},meta:{path:"/message/record"}},{path:"record/detail/:id",name:"短信群发详情",component:function(){return n.e(4).then(n.bind(null,"pUPn"))},meta:{path:"/message/record"}},{path:"import-send",name:"导入发送列表",component:function(){return n.e(4).then(n.bind(null,"IiZZ"))},meta:{path:"/message/import-send"}},{path:"import-send/add",name:"手工导入群发",component:function(){return n.e(4).then(n.bind(null,"F3Il"))},meta:{type:"add",path:"/message/import-send"}},{path:"import-send/info/:id",name:"手工导入群发详情",component:function(){return n.e(4).then(n.bind(null,"iDQe"))},meta:{type:"info",path:"/message/import-send"}},{path:"black-list",name:"黑名单管理",component:function(){return n.e(4).then(n.bind(null,"9LQo"))},meta:{path:"/message/black-list"}}]},{path:"wechat",name:"微信营销",component:function(){return n.e(2).then(n.bind(null,"GoPy"))},redirect:"wechat/record",meta:{},children:[{path:"record",name:"发送记录",component:function(){return n.e(2).then(n.bind(null,"a0ui"))},meta:{path:"/wechat/record"}},{path:"record/add",name:"新建群发",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"add",path:"/wechat/record"}},{path:"record/edit/:id",name:"编辑群发",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"edit",path:"/wechat/record"}},{path:"record/info/:id",name:"群发详情",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"info",path:"/wechat/record"}},{path:"record/add/:id",name:"使用图文群发",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"imgText",path:"/wechat/temp/imgtext"}},{path:"editor/:id",name:"编辑图文",component:function(){return n.e(2).then(n.bind(null,"QEOn"))},meta:{type:"edit",path:"/wechat/temp/imgtext"}},{path:"editor",name:"新建图文",component:function(){return n.e(2).then(n.bind(null,"QEOn"))},meta:{type:"add",path:"/wechat/temp/imgtext"}},{path:"check-imgtext/:id",name:"查看图文",component:function(){return n.e(2).then(n.bind(null,"QEOn"))},meta:{type:"edit",path:"/wechat/temp/check-imgtext"}},{path:"temp",name:"素材库",component:function(){return n.e(2).then(n.bind(null,"fWJl"))},redirect:"temp/imgtext",meta:{},children:[{path:"imgtext",name:"图文草稿箱",component:function(){return n.e(2).then(n.bind(null,"ka1i"))},meta:{path:"/wechat/temp/imgtext"}},{path:"imgtextpublic",name:"图文发布列表",component:function(){return n.e(2).then(n.bind(null,"N2ap"))},meta:{path:"/wechat/temp/imgtextpublic"}},{path:"img",name:"图片",component:function(){return n.e(2).then(n.bind(null,"ZUet"))},meta:{path:"/wechat/temp/img"}},{path:"audio",name:"语音",component:function(){return n.e(2).then(n.bind(null,"A1L3"))},meta:{path:"/wechat/temp/audio"}},{path:"video",name:"视频",component:function(){return n.e(2).then(n.bind(null,"5DNQ"))},meta:{path:"/wechat/temp/video"}},{path:"video/add",name:"新增视频",component:function(){return n.e(2).then(n.bind(null,"Rbih"))},meta:{type:"add",path:"/wechat/temp/video"}},{path:"video/edit/:id",name:"编辑视频",component:function(){return n.e(2).then(n.bind(null,"Rbih"))},meta:{type:"edit",path:"/wechat/temp/video"}}]}]},{path:"msg",name:"模板消息",component:function(){return n.e(13).then(n.bind(null,"gI6u"))},redirect:"msg/list",children:[{path:"list",name:"模板消息列表",component:function(){return n.e(13).then(n.bind(null,"MdEU"))},meta:{path:"/msg/list"}},{path:"edit/:id",name:"模板消息编辑",component:function(){return n.e(13).then(n.bind(null,"pxje"))},meta:{path:"/msg/list"}}]},{path:"calllog",name:"通话记录",component:function(){return n.e(15).then(n.bind(null,"11WH"))},meta:{},redirect:"calllog/index",children:[{path:"index",name:"通话记录",component:function(){return n.e(15).then(n.bind(null,"XqLc"))},meta:{}},{path:"record",name:"录音存储设置",component:function(){return n.e(15).then(n.bind(null,"H+9m"))},meta:{}}]},{path:"recharge",name:"计费中心面板",component:function(){return n.e(7).then(n.bind(null,"EZjq"))},redirect:"recharge/board",children:[{path:"board",name:"计费中心",component:function(){return n.e(7).then(n.bind(null,"9abB"))}},{path:"record",name:"记录",component:function(){return n.e(7).then(n.bind(null,"rlG3"))}},{path:"consume/:type",name:"消费详情",component:function(){return n.e(7).then(n.bind(null,"GPYb"))}},{path:"do",name:"充值",component:function(){return n.e(7).then(n.bind(null,"rgIz"))}},{path:"accountDetail",name:"账户明细",component:function(){return n.e(7).then(n.bind(null,"+EZP"))}}]},{path:"evaluation",name:"服务监督",component:function(){return n.e(10).then(n.bind(null,"+Awc"))},redirect:"/evaluation/manage",children:[{path:"index",name:"最新评价",redirect:"/evaluation/manage",meta:{path:"/evaluation/manage"}},{path:"manage",name:"评价管理",component:function(){return n.e(10).then(n.bind(null,"+iJ0"))},meta:{path:"/evaluation/manage"}},{path:"bad/:type",name:"差评详情",component:function(){return n.e(10).then(n.bind(null,"Hw3u"))},meta:{type:"bad",path:"/evaluation/charts"}},{path:"suggestion",name:"投诉与建议",component:function(){return n.e(10).then(n.bind(null,"yeLf"))},meta:{path:"/evaluation/suggestion"}},{path:"suggestion/:id",name:"投诉与建议处理",component:function(){return n.e(10).then(n.bind(null,"8Bnp"))},meta:{path:"/evaluation/suggestion"}},{path:"suggestion/info/:id",name:"投诉与建议处理",component:function(){return n.e(10).then(n.bind(null,"8Bnp"))},meta:{type:"info",path:"/evaluation/suggestion"}}]},{path:"ewash",name:"e袋洗",component:function(){return n.e(5).then(n.bind(null,"Bleg"))},meta:{},redirect:"ewash/list",children:[{path:"list",name:"e袋洗服务",component:function(){return n.e(5).then(n.bind(null,"rHor"))},meta:{}},{path:"add",name:"新增卡券",component:function(){return n.e(5).then(n.bind(null,"DA1x"))},meta:{type:"add",path:"/ewash/list"}},{path:"edit/:id",name:"编辑卡券",component:function(){return n.e(5).then(n.bind(null,"DA1x"))},meta:{type:"edit",path:"/ewash/list"}},{path:"analysis/:id",name:"e袋洗卡券报表",component:function(){return n.e(5).then(n.bind(null,"G68r"))},meta:{path:"/ewash/list"}},{path:"statements",name:"e袋洗账单",component:function(){return n.e(5).then(n.bind(null,"XdXy"))},meta:{path:"/ewash/store"}},{path:"statements/detail/:id",name:"e袋洗账单详情",component:function(){return n.e(5).then(n.bind(null,"3nEF"))},meta:{path:"/ewash/store"}},{path:"addgroupsend/:id",name:"e袋洗投放",component:function(){return n.e(0).then(n.bind(null,"Ds9D"))},meta:{type:"send",path:"/ewash/list"}},{path:"info/:id",name:"e袋洗详情",component:function(){return n.e(0).then(n.bind(null,"DA1x"))},meta:{type:"info",path:"/ewash/list"}},{path:"copy/:id",name:"e袋洗复制",component:function(){return n.e(0).then(n.bind(null,"DA1x"))},meta:{type:"copy",path:"/ewash/list"}},{path:"store",name:"门店管理",component:function(){return n.e(5).then(n.bind(null,"MA0A"))},meta:{}}]},{path:"activity",name:"数据对话管理",component:function(){return n.e(8).then(n.bind(null,"sZNU"))},redirect:"/activity/list",children:[{path:"list",name:"数据对话厅",component:function(){return n.e(8).then(n.bind(null,"EvGm"))},meta:{path:"/activity/list"}},{path:"edit/:id",name:"数据对话编辑",component:function(){return n.e(8).then(n.bind(null,"UY5f"))},meta:{type:"edit",path:"/activity/list"}},{path:"add",name:"数据对话新增",component:function(){return n.e(8).then(n.bind(null,"UY5f"))},meta:{type:"add",path:"/activity/list"}},{path:"history-list",name:"历史数据对话",component:function(){return n.e(8).then(n.bind(null,"vSUq"))},meta:{path:"/activity/list"}},{path:"data-view/:id",name:"数据概览",component:function(){return n.e(8).then(n.bind(null,"65hV"))},meta:{path:"/activity/list"}}]},{path:"cdKey",name:"兑换码管理",component:function(){return n.e(11).then(n.bind(null,"BPmr"))},redirect:"/cdKey/list",children:[{path:"list",name:"兑换码列表",component:function(){return n.e(11).then(n.bind(null,"UsD7"))},meta:{path:"/cdKey/list"}},{path:"add",name:"新建兑换码",component:function(){return n.e(11).then(n.bind(null,"oqbS"))},meta:{type:"add",path:"/cdKey/list"}},{path:"info/:id",name:"兑换码详情",component:function(){return n.e(11).then(n.bind(null,"oqbS"))},meta:{type:"info",path:"/cdKey/list"}},{path:"edit/:id",name:"编辑兑换码",component:function(){return n.e(11).then(n.bind(null,"oqbS"))},meta:{type:"edit",path:"/cdKey/list"}},{path:"record/list",name:"兑换记录",component:function(){return n.e(11).then(n.bind(null,"wFKx"))}}]},{path:"popup",name:"弹窗推广",component:function(){return n.e(12).then(n.bind(null,"mHPh"))},redirect:"/popup/list",children:[{path:"list",name:"计划列表",component:function(){return n.e(12).then(n.bind(null,"0LIb"))},meta:{path:"/popup/list"}},{path:"add",name:"新建计划",component:function(){return n.e(12).then(n.bind(null,"U6bx"))}},{path:"edit",name:"编辑计划",component:function(){return n.e(12).then(n.bind(null,"U6bx"))}}]},{path:"sign",name:"门店签到管理",component:function(){return n.e(9).then(n.bind(null,"RQuk"))},redirect:"/sign/list",children:[{path:"setting",name:"门店签到设置",component:function(){return n.e(9).then(n.bind(null,"CYWX"))},meta:{path:"/sign/setting"}},{path:"setting/edit",name:"门店签到设置",component:function(){return n.e(9).then(n.bind(null,"CYWX"))},meta:{path:"/sign/setting/edit"}},{path:"setting/check",name:"门店签到设置",component:function(){return n.e(9).then(n.bind(null,"CYWX"))},meta:{path:"/sign/setting/check"}},{path:"list",name:"门店签到记录",component:function(){return n.e(9).then(n.bind(null,"aEym"))},meta:{path:"/sign/list"}},{path:"plan",name:"门店签到计划",component:function(){return n.e(9).then(n.bind(null,"NqcB"))},meta:{path:"/sign/plan"}}]},{path:"ai",name:"ai营销",component:function(){return n.e(21).then(n.bind(null,"PIjF"))},meta:{},redirect:"ai/list",children:[{path:"list",name:"列表",component:function(){return n.e(18).then(n.bind(null,"glKb"))},meta:{keepAlive:!0}},{path:"add/:scene",name:"新增活动详情",component:function(){return n.e(14).then(n.bind(null,"+e2V"))},meta:{type:"add"}},{path:"edit/:id",name:"编辑活动详情",component:function(){return n.e(14).then(n.bind(null,"+e2V"))},meta:{type:"edit"}},{path:"info/:id",name:"活动详情",component:function(){return n.e(20).then(n.bind(null,"bA12"))},meta:{type:"info"}},{path:"copy/:id",name:"复制活动",component:function(){return n.e(14).then(n.bind(null,"+e2V"))},meta:{type:"copy"}},{path:"logs/:id",name:"提交日志",component:function(){return n.e(19).then(n.bind(null,"Tdec"))}},{path:"ai-data-report/:id",name:"数据统计",component:function(){return n.e(16).then(n.bind(null,"DvWW"))}},{path:"ai-data-detail/:id",name:"详情",component:function(){return n.e(17).then(n.bind(null,"A8XR"))}}]}]}].concat(l()(it),[{path:"/401",name:"未授权",component:I},{path:"/403",name:"禁止访问",component:b},{path:"/500",name:"系统错误",component:W},{path:"/limit",name:"页面限流",component:g},{path:"*",name:"未知领域",component:k}]),ut=n("IcnI"),st=n("OMN4"),ot=n.n(st);console.log(at),s.a.use(r.a);var rt=new r.a({base:"/marketing/",routes:at,scrollBehavior:function(t,e,n){if(n&&t.meta.keepAlive)return n;var i=document.querySelector(".layout-right");i&&i.scrollTo(0,0)}});rt.beforeEach(function(t,e,n){var i=t.path;a()(t.params).map(function(e){i=i.replace(t.params[e],":"+e)}),ot.a.get("/api-plug/rate-limit?requestPath="+i+"&enterpriseId="+ut.a.state.marketing.enterpriseId).then(function(e){1==e.data.resultCode?(ut.a.commit("updateLimit",!0),n({path:"/limit"})):(ut.a.commit("updateLimit",!1),"/limit"==t.path&&n("/"),n())}).catch(function(){n()})});e.a=rt},"c+mG":function(t,e){},hKdl:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAbLklEQVR4nO3d2XLjSJYm4B/7SnCRqCUyMrpresy6uq9q+v0foy/KrKcqayo2SVxAYl8c7nMBKlISIWVIIkGAPJ9ZmtIy0yJckfzlDsfx41KcFgKEkFbIhx4AIaeEAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIi9RDD+DUlKxCljPkBUNWMGQ5Q8kqcC5QcQHOOSRZgiLLUGQJmqrA0FWYhgpz81VTlUN/G+SNpDgtxKEHcezygsEPUiRZiSDKoaoKFFWBqihQVRmKLEOSJMiyBEmSIIQAFwKCC3AuwKoKjP3+l+casE0NY8+CodPPzD6hwO0JqzjWYYbFOkGaMZimDk1ToWsqFOXtK/mq4ihKhrJkyLIClqnibGhjODChvuPXJe2gwO0Yqzjmfozv8wimocGyDGiqClmWdv57cS5QMoY0zZHlBa7PBzgfOxS8DqPA7QjnAjM/xrdZANsy4djmu2ay16qqCnGSI0kzfJh6mE4cyNLuQ07ehwK3A4tVgn988+E6FhzbgKIcblODVRWSJEMUZ/jXD2OcjeyDjYVso8C9Q1FWuJmHC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3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44Ig0KCS8+DQo8L3N2Zz4NCg=="},pRNm:function(t,e){t.exports=VueRouter},ta6F:function(t,e){},tzYu:function(t,e,n){"use strict";n.d(e,"k",function(){return a}),n.d(e,"b",function(){return u}),n.d(e,"l",function(){return s}),n.d(e,"g",function(){return o}),n.d(e,"d",function(){return r}),n.d(e,"i",function(){return c}),n.d(e,"h",function(){return l}),n.d(e,"a",function(){return M}),n.d(e,"f",function(){return L}),n.d(e,"e",function(){return d}),n.d(e,"c",function(){return m}),n.d(e,"j",function(){return p});var i=n("6Hqf"),a=function(t){return Object(i.b)("api-marketing/scene-setting-list",t)},u=function(t){return Object(i.b)("api-plug/get-coupon-list",t)},s=function(t){return Object(i.b)("api-admin/store-group-list",t)},o=function(t){return Object(i.b)("api-auth/get-login-user-info",t)},r=function(t){return Object(i.b)("api-marketing/is-show-self?requestProject=marketing",t)},c=function(t){return Object(i.b)("api-marketing/list-enteprise-weimob-shop",t)},l=function(t){return Object(i.b)("api-marketing/list-enteprise-weimob-coupon",t)},M=function(t){return Object(i.b)("api-admin/compress-link",t)},L=function(t){return Object(i.b)("api-admin//get-transfer-link",t)},d=function(t){return Object(i.b)("api-marketing/getEnterpriseSetting",t)},m=function(t){return Object(i.b)("api-marketing/list-qywx-enteprise",t)},p=function(t){return Object(i.b)("api-marketing//need-show-hm-link",t)}},vaXQ:function(t,e){}},[0]);
\ No newline at end of file
webpackJsonp([24],{"/D0m":function(t,e){},0:function(t,e,n){n("j1ja"),t.exports=n("NHnr")},"0xDb":function(t,e,n){"use strict";n.d(e,"h",function(){return c}),n.d(e,"f",function(){return M}),n.d(e,"j",function(){return L}),n.d(e,"k",function(){return d}),n.d(e,"m",function(){return p}),n.d(e,"e",function(){return h}),n.d(e,"n",function(){return j}),n.d(e,"l",function(){return w}),n.d(e,"c",function(){return y}),n.d(e,"d",function(){return f}),n.d(e,"a",function(){return g}),n.d(e,"b",function(){return N}),n.d(e,"g",function(){return C}),n.d(e,"i",function(){return D});var i=n("mvHQ"),a=n.n(i),u=n("BO1k"),s=(n.n(u),n("lRwf")),o=n.n(s),r=n("hKdl"),c=(n.n(r),function(t){0}),l=function(t){return(t*=1)<10?"0"+t:t},M=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd-HH-mm-ss",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t)return n?{y:"",h:""}:"";"number"!=typeof t&&"string"!=typeof t||(t=new Date(t));try{if("string"==typeof t)return n?{y:t,h:""}:t;var i=e.indexOf("yyyy")>=0?l(t.getFullYear()):"",a=e.indexOf("MM")>=0?"-"+l(t.getMonth()+1):"",u=e.indexOf("dd")>=0?"-"+l(t.getDate()):"",s=e.indexOf("HH")>=0?" "+l(t.getHours()):"",o=e.indexOf("mm")>=0?":"+l(t.getMinutes()):"",r=e.indexOf("ss")>=0?":"+l(t.getSeconds()):"";return n?{y:i+a+u,h:s+o+r}:i+a+u+s+o+r}catch(e){return n?{y:t,h:""}:t}},L=function(t){var e={"零":0,"一":1,"二":2,"三":3,"四":4,"五":5,"六":6,"七":7,"八":8,"九":9,"十":10},n="";for(var i in e)t===e[i]&&(n=i);return n},d=function(t){for(var e in t)if(e&&t[e])switch(t[e].constructor){case Array:t[e]=[];break;case String:t[e]="";break;case Number:t[e]=0;break;case Boolean:t[e]=!1;break;default:t[e]=""}};function m(t,e,n){return t[e]=t.splice(n,1,t[e])[0],t}var p=function(t,e){0!=e&&m(t,e,e-1)},h=function(t,e){e!=t.length-1&&m(t,e,e+1)},j=function(t,e){return!t&&(o.a.prototype.$tips({type:"warning",message:e||"内容填写不全"}),!0)},w=function(t,e){var n=0;return function(){var i=+new Date;i-n>t&&(e.apply(this,arguments),n=i)}},y=function(t){if(""==t)return o.a.prototype.$tips({type:"warning",message:"网址不规范,示例:http://www.domain.com"}),!0;return!/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/.test(t)&&(o.a.prototype.$tips({type:"warning",message:"网址不规范,示例:http://www.domain.com"}),!0)},f=function(t){return JSON.parse(a()(t))},g=function(t,e){var n;e=e||200;return function(){var i=this,a=arguments;n&&clearTimeout(n),n=setTimeout(function(){n=null,t.apply(i,a)},e)}},N=function(){o.a.prototype.$confirm("当前会员小程序版本过低,请联系达摩运营提审并发布最新版小程序后再次尝试。造成不便,敬请谅解。<div class='mt10'><a href='https://notes.dingtalk.com/p/dy0mVPReOv9yWz89/docs/dy0mVkBMjvxZMG89' target='_blank'>达摩GIC卡券模块更新说明</a></div>","提示",{cancelButtonText:"确定",showConfirmButton:!1,dangerouslyUseHTMLString:!0}).then(function(){}).catch(function(){})},C=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t?new Date(t):new Date;return 1==e&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),2==e&&(n.setHours(23),n.setMinutes(59),n.setSeconds(59),n.setMilliseconds(999)),n.getTime()},D=function(t){return"number"!=typeof t?"- -":t.toString().replace(/\d+/,function(t){return t.replace(/(\d)(?=(\d{3})+$)/g,"$1,")})}},"2i/L":function(t,e){},"2uFj":function(t,e,n){"use strict";n.d(e,"b",function(){return i}),e.a={api:window.location.protocol+"//"+window.location.host+"/"||""};var i=1e5},"6Hqf":function(t,e,n){"use strict";n.d(e,"b",function(){return T});var i=n("//Fk"),a=n.n(i),u=n("mvHQ"),s=n.n(u),o=n("woOf"),r=n.n(o),c=n("ifoU"),l=n.n(c),M=n("2uFj"),L=n("0xDb"),d=n("mw3O"),m=n.n(d),p=n("OMN4"),h=n.n(p),j=n("YaEn"),w=n("IcnI"),y=n("lRwf"),f=n.n(y);n.d(e,"a",function(){return h.a});var g=!1,N=M.a.api,C=[];function D(t){Object(L.h)(t.url+"--end");var e=C.findIndex(function(e){return e===t});e>-1&&C.splice(e,1)}function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"请求错误";switch(t){case 401:g||(window.location.href=M.a.api+"gic-web/"),e="登录失效";break;case 403:e="禁止访问",j.a.push("/403");break;case 408:e="请求超时";break;case 500:e="服务器内部错误";break;case 501:e="功能未实现";break;case 503:e="服务不可用";break;case 504:e="网关错误"}f.a.prototype.$tips({type:"warning",message:e})}h.a.defaults.baseURL=N;var v=new l.a,T=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"POST",o=arguments[5],c={method:u,url:t},l=null;w.a.state.marketing.openFlag||delete e.showSelfFlag,"POST"===u.toLocaleUpperCase()?n?(c.data=e,c.headers={"Content-Type":"application/json"},c.url+=o?"?requestProject=marketing"+o:"?requestProject=marketing"):c.data=m.a.stringify(r()({requestProject:"gic-web"},e)):c.params=r()({requestProject:"gic-web"},e);var M=s()(c);if(v.has(M)){if(!(Date.now()-v.get(M)>1e3))return a.a.reject();v.delete(M)}else v.set(M,Date.now());return new a.a(function(e,n){var a={stamp:Date.now(),url:""+(N+t)};i||(l=setTimeout(function(){var t;t=a,Object(L.h)(t.url+"--begin"),C.push(t)},300)),c.headers=r()({},c.headers||{},{sign:localStorage.getItem("sign")}),h()(c).then(function(t){clearTimeout(l),D(a),0!==t.data.errorCode&&0!=t.data.code?(n(t),t.data.message.indexOf("抱歉")>=0?f.a.prototype.$alert(t.data.message,"提示"):170009==t.data.errorCode&&"核销会员手机号已存在,无法重复添加"==t.data.message||x(t.data.errorCode,t.data.message)):e(t.data)}).catch(function(t){clearTimeout(l),D(a),v.delete(M),t&&x(t.response.status,"接口异常"),n(t)})})}},"6QAZ":function(t,e){},"6zci":function(t,e,n){t.exports=n.p+"static/img/error_500.50c027f.svg"},ASH3:function(t,e,n){t.exports=n.p+"static/img/401.089007e.gif"},"E3+y":function(t,e,n){t.exports=n.p+"static/img/error_404.843a22d.svg"},IcnI:function(t,e,n){"use strict";var i=n("lRwf"),a=n.n(i),u=n("SJI6"),s=n.n(u),o=n("Xxa5"),r=n.n(o),c=n("exGp"),l=n.n(c),M=n("BO1k"),L=n.n(M),d=n("tzYu"),m={state:{enterpriseId:"",limitCodeList:[],isLimit:!1,all:0,storeCardAuth:!1,cartData:[],total:0,leftMenu:[],storeObj:{},layoutTips:"",isShowSelf:!1,openFlag:!1,appletEnable:!1,xsxsFlag:!1,userId:"",departAuth:0,superAdmin:0,keepAlive:[],showLayout:!0},getters:{allProducts:function(t,e,n){return t.all},allCartData:function(t){return t.cartData},getStoreCardAuth:function(t){return t.storeCardAuth},total:function(t){t.total=0;var e=!0,n=!1,i=void 0;try{for(var a,u=L()(t.cartData);!(e=(a=u.next()).done);e=!0){var s=a.value;t.total+=s.price}}catch(t){n=!0,i=t}finally{try{!e&&u.return&&u.return()}finally{if(n)throw i}}return t.total},getLimitCodeList:function(t){return t.limitCodeList},getLimitWechatTemplateMessage:function(t){return t.limitCodeList.some(function(t){return"wxTemplateMessage"==t})},getShowLayout:function(t){return t.showLayout}},actions:{setAll:function(t,e){(0,t.commit)("mutations_setAll",e)},setCartData:function(t,e){(0,t.commit)("mutations_CartData",e)},removecartData:function(t,e){(0,t.commit)("mutations_removeCartData",e)},getIsShowSelfData:function(t){var e=this;return l()(r.a.mark(function t(){var n;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(d.d)();case 2:n=t.sent,e.commit("mutations_auth",n.result);case 4:case"end":return t.stop()}},t,e)}))()}},mutations:{updateAppletEnable:function(t,e){t.appletEnable=!!e},updateLimit:function(t,e){t.isLimit=!!e},updateEnterpriseId:function(t,e){t.enterpriseId=e},mutations_setAll:function(t,e){t.all=e},mutations_CartData:function(t,e){t.cartData.push(e)},mutations_removeCartData:function(t,e){for(var n in t.cartData)t.cartData[n].id===e.id&&t.cartData.splice(n,1)},mutations_auth:function(t,e){var n=e.openFlag,i=e.showFlag;t.isShowSelf=Boolean(i),t.openFlag=Boolean(n)},updateStoreCardAuth:function(t,e){t.storeCardAuth=e},updateLimitCodeList:function(t,e){t.limitCodeList=e},updateSuperAdmin:function(t,e){t.superAdmin=e},updateDepartAuth:function(t,e){t.departAuth=e},updateUserId:function(t,e){t.userId=e},setKeepAlive:function(t,e){t.keepAlive=e},mutations_Layout:function(t,e){t.showLayout=e}}};a.a.use(s.a);e.a=new s.a.Store({modules:{marketing:m}})},JLM7:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("fZjL"),a=n.n(i),u=n("lRwf"),s=n.n(u),o=n("tzYu"),r={name:"App",data:function(){return{include:[],userId:""}},methods:{saveUserId:function(){var t=this;Object(o.g)().then(function(e){if(0===e.errorCode){t.userId=e.result&&e.result.userId;var n=e.result&&e.result.wxaLinkFlag;localStorage.setItem("wxaLinkFlag",n)}})},changeTab:function(){var t=this;document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&Object(o.g)().then(function(e){if(0===e.errorCode){var n=e.result&&e.result.userId,i=e.result&&e.result.enableAccessControl;localStorage.setItem("enableAccessControl",i),t.userId!==n&&(t.userId=n,window.notCache=!0,t.$confirm("当前登录账号已经发生变化,如果您在其他页面已经登录另一个账号,请重新登录!","登录账号变更提示",{confirmButtonText:"重新登录",cancelButtonText:"刷新页面",type:"error"}).then(function(){window.location.href="/gic-web/#/login"}).catch(function(){window.location.href="/report"}))}})})}},created:function(){this.saveUserId(),this.changeTab(),this.$store.dispatch("getIsShowSelfData")}},c={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("keep-alive",{attrs:{include:this.include}},[e("router-view")],1)],1)},staticRenderFns:[]};var l=n("VU/8")(r,c,!1,function(t){n("JLM7")},null,null).exports,M=n("YaEn"),L=n("IcnI"),d=n("6Hqf"),m={bind:function(t,e,n,i){t.val=e.value,t.handler=function(){var e=t.val,n=document.createElement("input");t.appendChild(n),n.value=e,n.select(),document.execCommand("Copy"),t.__vue__.$tips({type:"success",message:"复制成功"}),n.parentNode.removeChild(n)},t.addEventListener("click",t.handler)},update:function(t,e,n,i){t.val=e.value},unbind:function(t){t.removeEventListener("click",t.handler)}},p=n("//Fk"),h=n.n(p),j=n("OMN4"),w=n.n(j),y=n("2uFj");w.a.defaults.withCredentials=!0;var f={inserted:function(t,e){t.addEventListener("change",function(n){if(n.target.value){e.value.loading=!0,console.log(t.files);var i,u,s,o=e.value.limit&&e.value.limit.maxSize?e.value.limit.maxSize:2;if(t.files[0].size>1024*o*1024)return e.value.$tips({type:"warning",message:"上传"+(e.value.fileType.indexOf("image")>=0?"图片":"文件")+"不能大于"+o+"M"}),void(e.value.loading=!1);if(e.value.imgType)if(!e.value.imgType.split("/").includes(t.files[0].type.split("/")[1]))return e.value.$tips({type:"warning",message:"请上传"+e.value.imgType+"类型"}),void(e.value.loading=!1);if(e.value.limit&&e.value.limit.type){var r=e.value.limit,c=r.width,l=r.height;(i=t,u=c,s=l,new h.a(function(t,e){if(i.value){var n=i.files[0],a=new FileReader;a.onload=function(n){var a=n.target.result,o=new Image;o.onload=function(){var n=o.width,a=o.height;u=u||n,s=s||a,n===u&&a===s?t():(i.value="",e(new Error("上传图片尺寸应为"+u+"*"+s)))},o.src=a},a.readAsDataURL(n)}else e()})).then(function(t){M()}).catch(function(t){e.value.$tips({type:"warning",message:t.message}),e.value.loading=!1})}else M()}function M(){e.value.disabled=!0;var n=new FormData;if(n.append(e.value.fileType,t.files[0]),n.append("requestProject","gic-web"),e.value.needExtraParams){var i=e.value.paramsObj||{};a()(i).map(function(t){n.append(t,i[t])})}var u=t.files[0],s=y.a.api+e.value.url;w.a.post(s,n).then(function(t){e.value.loading=!1,0===t.data.errorCode?("/api-plug/upload-img"===e.value.url?(e.value.model.code=t.data.result[0].imageFiledCode,e.value.model.imgUrl=t.data.result[0].qcloudImageUrl):e.value.acceptType&&(e.value.acceptType.includes("csv")||e.value.acceptType.includes("xls")||e.value.acceptType.includes("xlsx"))?e.value.model.code=(new Date).getTime():(e.value.model.code=t.data.result.imageFiledCode,e.value.model.imgUrl=t.data.result.qcloudImageUrl,e.value.model.mediaId=t.data.result.imageMediaId,e.value.model.wxImg=t.data.result.wxImg||t.data.result.imageUrl||""),e.value.$tips({type:"success",message:"上传成功"}),e.value.needAxiosDataBack&&e.value.dataBack(u,t.data.result)):e.value.$tips({type:"error",message:t.data.message||"上传失败"}),e.value.disabled=!1}).catch(function(t){e.value.loading=!1,e.value.disabled=!1,e.value.$tips({type:"error",message:t.message||"上传失败"})})}})}};w.a.defaults.withCredentials=!0;var g={clipboard:m,upload:f,imglibupload:{inserted:function(t,e){t.addEventListener("change",function(){if(t.files[0].size>2097152)e.value.$tips({type:"warning",message:"上传图片不能大于2M"});else{e.value.upLoadDisabled=!0;var n=new FormData;n.append("file",t.files[0]),n.append("requestProject","gic-web"),n.append("wechatImageGroupId",e.value.listParams.wechatImageGroupId||1),w.a.post(y.a.api+"/api-marketing/marketing-wechat-image-save",n).then(function(t){0===t.data.errorCode?(e.value.$tips({type:"success",message:"上传成功"}),e.value.loadImgList()):e.value.$tips({type:"error",message:t.data.message||"上传失败"}),e.value.upLoadDisabled=!1}).catch(function(t){e.value.upLoadDisabled=!1,e.value.$tips({type:"error",message:t.msg||"上传失败"})})}})}},loadmore:{bind:function(t,e,n,i){t.querySelector(".el-select-dropdown .el-select-dropdown__wrap").addEventListener("scroll",function(){Math.floor(this.scrollHeight-this.scrollTop)<=this.clientHeight&&e.value()})}}},N=function(t){t.$nextTick(function(t){document.getElementsByClassName("is-error")[0].scrollIntoView({block:"center",behavior:"smooth"})})};function C(t,e){t.style.position="fixed",t.style.zIndex="2001",t.style.top=e+"px",t.style.display="block"}function D(t,e){var n=t.className;n.includes("fixed")||(t.setAttribute("class",n+" fixed"),C(t,e))}function x(t){var e=t.className,n=e.indexOf("fixed");if(-1!==n){var i=e.substr(0,n-1);t.setAttribute("class",i),function(t){t.style.position="static",t.style.top="0",t.style.zIndex="0",t.style.display="none"}(t)}}function v(t){var e=getComputedStyle(t.getElementsByClassName("el-table__body-wrapper")[0]).width,n=t.getElementsByClassName("el-table__header-wrapper");b.style.width=e;for(var i=0;i<n.length;i++)n[i].style.width=e}var T={},I={},S={},b={};s.a.directive("sticky",{inserted:function(t,e,n){var i=n.componentInstance._uid;window.addEventListener("resize",I[i]=function(){v(t)});var a=document.querySelector(e.value.parent)||document;a.addEventListener("scroll",T[i]=function(){!function(t,e,n){var i=void 0,a=void 0,u=void 0,s=e.lastChild;if(t.tagName){i=e.offsetTop-t.scrollTop-s.offsetHeight;var o=getComputedStyle(t).height;if(u=Number(o.slice(0,o.length-2)),a=n+t.getBoundingClientRect().top,i>u)return}else if(i=e.getBoundingClientRect().top,u=window.innerHeight,a=n,i>document.documentElement.scrollTop+u)return;Math.abs(i)>e.offsetHeight+100||(i<0&&Math.abs(i)>e.offsetHeight?x(s):i<=0?D(s,a):i>0?x(s):Math.abs(i)<e.offsetHeight&&D(s,a))}(a,t,e.value.top)},!0),e.value.parent&&document.addEventListener("scroll",S[i]=function(){var n=t.children[1];"fixed"===getComputedStyle(n).position&&C(n,e.value.top+a.getBoundingClientRect().top)},!0)},componentUpdated:function(t){!function(t){var e=t.getElementsByClassName("el-table__header-wrapper"),n=(b=e[0].cloneNode(!0)).lastChild.lastChild.firstChild.childNodes;if(n.length>1&&!t.lastChild.className.includes("el-table__header-wrapper")){b.style.display="none";for(var i=n?n.length:0,a=0;a<i;a++){var u=n[a].className;u.includes("is-hidden")&&(n[a].className=u.replace("is-hidden",""))}t.appendChild(b)}}(t),v(t)},unbind:function(t,e,n){var i=n.componentInstance._uid;window.removeEventListener("resize",I[i]),(document.querySelector(e.value.parent)||document).removeEventListener("scroll",T[i]),e.value.parent&&document.removeEventListener("scroll",S[i])}}),s.a.config.productionTip=!1,s.a.config.devtools=!1,s.a.prototype.scrollToError=N,s.a.prototype.axios=d.a,s.a.prototype.axios.withCredentials=!0,s.a.prototype.axios.defaults.timeout=5e4,window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,a()(g).map(function(t){return s.a.directive(t,g[t])}),window.$bus=new s.a;var z,A=!1;s.a.prototype.$tips=function(t){var e=t.message,n=void 0===e?"提示":e,i=t.type,a=void 0===i?"success":i;A||(this.$message({message:n,type:a}),A=!0,setTimeout(function(t){A=!1},1e3))},z={createApp:function(){window.getLimit(M.a,"marketing").then(function(){new s.a({el:"#app",router:M.a,store:L.a,components:{App:l},template:"<App/>"})})}}.createApp,window.onload=function(){var t=Object(d.b)("/api-auth/get-login-user-info",{requestProject:"gic-web",f:1}).then(function(t){var e=t.result||{};L.a.commit("updateEnterpriseId",e.enterpriseId),L.a.commit("updateLimitCodeList",e.limitCodeList),L.a.commit("updateSuperAdmin",e.superAdmin),L.a.commit("updateDepartAuth",e.departAuth),L.a.commit("updateUserId",e.userId),L.a.commit("updateStoreCardAuth",2==e.enterpriseDTO.brandType)}),e=Object(d.b)("/api-marketing/opt-coupon-enable",{requestProject:"marketing"}).then(function(t){L.a.commit("updateAppletEnable",t.result||!1)});h.a.all([t,e]).finally(function(){z()})}},OMN4:function(t,e){t.exports=axios},SJI6:function(t,e){t.exports=Vuex},TfHq:function(t,e){},UXIX:function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9I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jQuNSw1NC45LDU0LjcsNTQuOXM1NC43LTI0LjYsNTQuNy01NC45CglDMjQ4LDE0Ny4yLDIyMy41LDEyMi42LDE5My40LDEyMi42eiIvPgo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjEzLjQsMjAyLjZIMTc4Yy0zLDAtNS43LTIuMy01LjctNXYtMjIuMWMwLTMsMi4zLTUsNS43LTVoMS4zdi0yLjNjMC05LDcuNC0xNS43LDE2LjQtMTUuNwoJYzksMCwxNi40LDYuNywxNi40LDE1Ljd2Mi4zaDEuM2MzLDAsNS43LDIuMyw1LjcsNXYyMi4xQzIxOS4xLDIwMC4yLDIxNi40LDIwMi42LDIxMy40LDIwMi42eiBNMTkzLjMsMTg2LjJ2NS43CgljMCwxLjMsMSwyLjMsMi4zLDIuM3MyLjMtMSwyLjMtMi4zdi01LjdjMS4zLTAuNywyLjMtMiwyLjMtMy43YzAtMi4zLTItNC4zLTQuNy00LjNjLTIuNywwLTQuNywyLTQuNyw0LjMKCUMxOTEsMTg0LjIsMTkyLDE4NS41LDE5My4zLDE4Ni4yeiBNMjA3LjQsMTY3LjhjMC02LTUuNC0xMS0xMS43LTExYy02LjQsMC0xMS43LDUtMTEuNywxMXYyLjNoMjMuNFYxNjcuOHoiLz4KPC9zdmc+Cg=="},VBAc:function(t,e,n){"use strict";var i={props:{drawer:{type:Boolean,default:!1},direction:{type:String,default:"rtl"},contentTitle:String},watch:{drawer:function(t){this.$emit("update:drawer",t)}}},a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return"触达效果"==t.contentTitle?n("el-drawer",{attrs:{title:"触达效果说明",visible:t.drawer,modal:!1,direction:t.direction,"custom-class":"touch_drawer h"},on:{"update:visible":function(e){t.drawer=e}}},[n("ul",{staticClass:"content"},[n("li",[t._v("数据更新频率:1天1次")]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("转化收益计算方式")]),t._v(" "),n("p",[t._v("通过智能营销触达到顾客后,顾客在收益有效期内进行消费,会被视为该智能营销计划的转化。"),n("br"),t._v("如:1月1日智能营销计划下发话务任务,让导购联系1月生日会员到店消费,收益有效期设置为14天。导购在1月3日完成任务联系到顾客。如果该顾客在1月17日前来店消费,则将该顾客记入触达顾客转化人数,该顾客消费订单数和金额记入触达顾客订单数和转化收益。"),n("br"),t._v("如果出现补单和退单的情况,时间在七天以内的补单订单,会按照收益计算规则进行统计;时间在七天以内的退单,会按照退单实际情况扣减相应数据。七天之外的退补单不再对已计算转化数据产生影响。")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("计划整体效果")]),t._v(" "),n("p",[t._v("统计整个计划的营销效果。任意一个渠道触达顾客即视为触达。如果计划中多个渠道触达同一个顾客,统计人数时会进行去重,仅计算为1个人。")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("卡券收益")]),t._v(" "),n("p",[t._v("\n ①智能营销计划中投放卡券所产生的营销效果,仅有通过当前智能营销任务发出的卡券才会被统计,其他渠道投放卡券的数据不会包含"),n("br"),t._v("\n ②由于是单独从“卡券”维度统计,因此只要是使用了该计划所发送优惠券的都会计入,即使顾客使用该优惠券的订单超过了收益有效期。比如实际使用该卡券发生在被触达之后很久,远远超过了收益有效期,在此收益模块中,也会将该订单纳入统计,而“计划整体效果”中不会包含该超过了收益有效期的订单相关数据。"),n("br"),t._v("\n ③如果一个顾客使用了多张卡券,在统计单个卡券效果时,会根据实际情况分别计算(这可能导致每个优惠券的数据相加求和大于计划整体)。\n ")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("各渠道触达效果(企微群发任务、话务任务、短信、微信)")]),t._v(" "),n("p",[t._v("\n 计划中触达渠道的营销效果,会对每个触达渠道分别进行统计。"),n("br"),t._v("\n 如果计划中使用了多种触达渠道触达了某个顾客,且该顾客在收益有效期内进行了消费。在统计单个触达渠道的效果时,会在每个触达渠道中都算上该顾客(这可能导致每个渠道的数据相加求和大于计划整体,因为“计划整体”的触达转化效果是会去重的)。"),n("br"),t._v("\n 各触达渠道“实际触达”的定义如下:"),n("br"),t._v("\n ① 群发任务:通过企业微信实际发送群发消息成功即视为触达"),n("br"),t._v("\n ② 短信:运营商返回发送成功的即视为触达。 "),n("br"),t._v("\n ③ 微信:微信发送接口返回成功即视为触达。"),n("br"),t._v("\n ④ 话务:导购完成话务任务(不含放弃)即视为触达。\n ")])])])])]):"智能营销"==t.contentTitle?n("el-drawer",{attrs:{title:"数据说明",visible:t.drawer,modal:!1,direction:t.direction,"custom-class":"touch_drawer h"},on:{"update:visible":function(e){t.drawer=e}}},[n("ul",{staticClass:"content"},[n("li",[t._v("更新频率:营销人次实时统计,其余指标1天更新1次;")]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("营销人次")]),t._v(" "),n("p",[t._v("本次计划各次营销的人数汇总。如计划执行两次,第一次选中10000人使用了2个卡券1个短信,第二次选中相同的10000人使用了群发,整体营销人次为20000")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("计划触达人数")]),t._v(" "),n("p",[t._v("当前智能营销在计划创建时,按照条件圈选的顾客人数。如果当前计划中,通过不同触达方式或不同时间,计划触达同一个顾客,会进行去重统计,仅计算为1个人;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("触达人数")]),t._v(" "),n("p",[t._v("当前智能营销通过指定触达方式,实际触达到的顾客数。如果当前计划中,通过不同触达方式或不同时间,实际触达了同一个顾客,会进行去重统计,仅计算为1个人;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("转化人数")]),t._v(" "),n("p",[t._v("当前智能营销实际触达顾客中,在收益有效期内消费的顾客人数。无论顾客消费了几次,会进行去重统计,仅计算为1个人;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("转化收益")]),t._v(" "),n("p",[t._v("当前智能营销实际触达顾客中,在收益有效期内消费的顾客实付订单金额。只计销售单,不看退货单和换货单。")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("卡券收益")]),t._v(" "),n("p",[t._v("当前智能营销计划发出优惠券后,使用优惠券的订单金额。如果一笔订单使用了超过1张优惠券,该金额仅计算一次;")])])]),t._v(" "),n("li",[n("span",{staticClass:"squre"}),t._v(" "),n("div",{staticClass:"text"},[n("p",[t._v("说明")]),t._v(" "),n("p",[t._v("未开启营销分析开关的,除营销人次外其他指标信息不统计;")])])])])]):t._e()},staticRenderFns:[]};var u=n("VU/8")(i,a,!1,function(t){n("XS6b")},null,null);e.a=u.exports},XS6b:function(t,e){},YaEn:function(t,e,n){"use strict";var i=n("fZjL"),a=n.n(i),u=n("lRwf"),s=n.n(u),o=n("pRNm"),r=n.n(o),c=n("Gu7T"),l=n.n(c),M=n("mw3O"),L=n.n(M),d={name:"vue-gic-aside-menu",props:["collapseFlag","projectName"],data:function(){return{repProjectName:"gic-web",asideHeight:"0px",pathName:"",leftCollapse:!1,leftModuleName:"",menuLeftRouter:[],baseUrl:"",selectMenu:""}},beforeMount:function(){var t=window.location.origin;"-1"!=t.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=t},methods:{handleOpen:function(t,e){},handleSelect:function(t,e){console.log(t),this.selectMenu=t},setNewData:function(t){t.forEach(function(t,e){null==t.level4List||0==t.level4List.length?t.menuUrl="/"+t.menuUrl:t.level4List.forEach(function(t,e){t.menuUrl="/"+t.menuUrl})}),this.menuLeftRouter=t},toRouter:function(t){this.$emit("toLeftRouterView","/"+t)},refreshRoute:function(){this.routePathName=window.location.pathname.split("/")[2],-1!=this.routePathName.indexOf("?")&&(this.routePathName=this.routePathName.split("?")[0]),-1!=this.routePathName.indexOf("/")&&(this.routePathName=this.routePathName.split("/")[0]),this.pathName=this.routePathName,this.getLeftMenu()},getLeftMenu:function(){var t=this,e={project:t.repProjectName,path:t.pathName,requestProject:t.repProjectName};t.axios.post(t.baseUrl+"/api-auth/get-current-memu-data",L.a.stringify(e)).then(function(e){var n=e.data;if(0==n.errorCode){if(!n.result)return;return t.leftModuleName=n.result.level2.menuName,t.setNewData(n.result.leftMenu),t.$route.meta.path?t.selectMenu=t.$route.meta.path:t.selectMenu=t.$route.path,n.result.level4?void(t.selectMenu="/"+n.result.level4.menuUrl):void(n.result.level3&&(t.selectMenu="/"+n.result.level3.menuUrl))}t.$message.error({duration:1e3,message:n.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{collapseFlag:function(t,e){this.leftCollapse=t},projectName:function(t,e){this.repProjectName=t||"gic-web"},$route:function(t){if(t.query.new){var e=t.params.path||t.path;this.handleSelect(e)}}},mounted:function(){this.repProjectName=this.projectName||"gic-web",this.asideHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",this.pathName=window.location.hash.split("/")[1],-1!=this.pathName.indexOf("?")&&(this.pathName=this.pathName.split("?")[0]),this.getLeftMenu(),this.leftCollapse=this.collapseFlag}},m={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"left-aside-contain"},[n("div",{staticClass:"leftBar-wrap"},[n("div",{staticClass:"cardmenu",class:{collapse:t.leftCollapse}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.leftCollapse,expression:"!leftCollapse"}],staticClass:"cardtitle"},[n("span",[t._v(t._s(t.leftModuleName))])]),t._v(" "),n("div",{staticClass:"cardmenu-item"},[n("el-menu",{staticClass:"el-menu-vertical-demo cardmenupanel",staticStyle:{"border-right":"0"},attrs:{"default-active":t.selectMenu,"data-path":"/"+t.$route.path,router:!0,"text-color":"#c0c4cc","active-text-color":"#ffffff",collapse:t.leftCollapse,"unique-opened":""},on:{open:t.handleOpen,select:t.handleSelect}},[t._l(t.menuLeftRouter,function(e,i){return[e.level4List.length>0?n("el-submenu",{key:i,attrs:{index:i+""}},[n("template",{slot:"title"},[n("i",{class:["iconfont","menu-icon",e.iconUrl]}),t._v(" "),n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.menuName))])]),t._v(" "),t._l(e.level4List,function(e,i){return n("el-menu-item",{key:i,staticStyle:{"padding-left":"53px"},attrs:{index:e.menuUrl}},[n("label",{attrs:{slot:"title","data-index":t.$route.path==e.menuUrl&&t.$route.path,"data-path":e.menuUrl},slot:"title"},[t._v(t._s(e.menuName))])])})],2):t._e(),t._v(" "),e.level4List.length?t._e():n("el-menu-item",{key:i,attrs:{index:e.menuUrl}},[n("i",{class:["iconfont","menu-icon",e.iconUrl]}),t._v(" "),n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.menuName))])])]})],2)],1)])])])},staticRenderFns:[]};var p={components:{asideMenu:n("VU/8")(d,m,!1,function(t){n("/D0m")},"data-v-6d698546",null).exports,description:n("VBAc").a},data:function(){return{collapseFlag:!1,projectName:"marketing",leftModulesName:"公众号配置",bodyHeight:0,drawer:!1,direction:"rtl"}},mounted:function(){this.bodyHeight=document.body.clientHeight||document.documentElement.clientHeight},computed:{contentTitle:function(){return this.$route.meta&&this.$route.meta.aliasName||this.$route.name},showDescription:function(){return this.$route.path.indexOf("ecm/list")>=0&&this.$store.state.marketing.xsxsFlag||this.$route.path.indexOf("ecm/touch")>=0}},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTagHandler:function(t){this.collapseFlag=t}},watch:{$route:{handler:function(t){this.drawer=!1},immediate:!0}}},h={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("dm-layout",{attrs:{projectName:this.projectName}},[e("keep-alive",[this.$route.meta.keepAlive?e("router-view"):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():e("router-view")],1)],1)},staticRenderFns:[]};var j=n("VU/8")(p,h,!1,function(t){n("d9be")},null,null).exports,w=n("UXIX"),y=n.n(w),f={name:"pageLimit",data:function(){return{limitImg:y.a}},methods:{}},g={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("img",{attrs:{src:this.limitImg,alt:"限流",width:"400"}}),this._v(" "),e("div",{staticStyle:{"font-size":"16px"}},[this._v("\n 抱歉,页面限流\n ")])])},staticRenderFns:[]};var N=n("VU/8")(f,g,!1,function(t){n("2i/L")},"data-v-60ceaca0",null).exports,C=n("ASH3"),D=n.n(C),x={name:"page401",data:function(){return{errGif:D.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/"}):this.$router.go(-1)}}},v={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"errPage-container"},[n("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),n("el-row",[n("el-col",{attrs:{span:12}},[n("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("Oops!")]),t._v("\n 页面\n "),n("h2",[t._v("你没有权限去该页面")]),t._v(" "),n("h6",[t._v("如有不满请联系你领导")]),t._v(" "),n("ul",{staticClass:"list-unstyled"},[n("li",[t._v("或者你可以去:")]),t._v(" "),n("li",{staticClass:"link-type"},[n("router-link",{attrs:{to:"/report/#/memberSummary"}},[t._v("回首页")])],1),t._v(" "),n("li",{staticClass:"link-type"},[n("router-link",{attrs:{to:"/report/#/memberSummary"}},[t._v("回首页")])],1),t._v(" "),n("li",[n("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),t._v(" "),n("el-col",{attrs:{span:12}},[n("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),n("el-dialog",{attrs:{title:"随便看",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},staticRenderFns:[]};var T=n("VU/8")(x,v,!1,function(t){n("affm")},"data-v-f3f6d572",null).exports,I=n("lx22"),S=n.n(I),b={name:"page403",data:function(){return{img_403:S.a}},computed:{message:function(){return"抱歉,你无权访问该页面"}}},z={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:this.img_403,alt:"403"}})]),this._v(" "),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),e("a",{staticClass:"bullshit__return-home",attrs:{href:"/report/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var A=n("VU/8")(b,z,!1,function(t){n("6QAZ")},"data-v-7eb5b197",null).exports,E=n("E3+y"),O=n.n(E),Q={name:"page404",data:function(){return{img_404:O.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},Y={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),e("a",{staticClass:"bullshit__return-home",attrs:{href:"/report/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var k=n("VU/8")(Q,Y,!1,function(t){n("TfHq")},"data-v-3bf68cf8",null).exports,U=n("6zci"),F=n.n(U),B={name:"page500",data:function(){return{img_500:F.a}},computed:{message:function(){return"抱歉,服务器出错了"}}},G={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[e("div",{staticClass:"wscn-http404"},[e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:this.img_500,alt:"500"}})]),this._v(" "),e("div",{staticClass:"bullshit"},[e("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),e("a",{staticClass:"bullshit__return-home",attrs:{href:"/report/#/memberSummary"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var P=n("VU/8")(B,G,!1,function(t){n("pRMB")},"data-v-02722fc6",null).exports,R=n("Xxa5"),H=n.n(R),W=n("gRE1"),V=n.n(W),J=n("Dd8w"),_=n.n(J),X=n("exGp"),Z=n.n(X),q={name:"ListItem",props:{item:{type:Object,default:function(){return{activityCategoryId:"",categoryName:"",childs:[]}}}},watch:{item:{handler:function(t,e){this.title=t.categoryName,this.list=[].concat(l()(t.childs))},deep:!0,immediate:!0}},data:function(){return{list:[],title:""}},methods:{jump:function(t){var e=t.jumpUrl;if(e)if("hb_m0206"==t.activityCode){var n=window.location.origin+"/"+e+"&hbPage=staffActCode";window.open(n)}else window.location.href=window.location.origin+"/"+e}}},K={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"activity-center-list-item"},[n("header",{staticClass:"item-header"},[n("i",{staticClass:"column-line"}),n("span",{staticClass:"item-header-title"},[t._v(t._s(t.title))])]),t._v(" "),n("div",{staticClass:"flex-wrap"},t._l(t.list,function(e){return n("div",{key:e,staticClass:"card-item",on:{click:function(n){return t.jump(e)}}},[e.activityRemark?n("div",{staticClass:"remark-tag"},[t._v(t._s(e.activityRemark))]):t._e(),t._v(" "),n("el-image",{staticStyle:{width:"40px",height:"40px","margin-right":"12px","border-radius":"8px"},attrs:{src:e.activityImage,fit:"cover"}}),t._v(" "),n("div",{staticClass:"card-right"},[n("p",{staticClass:"card-right-title"},[t._v(t._s(e.activityName))]),t._v(" "),n("p",{staticClass:"card-right-explain"},[t._v(t._s(e.activityExplain))])])],1)}),0)])},staticRenderFns:[]};var $=n("VU/8")(q,K,!1,function(t){n("mSOb")},"data-v-09b681b0",null).exports,tt=n("6Hqf"),et=(n("2uFj").a.api,{components:{ListItem:$},data:function(){return{list:[]}},created:function(){var t=this;this.$store.commit("mutations_breadcrumb",[{name:"营销管理"},{name:"微信营销",path:"/wechat"},{name:"素材库",path:""}]),this.$store.commit("aside_handler",!1),this.$nextTick(function(e){t.$store.commit("aside_handler",!0)})},mounted:function(){this.getLIst()},methods:{getLIst:function(){var t=this;return Z()(H.a.mark(function e(){var n,i,a,u;return H.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s={orderBy:"activity_sort ASC"},Object(tt.b)("api-marketing/marketing/activity/getList",s);case 2:n=e.sent,i=n.result,a=void 0===i?[]:i,console.log(a),u={},a.forEach(function(t){u[t.activityCategoryId]?u[t.activityCategoryId].childs.push(_()({},t)):u[t.activityCategoryId]={activityCategoryId:t.activityCategoryId,categoryName:t.categoryName,childs:[_()({},t)]}}),t.list=V()(u);case 9:case"end":return e.stop()}var s},e,t)}))()}}}),nt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{padding:"20px"}},this._l(this.list,function(t){return e("list-item",{key:t,attrs:{item:t}})}),1)},staticRenderFns:[]},it=[{path:"/game/cmh/add",name:"新建拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"add"}},{path:"/game/cmh/edit/:id",name:"编辑拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"edit"}},{path:"/game/cmh/info/:id",name:"查看拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"info"}},{path:"/game/cmh/copy/:id",name:"复制拆盲盒",component:function(){return n.e(1).then(n.bind(null,"flFV"))},meta:{type:"copy"}}],at=[{path:"/",name:"layout",component:j,redirect:"/marketing-app-list",children:[{path:"/marketing-app-list",name:"营销活动",component:n("VU/8")(et,nt,!1,null,null,null).exports},{path:"card",name:"卡券营销",component:function(){return n.e(0).then(n.bind(null,"bWPM"))},meta:{},redirect:"card/list",children:[{path:"list",name:"卡券库",component:function(){return n.e(0).then(n.bind(null,"ZbHG"))},meta:{path:"/card/list",keepAlive:!0}},{path:"connect-list",name:"卡券关联列表",component:function(){return n.e(22).then(n.bind(null,"bCih"))}},{path:"async-logs",name:"卡券同步错误日志",component:function(){return n.e(0).then(n.bind(null,"0sWI"))}},{path:"record",name:"卡券记录",component:function(){return n.e(0).then(n.bind(null,"u5E1"))},meta:{},redirect:"record/send",children:[{path:"get",name:"领取记录",component:function(){return n.e(0).then(n.bind(null,"XV1t"))},meta:{path:"/card/record/get"}},{path:"give",name:"转赠记录",component:function(){return n.e(0).then(n.bind(null,"Z5v/"))},meta:{}},{path:"send",name:"投放记录",component:function(){return n.e(0).then(n.bind(null,"MbWn"))},meta:{}},{path:"sendInfo/:id",name:"投放记录详情",component:function(){return n.e(0).then(n.bind(null,"rTNG"))},meta:{type:"send",path:"/card/record/send"}},{path:"cache",name:"临时领取记录",component:function(){return n.e(0).then(n.bind(null,"wJVu"))},meta:{}},{path:"refund",name:"退券记录",component:function(){return n.e(0).then(n.bind(null,"e5U4"))},meta:{}},{path:"refund-list",name:"退券记录",component:function(){return n.e(0).then(n.bind(null,"SWGB"))},meta:{}},{path:"recycle-record-detail",name:"卡券积分回收明细",component:function(){return n.e(0).then(n.bind(null,"IpVQ"))},meta:{}}]},{path:"merge",name:"卡券包",component:function(){return n.e(0).then(n.bind(null,"58ok"))},meta:{},redirect:"merge/list",children:[{path:"list",name:"卡券包列表",component:function(){return n.e(0).then(n.bind(null,"QD5B"))},meta:{path:"/card/merge/list"}},{path:"record-list",name:"卡券包领取记录",component:function(){return n.e(0).then(n.bind(null,"ZcC4"))},meta:{path:"/card/merge/record-list"}},{path:"add",name:"新建卡券包",component:function(){return n.e(0).then(n.bind(null,"T+ed"))},meta:{path:"/card/merge/list",type:"add"}},{path:"edit/:id",name:"编辑卡券包",component:function(){return n.e(0).then(n.bind(null,"T+ed"))},meta:{path:"/card/merge/list",type:"edit"}},{path:"info/:id",name:"查看卡券包",component:function(){return n.e(0).then(n.bind(null,"T+ed"))},meta:{path:"/card/merge/list",type:"info"}}]},{path:"groupsend",name:"新建卡券群发",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"add"}},{path:"groupsend/:id",name:"卡券群发",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"edit",path:"/card/record/send"}},{path:"addgroupsend/:id",name:"卡券投放",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"send",path:"/card/list"}},{path:"groupinfo/:id",name:"卡券群发详情",component:function(){return n.e(0).then(n.bind(null,"9ik/"))},meta:{type:"info",path:"/card/record/send"}},{path:"edit/:id",name:"卡券编辑",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"edit",path:"/card/list"}},{path:"info/:id",name:"卡券详情",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"info",path:"/card/list"}},{path:"copy/:id",name:"卡券复制",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"copy",path:"/card/list"}},{path:"add",name:"新增卡券",component:function(){return n.e(0).then(n.bind(null,"2jgo"))},meta:{type:"add",path:"/card/list"}},{path:"analysis/:id",name:"卡券报表",component:function(){return n.e(0).then(n.bind(null,"mnBH"))},meta:{path:"/card/list"}},{path:"shelfanalysis/:id",name:"卡券展架报表",component:function(){return n.e(0).then(n.bind(null,"/FGE"))},meta:{type:"shelf",path:"/card/shelf"}},{path:"shelf",name:"卡券展架",component:function(){return n.e(0).then(n.bind(null,"ry2Z"))},meta:{path:"/card/shelf"}},{path:"shelf/:id",name:"卡券管理",component:function(){return n.e(0).then(n.bind(null,"jr9A"))},meta:{path:"/card/shelf"}},{path:"check",name:"核销纠错",component:function(){return n.e(0).then(n.bind(null,"iKY/"))},meta:{path:"/card/check"}},{path:"destroy",name:"卡券销毁",component:function(){return n.e(0).then(n.bind(null,"3TWO"))},meta:{path:"/card/destroy"}},{path:"store",name:"核销门店",component:function(){return n.e(0).then(n.bind(null,"Swg8"))},meta:{path:"/card/store"}},{path:"hhrecord",name:"核销记录",component:function(){return n.e(0).then(n.bind(null,"Kofs"))},meta:{path:"/card/hhrecord",keepAlive:!0},children:[]},{path:"hhrecord/storeDetails",name:"核销明细",component:function(){return n.e(0).then(n.bind(null,"hAiK"))},meta:{type:"info",path:"/card/hhrecord/storeDetails"}}]},{path:"ecm",name:"智能营销管理",component:function(){return n.e(3).then(n.bind(null,"RNga"))},redirect:"/ecm/list",children:[{path:"log",name:"操作日志",component:function(){return n.e(3).then(n.bind(null,"7ADJ"))},meta:{path:"/ecm/list"}},{path:"copy/:id",name:"智能营销新增",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"copy",path:"/ecm/list"}},{path:"list",name:"智能营销",component:function(){return n.e(3).then(n.bind(null,"ojyS"))},meta:{path:"/ecm/list"}},{path:"edit/:id",name:"智能营销编辑",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"edit",path:"/ecm/list"}},{path:"info/:id",name:"智能营销详情",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"info",path:"/ecm/list"}},{path:"add",name:"智能营销新增",component:function(){return n.e(3).then(n.bind(null,"l4uQ"))},meta:{type:"add",path:"/ecm/list"}},{path:"batchlist/:id",name:"批次提交日志",component:function(){return n.e(3).then(n.bind(null,"98VA"))},meta:{path:"/ecm/list"}},{path:"oncelist/:id",name:"提交日志",component:function(){return n.e(3).then(n.bind(null,"xXaw"))},meta:{path:"/ecm/list",type:"once"}},{path:"currentlist/:id",name:"提交日志",component:function(){return n.e(3).then(n.bind(null,"xXaw"))},meta:{path:"/ecm/list",type:"currrent"}},{path:"touch/:id",name:"触达效果",component:function(){return n.e(3).then(n.bind(null,"NQOp"))},meta:{path:"/ecm/list",type:"info"}},{path:"clue",name:"线索页",component:function(){return n.e(3).then(n.bind(null,"gu9i"))},meta:{path:"/ecm/list",type:"info"}}]},{path:"scan",name:"扫码营销管理",component:function(){return n.e(6).then(n.bind(null,"JMjO"))},redirect:"/scan/list",children:[{path:"list",name:"营销计划",component:function(){return n.e(6).then(n.bind(null,"Ur49"))},meta:{path:"/scan/list"}},{path:"history-list",name:"历史营销计划",component:function(){return n.e(6).then(n.bind(null,"rg+T"))},meta:{path:"/scan/list"}},{path:"edit/:id",name:"营销计划编辑",component:function(){return n.e(6).then(n.bind(null,"Rjlj"))},meta:{type:"edit",path:"/scan/list"}},{path:"info/:id",name:"scanInfo",component:function(){return n.e(6).then(n.bind(null,"Rjlj"))},meta:{aliasName:"营销计划详情",type:"info",path:"/scan/list"}},{path:"add",name:"营销计划新增",component:function(){return n.e(6).then(n.bind(null,"Rjlj"))},meta:{type:"add",path:"/scan/list"}},{path:"log",name:"扫码营销日志",component:function(){return n.e(6).then(n.bind(null,"L6Pk"))},meta:{type:"add",path:"/scan/log"}},{path:"currentlist/:id",name:"扫码营销记录",component:function(){return n.e(6).then(n.bind(null,"jzwd"))},meta:{type:"add",path:"/scan/list"}}]},{path:"game",name:"游戏营销",component:function(){return n.e(1).then(n.bind(null,"CXKa"))},redirect:"game/dzp",children:[{path:"dzp",name:"大转盘",component:function(){return n.e(1).then(n.bind(null,"1d6k"))},meta:{path:"/game/dzp"}},{path:"dzp/add",name:"大转盘新增",component:function(){return n.e(1).then(n.bind(null,"eqZc"))},meta:{type:"add",path:"/game/dzp"}},{path:"dzp/edit/:id",name:"大转盘编辑",component:function(){return n.e(1).then(n.bind(null,"eqZc"))},meta:{type:"edit",path:"/game/dzp"}},{path:"dzp/detail/:id",name:"大转盘查看",component:function(){return n.e(1).then(n.bind(null,"eqZc"))},meta:{type:"info",path:"/game/dzp"}},{path:"dzp/record/:id",name:"大转盘中奖记录",component:function(){return n.e(1).then(n.bind(null,"Ldr5"))},meta:{path:"/game/dzp"}},{path:"ggk",name:"刮刮卡",component:function(){return n.e(1).then(n.bind(null,"ZTEa"))},meta:{path:"/game/ggk"}},{path:"ggk/add",name:"刮刮卡新增",component:function(){return n.e(1).then(n.bind(null,"XXMV"))},meta:{type:"add",path:"/game/ggk"}},{path:"ggk/edit/:id",name:"刮刮卡编辑",component:function(){return n.e(1).then(n.bind(null,"XXMV"))},meta:{type:"edit",path:"/game/ggk"}},{path:"ggk/detail/:id",name:"刮刮卡详情",component:function(){return n.e(1).then(n.bind(null,"XXMV"))},meta:{type:"info",path:"/game/ggk"}},{path:"ggk/record/:id",name:"刮刮卡中奖记录",component:function(){return n.e(1).then(n.bind(null,"phno"))},meta:{path:"/game/ggk"}},{path:"ptyx",name:"拼图游戏",component:function(){return n.e(1).then(n.bind(null,"HenM"))},meta:{path:"/game/ptyx"}},{path:"ptyx/add",name:"拼图游戏新增",component:function(){return n.e(1).then(n.bind(null,"Xpoy"))},meta:{type:"add",path:"/game/ptyx"}},{path:"ptyx/edit/:id",name:"拼图游戏编辑",component:function(){return n.e(1).then(n.bind(null,"Xpoy"))},meta:{type:"edit",path:"/game/ptyx"}},{path:"ptyx/query/:id",name:"拼图游戏详情",component:function(){return n.e(1).then(n.bind(null,"Xpoy"))},meta:{type:"query",path:"/game/ptyx"}},{path:"ptyx/record/:id",name:"拼图游戏统计",component:function(){return n.e(1).then(n.bind(null,"7bHf"))},meta:{path:"/game/ptyx"}},{path:"znm",name:"找你马",component:function(){return n.e(1).then(n.bind(null,"X38y"))},meta:{path:"/game/znm"}},{path:"znm/add",name:"找你马新增",component:function(){return n.e(1).then(n.bind(null,"QL2a"))},meta:{type:"add",path:"/game/znm"}},{path:"znm/edit/:id",name:"找你马编辑",component:function(){return n.e(1).then(n.bind(null,"QL2a"))},meta:{type:"edit",path:"/game/znm"}},{path:"znm/info/:id",name:"找你马查看",component:function(){return n.e(1).then(n.bind(null,"QL2a"))},meta:{type:"info",path:"/game/znm"}},{path:"znm/record/:id",name:"找你马统计",component:function(){return n.e(1).then(n.bind(null,"3DMo"))},meta:{path:"/game/znm"}},{path:"klfl",name:"口令福利",component:function(){return n.e(1).then(n.bind(null,"5r99"))},meta:{path:"/game/klfl"}},{path:"klfl/add",name:"口令福利新增",component:function(){return n.e(1).then(n.bind(null,"CjT2"))},meta:{type:"add",path:"/game/klfl"}},{path:"klfl/edit/:id",name:"口令福利编辑",component:function(){return n.e(1).then(n.bind(null,"CjT2"))},meta:{type:"edit",path:"/game/klfl"}},{path:"klfl/info/:id",name:"口令福利查看",component:function(){return n.e(1).then(n.bind(null,"CjT2"))},meta:{type:"info",path:"/game/klfl"}},{path:"klfl/record/:id",name:"口令福利中奖记录",component:function(){return n.e(1).then(n.bind(null,"q3A4"))},meta:{path:"/game/klfl"}},{path:"cmh",name:"拆盲盒列表",component:function(){return n.e(1).then(n.bind(null,"ADvk"))},meta:{}},{path:"cmh/statistics/:id",name:"拆盲盒数据统计",component:function(){return n.e(1).then(n.bind(null,"29n7"))}},{path:"cmh/statistics/activityDetail/:id",name:"拆盲盒数据统计-活动明细",component:function(){return n.e(1).then(n.bind(null,"ZNLM"))}},{path:"cmh/statistics/prizeDetail/:id",name:"拆盲盒数据统计-奖品明细",component:function(){return n.e(1).then(n.bind(null,"tbjl"))}}]},{path:"message",name:"短信营销",component:function(){return n.e(4).then(n.bind(null,"Rf88"))},meta:{},redirect:"message/record",children:[{path:"record",name:"短信群发",component:function(){return n.e(4).then(n.bind(null,"m/Ue"))},meta:{path:"/message/record"}},{path:"temp",name:"模板库",component:function(){return n.e(4).then(n.bind(null,"vKXu"))},meta:{path:"/message/temp"}},{path:"temp/add",name:"新增模板",component:function(){return n.e(4).then(n.bind(null,"Omet"))},meta:{type:"add",path:"/message/temp"}},{path:"temp/edit/:id",name:"编辑模板",component:function(){return n.e(4).then(n.bind(null,"Omet"))},meta:{type:"edit",path:"/message/temp"}},{path:"record/add",name:"新建群发",component:function(){return n.e(4).then(n.bind(null,"t03Z"))},meta:{path:"/message/record"}},{path:"record/detail/:id",name:"短信群发详情",component:function(){return n.e(4).then(n.bind(null,"pUPn"))},meta:{path:"/message/record"}},{path:"import-send",name:"导入发送列表",component:function(){return n.e(4).then(n.bind(null,"IiZZ"))},meta:{path:"/message/import-send"}},{path:"import-send/add",name:"手工导入群发",component:function(){return n.e(4).then(n.bind(null,"F3Il"))},meta:{type:"add",path:"/message/import-send"}},{path:"import-send/info/:id",name:"手工导入群发详情",component:function(){return n.e(4).then(n.bind(null,"iDQe"))},meta:{type:"info",path:"/message/import-send"}},{path:"black-list",name:"黑名单管理",component:function(){return n.e(4).then(n.bind(null,"9LQo"))},meta:{path:"/message/black-list"}}]},{path:"wechat",name:"微信营销",component:function(){return n.e(2).then(n.bind(null,"GoPy"))},redirect:"wechat/record",meta:{},children:[{path:"record",name:"发送记录",component:function(){return n.e(2).then(n.bind(null,"a0ui"))},meta:{path:"/wechat/record"}},{path:"record/add",name:"新建群发",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"add",path:"/wechat/record"}},{path:"record/edit/:id",name:"编辑群发",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"edit",path:"/wechat/record"}},{path:"record/info/:id",name:"群发详情",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"info",path:"/wechat/record"}},{path:"record/add/:id",name:"使用图文群发",component:function(){return n.e(2).then(n.bind(null,"LZho"))},meta:{type:"imgText",path:"/wechat/temp/imgtext"}},{path:"editor/:id",name:"编辑图文",component:function(){return n.e(2).then(n.bind(null,"QEOn"))},meta:{type:"edit",path:"/wechat/temp/imgtext"}},{path:"editor",name:"新建图文",component:function(){return n.e(2).then(n.bind(null,"QEOn"))},meta:{type:"add",path:"/wechat/temp/imgtext"}},{path:"check-imgtext/:id",name:"查看图文",component:function(){return n.e(2).then(n.bind(null,"QEOn"))},meta:{type:"edit",path:"/wechat/temp/check-imgtext"}},{path:"temp",name:"素材库",component:function(){return n.e(2).then(n.bind(null,"fWJl"))},redirect:"temp/imgtext",meta:{},children:[{path:"imgtext",name:"图文草稿箱",component:function(){return n.e(2).then(n.bind(null,"ka1i"))},meta:{path:"/wechat/temp/imgtext"}},{path:"imgtextpublic",name:"图文发布列表",component:function(){return n.e(2).then(n.bind(null,"N2ap"))},meta:{path:"/wechat/temp/imgtextpublic"}},{path:"img",name:"图片",component:function(){return n.e(2).then(n.bind(null,"ZUet"))},meta:{path:"/wechat/temp/img"}},{path:"audio",name:"语音",component:function(){return n.e(2).then(n.bind(null,"A1L3"))},meta:{path:"/wechat/temp/audio"}},{path:"video",name:"视频",component:function(){return n.e(2).then(n.bind(null,"5DNQ"))},meta:{path:"/wechat/temp/video"}},{path:"video/add",name:"新增视频",component:function(){return n.e(2).then(n.bind(null,"Rbih"))},meta:{type:"add",path:"/wechat/temp/video"}},{path:"video/edit/:id",name:"编辑视频",component:function(){return n.e(2).then(n.bind(null,"Rbih"))},meta:{type:"edit",path:"/wechat/temp/video"}}]}]},{path:"msg",name:"模板消息",component:function(){return n.e(13).then(n.bind(null,"gI6u"))},redirect:"msg/list",children:[{path:"list",name:"模板消息列表",component:function(){return n.e(13).then(n.bind(null,"MdEU"))},meta:{path:"/msg/list"}},{path:"edit/:id",name:"模板消息编辑",component:function(){return n.e(13).then(n.bind(null,"pxje"))},meta:{path:"/msg/list"}}]},{path:"calllog",name:"通话记录",component:function(){return n.e(15).then(n.bind(null,"11WH"))},meta:{},redirect:"calllog/index",children:[{path:"index",name:"通话记录",component:function(){return n.e(15).then(n.bind(null,"XqLc"))},meta:{}},{path:"record",name:"录音存储设置",component:function(){return n.e(15).then(n.bind(null,"H+9m"))},meta:{}}]},{path:"recharge",name:"计费中心面板",component:function(){return n.e(7).then(n.bind(null,"EZjq"))},redirect:"recharge/board",children:[{path:"board",name:"计费中心",component:function(){return n.e(7).then(n.bind(null,"9abB"))}},{path:"record",name:"记录",component:function(){return n.e(7).then(n.bind(null,"rlG3"))}},{path:"consume/:type",name:"消费详情",component:function(){return n.e(7).then(n.bind(null,"GPYb"))}},{path:"do",name:"充值",component:function(){return n.e(7).then(n.bind(null,"rgIz"))}},{path:"accountDetail",name:"账户明细",component:function(){return n.e(7).then(n.bind(null,"+EZP"))}}]},{path:"evaluation",name:"服务监督",component:function(){return n.e(10).then(n.bind(null,"+Awc"))},redirect:"/evaluation/manage",children:[{path:"index",name:"最新评价",redirect:"/evaluation/manage",meta:{path:"/evaluation/manage"}},{path:"manage",name:"评价管理",component:function(){return n.e(10).then(n.bind(null,"+iJ0"))},meta:{path:"/evaluation/manage"}},{path:"bad/:type",name:"差评详情",component:function(){return n.e(10).then(n.bind(null,"Hw3u"))},meta:{type:"bad",path:"/evaluation/charts"}},{path:"suggestion",name:"投诉与建议",component:function(){return n.e(10).then(n.bind(null,"yeLf"))},meta:{path:"/evaluation/suggestion"}},{path:"suggestion/:id",name:"投诉与建议处理",component:function(){return n.e(10).then(n.bind(null,"8Bnp"))},meta:{path:"/evaluation/suggestion"}},{path:"suggestion/info/:id",name:"投诉与建议处理",component:function(){return n.e(10).then(n.bind(null,"8Bnp"))},meta:{type:"info",path:"/evaluation/suggestion"}}]},{path:"ewash",name:"e袋洗",component:function(){return n.e(5).then(n.bind(null,"Bleg"))},meta:{},redirect:"ewash/list",children:[{path:"list",name:"e袋洗服务",component:function(){return n.e(5).then(n.bind(null,"rHor"))},meta:{}},{path:"add",name:"新增卡券",component:function(){return n.e(5).then(n.bind(null,"DA1x"))},meta:{type:"add",path:"/ewash/list"}},{path:"edit/:id",name:"编辑卡券",component:function(){return n.e(5).then(n.bind(null,"DA1x"))},meta:{type:"edit",path:"/ewash/list"}},{path:"analysis/:id",name:"e袋洗卡券报表",component:function(){return n.e(5).then(n.bind(null,"G68r"))},meta:{path:"/ewash/list"}},{path:"statements",name:"e袋洗账单",component:function(){return n.e(5).then(n.bind(null,"XdXy"))},meta:{path:"/ewash/store"}},{path:"statements/detail/:id",name:"e袋洗账单详情",component:function(){return n.e(5).then(n.bind(null,"3nEF"))},meta:{path:"/ewash/store"}},{path:"addgroupsend/:id",name:"e袋洗投放",component:function(){return n.e(0).then(n.bind(null,"Ds9D"))},meta:{type:"send",path:"/ewash/list"}},{path:"info/:id",name:"e袋洗详情",component:function(){return n.e(0).then(n.bind(null,"DA1x"))},meta:{type:"info",path:"/ewash/list"}},{path:"copy/:id",name:"e袋洗复制",component:function(){return n.e(0).then(n.bind(null,"DA1x"))},meta:{type:"copy",path:"/ewash/list"}},{path:"store",name:"门店管理",component:function(){return n.e(5).then(n.bind(null,"MA0A"))},meta:{}}]},{path:"activity",name:"数据对话管理",component:function(){return n.e(8).then(n.bind(null,"sZNU"))},redirect:"/activity/list",children:[{path:"list",name:"数据对话厅",component:function(){return n.e(8).then(n.bind(null,"EvGm"))},meta:{path:"/activity/list"}},{path:"edit/:id",name:"数据对话编辑",component:function(){return n.e(8).then(n.bind(null,"UY5f"))},meta:{type:"edit",path:"/activity/list"}},{path:"add",name:"数据对话新增",component:function(){return n.e(8).then(n.bind(null,"UY5f"))},meta:{type:"add",path:"/activity/list"}},{path:"history-list",name:"历史数据对话",component:function(){return n.e(8).then(n.bind(null,"vSUq"))},meta:{path:"/activity/list"}},{path:"data-view/:id",name:"数据概览",component:function(){return n.e(8).then(n.bind(null,"65hV"))},meta:{path:"/activity/list"}}]},{path:"cdKey",name:"兑换码管理",component:function(){return n.e(11).then(n.bind(null,"BPmr"))},redirect:"/cdKey/list",children:[{path:"list",name:"兑换码列表",component:function(){return n.e(11).then(n.bind(null,"UsD7"))},meta:{path:"/cdKey/list"}},{path:"add",name:"新建兑换码",component:function(){return n.e(11).then(n.bind(null,"oqbS"))},meta:{type:"add",path:"/cdKey/list"}},{path:"info/:id",name:"兑换码详情",component:function(){return n.e(11).then(n.bind(null,"oqbS"))},meta:{type:"info",path:"/cdKey/list"}},{path:"edit/:id",name:"编辑兑换码",component:function(){return n.e(11).then(n.bind(null,"oqbS"))},meta:{type:"edit",path:"/cdKey/list"}},{path:"record/list",name:"兑换记录",component:function(){return n.e(11).then(n.bind(null,"wFKx"))}}]},{path:"popup",name:"弹窗推广",component:function(){return n.e(12).then(n.bind(null,"mHPh"))},redirect:"/popup/list",children:[{path:"list",name:"计划列表",component:function(){return n.e(12).then(n.bind(null,"0LIb"))},meta:{path:"/popup/list"}},{path:"add",name:"新建计划",component:function(){return n.e(12).then(n.bind(null,"U6bx"))}},{path:"edit",name:"编辑计划",component:function(){return n.e(12).then(n.bind(null,"U6bx"))}}]},{path:"sign",name:"门店签到管理",component:function(){return n.e(9).then(n.bind(null,"RQuk"))},redirect:"/sign/list",children:[{path:"setting",name:"门店签到设置",component:function(){return n.e(9).then(n.bind(null,"CYWX"))},meta:{path:"/sign/setting"}},{path:"setting/edit",name:"门店签到设置",component:function(){return n.e(9).then(n.bind(null,"CYWX"))},meta:{path:"/sign/setting/edit"}},{path:"setting/check",name:"门店签到设置",component:function(){return n.e(9).then(n.bind(null,"CYWX"))},meta:{path:"/sign/setting/check"}},{path:"list",name:"门店签到记录",component:function(){return n.e(9).then(n.bind(null,"aEym"))},meta:{path:"/sign/list"}},{path:"plan",name:"门店签到计划",component:function(){return n.e(9).then(n.bind(null,"NqcB"))},meta:{path:"/sign/plan"}}]},{path:"ai",name:"ai营销",component:function(){return n.e(21).then(n.bind(null,"PIjF"))},meta:{},redirect:"ai/list",children:[{path:"list",name:"列表",component:function(){return n.e(18).then(n.bind(null,"glKb"))},meta:{keepAlive:!0}},{path:"add/:scene",name:"新增活动详情",component:function(){return n.e(14).then(n.bind(null,"+e2V"))},meta:{type:"add"}},{path:"edit/:id",name:"编辑活动详情",component:function(){return n.e(14).then(n.bind(null,"+e2V"))},meta:{type:"edit"}},{path:"info/:id",name:"活动详情",component:function(){return n.e(20).then(n.bind(null,"bA12"))},meta:{type:"info"}},{path:"copy/:id",name:"复制活动",component:function(){return n.e(14).then(n.bind(null,"+e2V"))},meta:{type:"copy"}},{path:"logs/:id",name:"提交日志",component:function(){return n.e(19).then(n.bind(null,"Tdec"))}},{path:"ai-data-report/:id",name:"数据统计",component:function(){return n.e(16).then(n.bind(null,"DvWW"))}},{path:"ai-data-detail/:id",name:"详情",component:function(){return n.e(17).then(n.bind(null,"A8XR"))}}]}]}].concat(l()(it),[{path:"/401",name:"未授权",component:T},{path:"/403",name:"禁止访问",component:A},{path:"/500",name:"系统错误",component:P},{path:"/limit",name:"页面限流",component:N},{path:"*",name:"未知领域",component:k}]),ut=n("IcnI"),st=n("OMN4"),ot=n.n(st);console.log(at),s.a.use(r.a);var rt=new r.a({base:"/marketing/",routes:at,scrollBehavior:function(t,e,n){if(n&&t.meta.keepAlive)return n;var i=document.querySelector(".layout-right");i&&i.scrollTo(0,0)}});rt.beforeEach(function(t,e,n){var i=t.path;a()(t.params).map(function(e){i=i.replace(t.params[e],":"+e)}),ot.a.get("/api-plug/rate-limit?requestPath="+i+"&enterpriseId="+ut.a.state.marketing.enterpriseId).then(function(e){1==e.data.resultCode?(ut.a.commit("updateLimit",!0),n({path:"/limit"})):(ut.a.commit("updateLimit",!1),"/limit"==t.path&&n("/"),n())}).catch(function(){n()})});e.a=rt},affm:function(t,e){},d9be:function(t,e){},hKdl:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAbLklEQVR4nO3d2XLjSJYm4B/7SnCRqCUyMrpresy6uq9q+v0foy/KrKcqayo2SVxAYl8c7nMBKlISIWVIIkGAPJ9ZmtIy0yJckfzlDsfx41KcFgKEkFbIhx4AIaeEAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIi9RDD+DUlKxCljPkBUNWMGQ5Q8kqcC5QcQHOOSRZgiLLUGQJmqrA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sMC4xLDAuOSwwLjRjMC40LDAuNCwwLjUsMSwwLjMsMS41Yy0wLjIsMC41LTAuNywwLjgtMS4yLDAuOEg5OS4xCgljLTAuNywwLTEuMy0wLjYtMS4zLTEuM0M5Ny44LDI2NS4zLDk4LjQsMjY0LjYsOTkuMiwyNjQuNiIvPgo8cGF0aCBjbGFzcz0ic3QzIiBkPSJNMjM1LDk1Ljh2OC4xYzAsMC43LTAuNiwxLjMtMS4zLDEuM3MtMS4zLTAuNi0xLjMtMS4zdi04LjFjMC0wLjcsMC42LTEuMywxLjMtMS40QzIzNC40LDk0LjQsMjM1LDk1LDIzNSw5NS44IgoJLz4KPC9zdmc+Cg=="},mSOb:function(t,e){},pRMB:function(t,e){},pRNm:function(t,e){t.exports=VueRouter},tzYu:function(t,e,n){"use strict";n.d(e,"k",function(){return a}),n.d(e,"b",function(){return u}),n.d(e,"l",function(){return s}),n.d(e,"g",function(){return o}),n.d(e,"d",function(){return r}),n.d(e,"i",function(){return c}),n.d(e,"h",function(){return l}),n.d(e,"a",function(){return M}),n.d(e,"f",function(){return L}),n.d(e,"e",function(){return d}),n.d(e,"c",function(){return m}),n.d(e,"j",function(){return p});var i=n("6Hqf"),a=function(t){return Object(i.b)("api-marketing/scene-setting-list",t)},u=function(t){return Object(i.b)("api-plug/get-coupon-list",t)},s=function(t){return Object(i.b)("api-admin/store-group-list",t)},o=function(t){return Object(i.b)("api-auth/get-login-user-info",t)},r=function(t){return Object(i.b)("api-marketing/is-show-self?requestProject=marketing",t)},c=function(t){return Object(i.b)("api-marketing/list-enteprise-weimob-shop",t)},l=function(t){return Object(i.b)("api-marketing/list-enteprise-weimob-coupon",t)},M=function(t){return Object(i.b)("api-admin/compress-link",t)},L=function(t){return Object(i.b)("api-admin//get-transfer-link",t)},d=function(t){return Object(i.b)("api-marketing/getEnterpriseSetting",t)},m=function(t){return Object(i.b)("api-marketing/list-qywx-enteprise",t)},p=function(t){return Object(i.b)("api-marketing//need-show-hm-link",t)}}},[0]);
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,o){for(var f,d,i,b=0,u=[];b<r.length;b++)d=r[b],t[d]&&u.push(t[d][0]),t[d]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,o);u.length;)u.shift()();if(o)for(b=0;b<o.length;b++)i=a(a.s=o[b]);return i};var r={},t={25:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,a.nc&&o.setAttribute("nonce",a.nc),o.src=a.p+"static/js/"+({0:"card",1:"game",2:"wechat",3:"ecm",4:"message",5:"ewash",6:"scan",7:"recharge",8:"activity",9:"signIn",10:"evaluation",11:"cdKey",12:"popup",13:"msg",15:"calllog"}[e]||e)+"."+{0:"5d2ede048cfee4cc5433",1:"4bae1568fe34f4ea4acc",2:"78a893a3285592901952",3:"8377db0e099eba1396f3",4:"0b6df975902b2901ba96",5:"1ff85c307f9e68524f34",6:"3efd46da76515f4cc198",7:"fed72fe4c42bb8d8d839",8:"442031faa4ebb0041149",9:"84b91fefa20d9462504c",10:"0756ab734cd7ddc9e1b3",11:"f0c61288632fe8432bef",12:"542c4ddb036b0917ab07",13:"200e6bfe2fb2f86c8231",14:"3fce568e31fac1e807d2",15:"7e607494d8968aef74ab",16:"0da77f92b8d1ab2e6dff",17:"6b3ebc28621b084bd224",18:"759a98067ceda319dbac",19:"ffdbfa6a1416f79f5183",20:"586426db4db60db953da",21:"3b70c426e7cb5384d238",22:"6cd16237471f80ad3676"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,c.appendChild(o),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="/marketing/",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,t,f){for(var o,d,i,u=0,b=[];u<n.length;u++)d=n[u],r[d]&&b.push(r[d][0]),r[d]=0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(c&&c(n,t,f);b.length;)b.shift()();if(f)for(u=0;u<f.length;u++)i=a(a.s=f[u]);return i};var n={},r={25:0};function a(c){if(n[c])return n[c].exports;var r=n[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var c=r[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var n=new Promise(function(n,a){c=r[e]=[n,a]});c[2]=n;var t=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,a.nc&&f.setAttribute("nonce",a.nc),f.src=a.p+"static/js/"+({0:"card",1:"game",2:"wechat",3:"ecm",4:"message",5:"ewash",6:"scan",7:"recharge",8:"activity",9:"signIn",10:"evaluation",11:"cdKey",12:"popup",13:"msg",15:"calllog"}[e]||e)+"."+{0:"9087df6bec6608c0cf1c",1:"7507fdeff5c0867480a7",2:"a08dcea210c405f15338",3:"03e2031b9c8a1d95ef49",4:"fc4509562d17ebde0b58",5:"3a925198ae35e1df36dc",6:"8d36dfdbdf6214abd9ce",7:"d259c778d6f869fb526a",8:"f5b84fca6e4b27f9cc2b",9:"9f02fe507eaa1df7c34d",10:"05805c828212ef57fdf6",11:"f25cae76efda1e5b1836",12:"00c2a41159b68b655669",13:"caf9643b6d00dcf7247a",14:"ca36a50fa1c81a514a25",15:"f29792f3f1c01d3fc460",16:"889437e1413d6e9f6eeb",17:"99b27815f3d7b860fa94",18:"5392b1baea956710be94",19:"fe0036eb8f61ebf5eccf",20:"5a52b9833dcb22f70ce5",21:"bcdc75ff51ab2d95ee5e",22:"182b107280d4efbe9603"}[e]+".js";var o=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(o);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return f.onerror=f.onload=d,t.appendChild(f),n},a.m=e,a.c=n,a.d=function(e,c,n){a.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},a.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(c,"a",c),c},a.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},a.p="/marketing/",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([9],{"1alW":function(e,t,i){var a=i("kM2E");a(a.S,"Number",{isInteger:i("AKgy")})},"9qFR":function(e,t){},AKgy:function(e,t,i){var a=i("EqjI"),r=Math.floor;e.exports=function(e){return!a(e)&&isFinite(e)&&r(e)===e}},B4Ie:function(e,t,i){"use strict";i.d(t,"c",function(){return n}),i.d(t,"d",function(){return o}),i.d(t,"f",function(){return l}),i.d(t,"e",function(){return c}),i.d(t,"a",function(){return u}),i.d(t,"b",function(){return m});var a=i("6Hqf"),r=i("2uFj"),s="api-marketing/store-sign/",n=(r.a.api,function(e){return Object(a.b)(s+"page-sign-log",e)}),o=function(e){return Object(a.b)(s+"page-sign-plan",e)},l=function(e){return Object(a.b)(s+"save",e)},c=function(e){return Object(a.b)(s+"get-detail",e)},u=function(e){return Object(a.b)(s+"del-sign-plan",e)},m=r.a.api+s+"export-store-sign"},CYWX:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("Xxa5"),r=i.n(a),s=i("Dd8w"),n=i.n(s),o=i("exGp"),l=i.n(o),c=i("woOf"),u=i.n(c),m=i("B4Ie"),M=i("0xDb"),d=i("vzh/"),L={name:"item-card",data:function(){return{formatDateTimeByType:d.a}},props:{item:{type:Object,default:function(){return{}}}},computed:{overdue:function(){var e=this.item,t=e.putEndDate,i=e.putBeginDate;return 0==e.putEffectiveMode&&(new Date>new Date(t)||new Date<new Date(i))}}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dm-card__item__wrap"},[0===e.item.status?a("img",{staticClass:"flag",attrs:{src:i("bbxN"),draggable:"false"}}):e.item.couponStock<=0?a("img",{staticClass:"flag",attrs:{src:i("nmY+"),draggable:"false"}}):e._e(),e._v(" "),a("div",{staticClass:"dm-card__item",style:{background:e.item.cardColor}},[a("div",{staticClass:"inline-block"},[a("el-tooltip",{attrs:{"open-delay":"200",effect:"dark",content:e.item.coupCardId,placement:"top-start"}},[a("p",{staticClass:"dm-card__item__title"},[e._v(e._s(e.item.cardName))])]),e._v(" "),1===e.item.cardEffectiveMode?a("p",{staticClass:"dm-card__item__desc"},[e._v("领取后"+e._s((0===e.item.startDay?"当":"第"+e.item.startDay)+"天,有效天数"+e.item.limitDay)+"天")]):e._e(),e._v(" "),0===e.item.cardEffectiveMode?a("p",{staticClass:"dm-card__item__desc"},[e._v(e._s(e.formatDateTimeByType(e.item.beginDate,"yyyy-MM-dd"))+" 至 "+e._s(e.formatDateTimeByType(e.item.endDate,"yyyy-MM-dd")))]):e._e(),e._v(" "),2===e.item.cardEffectiveMode?a("p",{staticClass:"dm-card__item__desc"},[e._v("投放后当月")]):e._e()],1)]),e._v(" "),a("p",{staticClass:"dm-card__item--bottom"},[a("span",[e._v("适用"+e._s(0===e.item.storeMode?"所有门店":1===e.item.storeMode?"部分分组":"部分门店"))])]),e._v(" "),e.overdue?a("div",{staticClass:"danger-color fz12 mt5"},[a("i",{staticClass:"el-icon-warning mr5 fz12"}),e._v("超过投放期限")]):e._e()])},staticRenderFns:[]};var g=i("VU/8")(L,p,!1,function(e){i("xTaT")},"data-v-235c108d",null).exports,w={name:"item-integral",props:{item:{type:Object,default:function(){return{}}}}},f={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dm-integral__item__wrap"},[[this._m(0),this._v(" "),t("p",{staticClass:"mt15"},[t("span",{staticClass:"fz24 mr5 primary-font-color"},[this._v(this._s(this.item.integralCount))]),this._v(" "),t("span",[this._v("积分")])])]],2)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"fz16"},[this._v("赠送积分"),t("span",{staticClass:"fz12 gray ml20"},[this._v("* 仅支持给开卡会员赠送积分")])])}]},N=i("VU/8")(w,f,!1,null,null,null).exports,h=i("gjhR"),y=i("RRo+"),j=i.n(y),D={name:"lib-integral",props:{item:{type:Object,default:function(){return{}}},show:{type:Boolean,default:!1},integralMultiple:{type:Boolean,default:!1}},data:function(){return{ecmMarketingTypeRelationId:"",old:{},form:{integralCount:"",comName:"integral",integralType:1,multipleNum:void 0},rules:{integralCount:[{required:!0,message:"请输入积分值",trigger:"blur"},{validator:function(e,t,i){j()(t)?t<=0?i(new Error("积分值最小为1")):t>1e6?i(new Error("单次赠送值最大值为1000000")):i():i(new Error("积分值为数字值"))},trigger:"blur"}],multipleNum:[{required:!0,message:"请输入倍数",trigger:"blur"}]},loading:!1}},watch:{reset:function(){this.$refs.form.resetFields()},show:function(e){e?(this.old=n()({},this.item),this.form.integralCount=this.item.integralCount,this.form.multipleNum=this.item.multipleNum||void 0,this.form.integralType=this.item.integralType||1,this.ecmMarketingTypeRelationId=this.item.ecmMarketingTypeRelationId):(this.old={},this.form.integralCount="",this.form.multipleNum=void 0,this.form.integralType=1,this.ecmMarketingTypeRelationId="")}},methods:{close:function(){this.$refs.form.resetFields(),this.$emit("update:show",!1)},addItem:function(){var e=this;this.$refs.form.validate(function(t){t&&(e.integralMultiple&&(e.integralType=e.integralType||1),e.$emit("sendItem",n()({},e.form,{ecmMarketingTypeRelationId:e.ecmMarketingTypeRelationId})),e.close())})}}},S={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:"赠送积分",visible:e.show,width:"420px","close-on-click-modal":!1,"custom-class":"sign-lib-integral-wrap"},on:{"update:visible":function(t){e.show=t},closed:e.close}},[i("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"0"}},[1===e.form.integralType?[i("p",{staticClass:"regular-font-color mb20"},[e._v("请输入需要赠送的积分"),i("span",{staticClass:"fz12 gray ml10"},[e._v("* 仅支持给认证会员赠送积分")])]),e._v(" "),i("el-form-item",{attrs:{prop:"integralCount"}},[i("el-input",{attrs:{maxLength:"7"},model:{value:e.form.integralCount,callback:function(t){e.$set(e.form,"integralCount",e._n(t))},expression:"form.integralCount"}})],1)]:e._e()],2),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.close}},[e._v("关 闭")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addItem}},[e._v("确 定")])],1)],1)},staticRenderFns:[]};var T=i("VU/8")(D,S,!1,function(e){i("Krvo")},null,null).exports,v={name:"opt",props:{options:{type:Array,default:function(){return[]}}},methods:{addItem:function(e){this.$emit("addItem",e)}}},C={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"inline-block dm-marketing__opt"},e._l(e.options,function(t,a){return i("span",{key:a,staticClass:"dm-marketing__opt__item",staticStyle:{display:"inline-block",height:"36px","line-height":"36px","margin-right":"30px",cursor:"pointer"},on:{click:function(i){return e.addItem(t)}}},[i("img",{staticStyle:{"vertical-align":"middle",height:"17px",width:"auto",overflow:"hidden",color:"#909399"},attrs:{src:t.img,alt:"",srcset:""}}),i("span",{staticStyle:{"vertical-align":"middle",color:"#606266","font-size":"14px"}},[e._v(" "+e._s(t.name))])])}),0)},staticRenderFns:[]};var I={storeSignName:"",dateType:1,date:["",""],dateStart:null,dateEnd:null,timeType:1,time:["",""],timeStart:0,timeEnd:0,signInterval:1,storeFilterId:"",signDistance:0,memberSearchType:0,memberSearchId:"",remark:"",prizeType:null,prizeValue:"",prizeId:null},b={name:"sign-setting",components:{opt:i("VU/8")(v,C,!1,function(e){i("fbCr")},"data-v-3ef9f2a4",null).exports,"item-card":g,"item-integral":N,"lib-card":h.a,"lib-integral":T},data:function(){var e=this;return{loading:!1,uuid:"",creatorId:"",showStoreCard:!1,isAdd:!1,canEdit:!1,options:[0,1,2,3,4,5],storeConfig:null,getSaveData:"",brandLogo:"",hasSearchData:"",toggleTag:!1,saveTag:!1,headerList:["isRealTime","latestUpdateTime","updateType","effectiveStatus","effectiveDate"],form:u()({},I),date:[],time:[],prizeOptions:[{name:"卡券",value:"card",key:1,img:i("wlmc")},{name:"积分",value:"integral",key:2,img:i("Ks29")}],optTopShow:!0,dialogCom:"",itemCom:"",prizeItem:{},showDialog:!1,rules:{storeSignName:{validator:function(t,i,a){if(!e.form.storeSignName)return a(new Error("请填写计划名称"));a()},trigger:"blur"},date:{validator:function(t,i,a){if(2===e.form.dateType&&!e.date[0])return a(new Error("请选择指定日期"));a()},trigger:"blur"},time:{validator:function(t,i,a){if(!(2!==e.form.timeType||e.form.timeStart&&e.form.timeEnd))return a(new Error("请选择指定时段"));a()},trigger:"blur"},prizeType:{validator:function(t,i,a){if(!e.form.prizeType)return a(new Error("请选择签到福利"));a()},trigger:"change"}},pickerOptions:{disabledDate:function(e){return e.getTime()<Date.now()-864e5}}}},created:function(){this.$route.query.id?(this.canEdit="/sign/setting/edit"==this.$route.path,this.getDetail()):(this.canEdit=!0,this.isAdd=!0,this.showStoreCard=!0)},methods:{getDetail:function(){var e=this;return l()(r.a.mark(function t(){var i;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(m.e)({storeSignId:e.$route.query.id});case 2:0===(i=t.sent).errorCode&&i.result&&(e.form=n()({},i.result),e.uuid=i.result.storeFilterId,e.brandLogo=i.result.brandLogo,1===e.form.memberSearchType?e.hasSearchData=e.form.memberSearchId||"{}":2===e.form.memberSearchType&&(e.hasSearchData=e.form.memberTagGroupList),e.form.dateType&&e.form.dateStart&&e.form.dateEnd&&(e.date[0]=Object(M.f)(e.form.dateStart,"yyyy-MM-dd"),e.date[1]=Object(M.f)(e.form.dateEnd,"yyyy-MM-dd")),1===e.form.prizeType?(e.prizeItem.integralCount=e.form.prizeValue,e.itemCom="item-integral"):(e.prizeItem=n()({},e.form.coupon),e.itemCom="item-card")),e.showStoreCard=!0;case 5:case"end":return t.stop()}},t,e)}))()},onSubmit:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return e.$message.error("请完善信息"),!1;var i=n()({},e.form);console.log(i),e.uuid&&(i.storeFilterId=e.uuid),2===i.dateType&&(i.dateStart=e.date[0],i.dateEnd=e.date[1],delete i.date),2===i.timeType&&(i.timeStart=i.timeStart.substring(0,i.timeStart.lastIndexOf(":"))+":00",i.timeEnd=i.timeEnd.substring(0,i.timeEnd.lastIndexOf(":"))+":59",delete i.time),1===i.prizeType?delete i.prizeId:delete i.prizeValue,Object(m.f)(i).then(function(t){0===t.errorCode&&(e.$message.success("保存成功"),e.$router.replace("/sign/plan"))})})},getData:function(){this.$refs.peopleFilter.confirmSet()},cancelFilter:function(){this.$refs.peopleFilter.cancelSet()},getBackData:function(e){this.getSaveData=e},findFilter:function(e){this.form.memberSearchId=e},editShow:function(){this.toggleTag=!0,this.saveTag=!1},editHide:function(){this.toggleTag=!1,this.saveTag=!0},hideBtn:function(){this.toggleTag=!1,this.saveTag=!1},handleDataTransferred:function(e){this.form.memberSearchId=e.map(function(e){return e.memberTagGroupId}).filter(function(e){return e}).join(",")},handleDataLeft:function(e,t){this.form.memberSearchId=e.map(function(e){return e.memberTagGroupId}).filter(function(e){return e}).join(",")},showPrizeDialog:function(e){this.dialogCom=e?"lib-card":"lib-integral",this.showDialog=!0},saveToList:function(e){"integral"===e.comName?(this.form.prizeType=1,this.itemCom="item-integral",this.form.prizeValue=e.integralCount,this.prizeItem=e,this.form.prizeId=null):(this.form.prizeType=2,this.itemCom="item-card",this.form.prizeId=e.coupCardId,this.prizeItem=n()({},e,{brandLogo:this.brandLogo}),this.form.prizeValue="")},editItem:function(){this.dialogCom="item-card"===this.itemCom?"lib-card":"lib-integral",this.showDialog=!0},delItem:function(){this.itemCom="",this.prizeItem={},this.form.prizeType=0,this.form.prizeValue="",this.form.prizeId=""},addItem:function(e){this.dialogCom="lib-"+e.value,this.form.prizeValue="",this.form.prizeId="",this.prizeItem={},this.showDialog=!0},gointegralService:function(){window.location.href=window.location.origin+"/gic-web/#/integralService"},timeTypeChange:function(e){this.$refs.form.clearValidate("time"),2===e&&(this.form.timeStart="",this.form.timeEnd="")},dateTypeChange:function(e){this.$refs.form.clearValidate("date"),this.date=1===e?null:[]}},watch:{},computed:{minTime:function(){if(this.form.timeStart){var e=this.form.timeStart.split(":"),t=60*+e[0]*60+60*+e[1],i=t/3600>>0,a=t%3600/60>>0,r=t%3600%60>>0;return(i<10?"0"+i:i+"")+":"+(a<10?"0"+a:a+"")+":"+(r<10?"0"+r:r+"")}return"00:00:00"},maxTime:function(){if(this.form.timeEnd){var e=this.form.timeEnd.split(":"),t=60*+e[0]*60+60*+e[1],i=t/3600>>0,a=t%3600/60>>0,r=t%3600%60>>0;return(i<10?"0"+i:i+"")+":"+(a<10?"0"+a:a+"")+":"+(r<10?"0"+r:r+"")}return"23:59:59"}}},A={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-suffix":":","label-width":"110px"}},[i("el-form-item",{attrs:{label:"计划名称",prop:"storeSignName"}},[i("el-input",{staticClass:"long-input",attrs:{type:"text",maxlength:"20","show-word-limit":""},model:{value:e.form.storeSignName,callback:function(t){e.$set(e.form,"storeSignName",t)},expression:"form.storeSignName"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"签到日期"}},[i("el-radio-group",{staticClass:"pick-radio",on:{change:e.dateTypeChange},model:{value:e.form.dateType,callback:function(t){e.$set(e.form,"dateType",t)},expression:"form.dateType"}},[i("el-radio",{attrs:{label:1}},[e._v("长期生效")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("指定日期")])],1),e._v(" "),i("el-form-item",{staticClass:"date_picker_item",attrs:{prop:"date"}},[2===e.form.dateType?i("el-date-picker",{staticStyle:{width:"294px"},attrs:{"picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}}):e._e()],1)],1),e._v(" "),i("el-form-item",{attrs:{label:"签到时段",prop:"timeType"}},[i("el-radio-group",{staticClass:"pick-radio",on:{change:e.timeTypeChange},model:{value:e.form.timeType,callback:function(t){e.$set(e.form,"timeType",t)},expression:"form.timeType"}},[i("el-radio",{attrs:{label:1}},[e._v("长期生效")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("指定时段")])],1),e._v(" "),2===e.form.timeType?i("el-form-item",{staticClass:"date_picker_item",attrs:{prop:"time"}},[i("el-time-picker",{staticClass:"store-sign-timepicker",staticStyle:{width:"135px"},attrs:{"picker-options":{selectableRange:"00:00:00 - "+e.maxTime},placeholder:"开始时间","value-format":"HH:mm:ss",format:"HH:mm"},model:{value:e.form.timeStart,callback:function(t){e.$set(e.form,"timeStart",t)},expression:"form.timeStart"}}),i("span",{staticStyle:{margin:"0 5px"}},[e._v("至")]),e._v(" "),i("el-time-picker",{staticClass:"store-sign-timepicker",staticStyle:{width:"135px"},attrs:{"picker-options":{selectableRange:e.minTime+" - 23:59:59"},placeholder:"结束时间","value-format":"HH:mm:ss",format:"HH:mm"},model:{value:e.form.timeEnd,callback:function(t){e.$set(e.form,"timeEnd",t)},expression:"form.timeEnd"}})],1):e._e()],1),e._v(" "),i("el-form-item",{attrs:{label:"签到间隔",prop:"signInterval"}},[i("el-radio-group",{staticClass:"sign-time",model:{value:e.form.signInterval,callback:function(t){e.$set(e.form,"signInterval",t)},expression:"form.signInterval"}},[i("el-radio",{attrs:{label:1}},[e._v("每天"),1===e.form.signInterval?i("span",{staticClass:"tips"},[e._v("每个用户每天可在门店签到一次。每天0:00刷新签到次数")]):e._e()]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("每周"),2===e.form.signInterval?i("span",{staticClass:"tips"},[e._v("每个用户每周可在门店签到一次。每周一0:00刷新签到次数")]):e._e()]),e._v(" "),i("el-radio",{attrs:{label:3}},[e._v("每月"),3===e.form.signInterval?i("span",{staticClass:"tips"},[e._v("每个用户每月可在门店签到一次。每月1号0:00刷新签到次数")]):e._e()])],1)],1),e._v(" "),e.showStoreCard?i("el-form-item",{attrs:{label:"签到门店",prop:"storeFilterId"}},[i("vue-gic-store-card",{ref:"storeCard",attrs:{options:e.options,uuid:e.uuid},on:{"update:uuid":function(t){e.uuid=t}}})],1):e._e(),e._v(" "),i("el-form-item",{attrs:{label:"签到距离",prop:"signDistance"}},[i("el-input-number",{staticClass:"shortInput",attrs:{"controls-position":"right",min:100,max:5e3,step:1,"step-strictly":!0},on:{change:e.handleChange},model:{value:e.form.signDistance,callback:function(t){e.$set(e.form,"signDistance",t)},expression:"form.signDistance"}}),i("span",{staticStyle:{"margin-left":"9px"}},[e._v("米")]),e._v(" "),i("span",{staticClass:"tips"},[e._v("*为了保证用户体验,建议设置签到距离为100米,设置范围为100-5000米。")])],1),e._v(" "),i("el-form-item",{attrs:{label:"签到人群",prop:"memberSearchType"}},[i("el-radio-group",{staticClass:"pb20",model:{value:e.form.memberSearchType,callback:function(t){e.$set(e.form,"memberSearchType",t)},expression:"form.memberSearchType"}},[i("el-radio",{attrs:{label:0}},[e._v("全部会员")]),e._v(" "),i("el-radio",{attrs:{label:1}},[e._v("自定义人群")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("会员分组")])],1),e._v(" "),1===e.form.memberSearchType?i("div",{staticStyle:{width:"984px"}},[i("vue-gic-people",{ref:"peopleFilter",attrs:{projectName:"marketing",isAdd:e.isAdd,hasSearchData:e.hasSearchData,sceneValue:e.sceneValue},on:{findFilter:e.findFilter,getBackData:e.getBackData,editHide:e.editHide,editShow:e.editShow,hideBtn:e.hideBtn}}),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.toggleTag,expression:"toggleTag"}],staticClass:"gic-people--button"},[i("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.getData}},[e._v("确 定")]),e._v(" "),i("el-button",{attrs:{size:"small"},on:{click:e.cancelFilter}},[e._v("取 消")])],1)],1):e._e(),e._v(" "),2===e.form.memberSearchType?i("div",[i("vue-gic-member-group",e._b({attrs:{defaltSelected:e.hasSearchData,height:500,projectName:"marketing",headerList:e.headerList},on:{handleDataTransferred:e.handleDataTransferred,handleDataLeft:e.handleDataLeft}},"vue-gic-member-group",e.form.memberSearchId,!1))],1):e._e()],1),e._v(" "),i("el-form-item",{attrs:{label:"签到规则说明",prop:"remark"}},[i("el-input",{staticClass:"long-input textarea-input",attrs:{type:"textarea",resize:"none",rows:"4",maxlength:"1000","show-word-limit":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"签到福利"}},[i("section",{staticClass:"dm-marketing"},[e.itemCom?e._e():i("div",{staticClass:"dm-marketing__opt--wrap",staticStyle:{"margin-bottom":"10px"}},[i("i",{staticClass:"el-icon-plus dm-marketing__opt--icon",on:{click:function(t){e.optTopShow=!e.optTopShow}}}),e._v(" "),i("transition",{attrs:{name:"fade"}},[e.optTopShow?i("opt",{attrs:{options:e.prizeOptions},on:{addItem:e.addItem}}):e._e()],1)],1),e._v(" "),i(e.dialogCom,{tag:"component",attrs:{show:e.showDialog,item:e.prizeItem},on:{"update:show":function(t){e.showDialog=t},sendItem:e.saveToList}}),e._v(" "),e.itemCom&&e.prizeItem?i("div",{staticClass:"dm-marketing__content__item",staticStyle:{padding:"0",margin:"0 0 20px"}},[i(e.itemCom,{tag:"component",attrs:{item:e.prizeItem}}),e._v(" "),i("i",{staticClass:"el-icon-edit dm-marketing__opt--icon",on:{click:e.editItem}}),e._v(" "),i("dm-delete",{on:{confirm:e.delItem}},[i("i",{staticClass:"el-icon-delete dm-marketing__opt--icon"})])],1):e._e(),e._v(" "),i("span",{staticClass:"tips"},[e._v("*支持每人限领张数≥100张的卡券。")])],1),e._v(" "),i("el-form-item",{attrs:{prop:"prizeType"}},[i("el-input",{staticStyle:{display:"none"},attrs:{type:"text"},model:{value:e.form.prizeType,callback:function(t){e.$set(e.form,"prizeType",t)},expression:"form.prizeType"}})],1)],1),e._v(" "),e.canEdit?i("div",{staticStyle:{"font-size":"0"}},[i("el-button",{staticStyle:{margin:"24px 0 50px 111px"},attrs:{type:"primary"},on:{click:function(t){return e.onSubmit("form")}}},[e._v("保存")]),e._v(" "),i("span",{staticClass:"tips"},[e._v("(若使用多个计划需小程序版本升级到3.8.2以上)")])],1):e._e()],1)],1)},staticRenderFns:[]};var x=i("VU/8")(b,A,!1,function(e){i("iVYX"),i("IEAv")},"data-v-c1a95f14",null);t.default=x.exports},IEAv:function(e,t){},IXG6:function(e,t){},Krvo:function(e,t){},Ks29:function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLj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TFsMi0wLjVsNi0xLjVsMS41LTAuNWw0LjUtMS41YzAuNSwwLDEtMC41LDEuNS0wLjVjMS41LTAuNSwyLjUtMSw0LTJsMS0wLjVjMS41LTEsMy41LTEuNSw1LTIuNXMzLTEuNSw0LjUtMi41DQoJbDEtMC41aDAuNWMtMSwxMS0zMC41LDI2LTc3LjUsMjZTMzcuNSwxNzEuNSwzNi41LDE2MC41QzM2LDE2MCwzNiwxNjAuNSwzNi41LDE2MC41TDM2LjUsMTYwLjV6Ii8+DQo8L3N2Zz4NCg=="},NqcB:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("Xxa5"),r=i.n(a),s=i("Dd8w"),n=i.n(s),o=i("exGp"),l=i.n(o),c=i("B4Ie"),u=i("0xDb"),m={name:"sign-record",data:function(){return{loading:!1,projectName:"gic-web",pageParams:{currentPage:1,pageSize:20,state:null},total:0,tableList:[],storeName:"",storeDialog:!1,formatDateTimeByType:u.f}},filters:{memberSearchTypeFilter:function(e){switch(e){case 0:return"全部会员";case 1:return"自定义人群";case 2:return"会员分组";default:return""}},stateFilter:function(e){switch(e){case 0:return"未开始";case 1:return"进行中";case 2:return"已结束";default:return""}}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;return l()(r.a.mark(function t(){var i,a;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,i=n()({},e.pageParams),t.next=5,Object(c.d)(i);case 5:0===(a=t.sent).errorCode&&a.result?(e.tableList=Array.isArray(a.result.result)?a.result.result:[],e.total=a.result.totalCount):(e.tableList=[],e.total=0),e.loading=!1,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),e.loading=!1;case 13:case"end":return t.stop()}},t,e,[[0,10]])}))()},refresh:function(){this.pageParams.currentPage="1",this.fetch()},goAddPlan:function(){this.$router.push("/sign/setting")},delPlan:function(e){var t=this;return l()(r.a.mark(function i(){var a;return r.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,t.loading=!0,a={storeSignId:e.storeSignId},i.next=5,Object(c.a)(a);case 5:0===i.sent.errorCode?(t.$message.success("删除成功"),t.refresh()):t.$message.error("删除失败"),t.loading=!1,i.next=13;break;case 10:i.prev=10,i.t0=i.catch(0),t.loading=!1;case 13:case"end":return i.stop()}},i,t,[[0,10]])}))()},handleSizeChange:function(e){this.pageParams.pageSize=e,this.fetch()},handleCurrentChange:function(e){this.pageParams.currentPage=e,this.fetch()}}},M={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"flex pb20"},[i("div",[i("el-select",{staticClass:"w200",attrs:{placeholder:"计划状态",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.state,callback:function(t){e.$set(e.pageParams,"state",t)},expression:"pageParams.state"}},[i("el-option",{attrs:{value:0,label:"未开始"}}),e._v(" "),i("el-option",{attrs:{value:1,label:"进行中"}}),e._v(" "),i("el-option",{attrs:{value:2,label:"已结束"}})],1),e._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"计划名称",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.storeSignName,callback:function(t){e.$set(e.pageParams,"storeSignName",t)},expression:"pageParams.storeSignName"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingAddSign)?i("el-button",{attrs:{type:"primary","limit-code":e.$buttonCode.marketingAddSign},on:{click:e.goAddPlan}},[e._v("新建计划")]):e._e()],1),e._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"storeSignName",label:"计划名称"}}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"updateTime",label:"最近编辑时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.updateTime,"yyyy-MM-dd-HH-mm",!0).y)),i("br"),e._v("\n "+e._s(e.formatDateTimeByType(t.row.updateTime,"yyyy-MM-dd-HH-mm",!0).h)+"\n ")])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",label:"签到人群"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._f("memberSearchTypeFilter")(t.row.memberSearchType)))]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"state",label:"计划状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._f("stateFilter")(t.row.state)))]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"操作",align:"left",width:"210px",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.marketingEditSign)&&0===t.row.state?i("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingEditSign},on:{click:function(i){return e.$router.push("/sign/setting/edit?id="+t.row.storeSignId+"&canEdit=1")}}},[e._v("编辑")]):i("el-button",{attrs:{type:"text"},on:{click:function(i){return e.$router.push("/sign/setting/check?id="+t.row.storeSignId)}}},[e._v("查看")]),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingDelSign)?i("dm-delete",{attrs:{tips:"是否删除该签到计划?"},on:{confirm:function(i){return e.delPlan(t.row)}}},[i("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingDelSign}},[e._v("删除")])],1):e._e()]}}])})],1),e._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.pageParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]};var d=i("VU/8")(m,M,!1,function(e){i("9qFR")},"data-v-f024b7c2",null);t.default=d.exports},RQuk:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("router-view")],1)},staticRenderFns:[]},r=i("VU/8")({name:"signIn",data:function(){return{}},created:function(){var e=this;this.$store.commit("mutations_breadcrumb",[{name:"门店签到",path:"/signIn"}]),this.$store.commit("aside_handler",!1),this.$nextTick(function(t){e.$store.commit("aside_handler",!0)})}},a,!1,null,null,null);t.default=r.exports},"RRo+":function(e,t,i){e.exports={default:i("c45H"),__esModule:!0}},aEym:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("Xxa5"),r=i.n(a),s=i("Dd8w"),n=i.n(s),o=i("exGp"),l=i.n(o),c=i("B4Ie"),u=i("0xDb"),m={name:"sign-record",data:function(){return{loading:!1,projectName:"gic-web",pageParams:{currentPage:1,pageSize:20,time:""},total:0,tableList:[],storeName:"",storeDialog:!1,dialogVisible:!1,excelUrl:"",params:{}}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;return l()(r.a.mark(function t(){var i,a;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,i=n()({},e.pageParams),e.pageParams.time&&(i.startTime=Object(u.f)(i.time[0],"yyyy-MM-dd"),i.endTime=Object(u.f)(i.time[1],"yyyy-MM-dd"),delete i.time),t.next=6,Object(c.c)(i);case 6:a=t.sent,console.log(a),0===a.errorCode&&a.result?(e.tableList=a.result.result||[],e.total=a.result.totalCount):(e.tableList=[],e.total=0),e.loading=!1,t.next=16;break;case 12:t.prev=12,t.t0=t.catch(0),console.log(3),e.loading=!1;case 16:case"end":return t.stop()}},t,e,[[0,12]])}))()},exportExcel:function(){var e={storeName:this.pageParams.storeName,memberInfo:this.pageParams.memberInfo};this.pageParams.time&&(e.startTime=Object(u.f)(this.pageParams.time[0],"yyyy-MM-dd"),e.endTime=Object(u.f)(this.pageParams.time[1],"yyyy-MM-dd"),delete e.time),this.params=e,this.dialogVisible=!0,this.excelUrl=c.b},refresh:function(){this.pageParams.currentPage="1",this.fetch()},showStoreDialog:function(){this.storeDialog=!0},clearStoreInfo:function(){delete this.pageParams.storeId,this.storeName="",this.refresh()},selectStore:function(e){this.pageParams.storeId=e.storeId,this.storeName=e.storeName||"(门店代码:"+e.storeCode+")",this.storeDialog=!1,this.refresh()},handleSizeChange:function(e){this.pageParams.currentPage=1,this.pageParams.pageSize=e,this.fetch()},handleCurrentChange:function(e){this.pageParams.currentPage=e,this.fetch()},formatDateTimeByType:u.f}},M={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"pb20 clearfix"},[i("el-date-picker",{staticClass:"w250",attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.refresh},model:{value:e.pageParams.time,callback:function(t){e.$set(e.pageParams,"time",t)},expression:"pageParams.time"}}),e._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"请输入门店名称或门店code",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.storeName,callback:function(t){e.$set(e.pageParams,"storeName",t)},expression:"pageParams.storeName"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"会员姓名/手机号/签到计划",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.memberInfo,callback:function(t){e.$set(e.pageParams,"memberInfo",t)},expression:"pageParams.memberInfo"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingExportSign)?i("el-button",{staticClass:"fr",attrs:{type:"primary",icon:"iconfont fz14 icon-cp-xiazai","limit-code":e.$buttonCode.marketingExportSign,size:"small",disabled:!e.total},on:{click:e.exportExcel}},[e._v(" 查询结果导出")]):e._e()],1),e._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"createTime",label:"签到时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.signTime,"yyyy-MM-dd-HH-mm",!0).y)),i("br"),e._v(" "),i("span",[e._v(e._s(e.formatDateTimeByType(t.row.signTime,"yyyy-MM-dd-HH-mm",!0).h))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"storeName",label:"签到门店"}}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",label:"签到会员"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"memberInfo"},[i("img",{attrs:{src:t.row.memberImage||"",alt:""}}),e._v(" "),i("div",[i("p",{staticClass:"cell-memberInfo"},[e._v(e._s(t.row.memberName||" - "))]),e._v(" "),i("p",{staticClass:"cell-memberInfo"},[e._v(e._s(t.row.memberPhone||" - "))])])])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"storeSignName",label:"签到计划名称"}}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",label:"福利类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(1===t.row.prizeType?"积分":"卡券"))]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"prizeTxt",label:"签到福利"}})],1),e._v(" "),i("vue-gic-export-excel",{attrs:{dialogVisible:e.dialogVisible,dataArr:e.tableList,type:2,excelUrl:e.excelUrl,params:e.params,projectName:e.projectName},on:{"update:dialogVisible":function(t){e.dialogVisible=t},"update:dialog-visible":function(t){e.dialogVisible=t}}}),e._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.pageParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]};var d=i("VU/8")(m,M,!1,function(e){i("IXG6")},"data-v-05d097a8",null);t.default=d.exports},bbxN:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NkRFODIxNURBN0NFMTFFQUI0NkVEQTI3NUZGOEU5NTQiIHhtcE1N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+3mOuKW8G8SmYuaiQ0mwAjGFyGwL/g/jZ7WL4ZgWMzHmka/C+vmOg8YgfnTLVOU95zCTAq4JZJ4gtwZWbshC3RbXHeQXQVZbKCS/orhczjatnfEZxcXFqkLKj1SqGIIKg1RIhUEOHvmfAAMAjjaI9QSqt+cAAAAASUVORK5CYII="},c45H:function(e,t,i){i("1alW"),e.exports=i("FeBl").Number.isInteger},fbCr:function(e,t){},gjhR:function(e,t,i){"use strict";var a=i("//Fk"),r=i.n(a),s=i("woOf"),n=i.n(s),o=i("mw3O"),l=i.n(o),c=i("OMN4"),u=i.n(c),m=window.location.origin,M=new VueRouter,d=-1!==m.indexOf("localhost")?"http://www.gicdev.com":m,L=[],p=u.a.create({baseURL:d,timeout:2e4,headers:{"Content-Type":"application/x-www-form-urlencoded"},withCredentials:!0});function g(e){console.log(e.url+"--end");var t=L.findIndex(function(t){return t===e});t>-1&&L.splice(t,1)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"请求错误";switch(e){case 404:t="404,错误请求",M.push("/404");break;case 401:t="登录失效";break;case 403:t="禁止访问",M.push("/403");break;case 408:t="请求超时";break;case 500:t="服务器内部错误";break;case 501:t="功能未实现";break;case 503:t="服务不可用";break;case 504:t="网关错误"}this.$message({type:"warning",message:t})}var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"POST",o={method:s,url:e},c=null;return"POST"===s.toLocaleUpperCase()?i?(o.data=t,o.headers={"Content-Type":"application/json"},o.url+="?requestProject=marketing"):o.data=l.a.stringify(n()({requestProject:"gic-web"},t)):o.params={},new r.a(function(t,i){var r={stamp:Date.now(),url:""+(d+e)};a||(c=setTimeout(function(){var e;e=r,console.log(e.url+"--begin"),L.push(e)},300)),p(o).then(function(e){clearTimeout(c),g(r),0!==e.data.errorCode?(i(e),w(e.data.errorCode,e.data.message)):t(e.data)}).catch(function(e){clearTimeout(c),g(r),e&&w(e.response.status,"接口异常"),i(e)})})},N=i("vzh/"),h={name:"lib-card",props:{show:{type:Boolean,default:!1},cardLimitType:{type:Number,default:3},cardLimit:{type:Number,default:0}},computed:{limitTips:function(){return 1==this.cardLimit?"该选择器可筛选所有限制领取张数>1的卡券,共":2===this.cardLimitType?"领取限制领取1~100的卡券,系统已过滤,符合条件共":3===this.cardLimitType?"领取限制领取<100的卡券不支持选择,系统已过滤,符合条件共":-1===this.cardLimitType?"该选择器可筛选所有领取限制卡券,共":"领取限制>1的卡券不支持选择,系统已过滤,符合条件共"}},data:function(){return{formatDateTimeByType:N.a,cardTypesList:[{value:null,label:"全部"},{value:0,label:"抵金券"},{value:1,label:"折扣券"},{value:2,label:"兑换券"}],listParams:{searchParam:"",currentPage:1,pageSize:5,cardTypes:"",requestProject:"gic-web",cardLimitType:this.cardLimitType,cardType:"",cardLimit:this.cardLimit},total:0,tableList:[],selectedData:{}}},created:function(){this.$store.getters.getStoreCardAuth&&this.cardTypesList.push({value:3,label:"商场抵金券"}),this.getCardList()},methods:{handleSizeChange:function(e){this.listParams.pageSize=e,this.getCardList()},handleCurrentChange:function(e){this.listParams.currentPage=e,this.getCardList()},getCardList:function(){var e,t=this;this.loading=!0,(e=this.listParams,f("/api-plug/get-coupon-list",e)).then(function(e){0===e.errorCode&&(t.tableList=e.result.result||[],t.total=e.result.totalCount),t.loading=!1})},reset:function(){this.listParams.searchParams="",this.getCardList()},close:function(){this.$emit("update:show",!1)},rowClick:function(e){e.comName="card",this.selectedData=e},addItem:function(){this.selectedData.comName?(this.$emit("sendItem",this.selectedData),this.close()):this.$message({type:"warning",message:"未选择卡券"})},add:function(){window.open("/marketing/#/card/add")},refresh:function(){this.listParams.currentPage=1,this.getCardList()}}},y={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:"选择卡券",visible:e.show,width:"800px","before-close":e.close},on:{"update:visible":function(t){e.show=t}}},[i("div",{staticClass:"clearfix pb10"},[i("div",{staticClass:"fl"},[i("el-input",{staticClass:"w200 mr10",attrs:{clearable:"",placeholder:"请输入卡券名/备注名"},on:{change:e.refresh},model:{value:e.listParams.searchParam,callback:function(t){e.$set(e.listParams,"searchParam",t)},expression:"listParams.searchParam"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),i("el-select",{staticStyle:{width:"120px","margin-right":"10px"},attrs:{placeholder:"卡券类型"},on:{change:e.refresh},model:{value:e.listParams.cardTypes,callback:function(t){e.$set(e.listParams,"cardTypes",t)},expression:"listParams.cardTypes"}},e._l(e.cardTypesList,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),i("span",{staticClass:"fz12 gray"},[e._v(e._s(e.limitTips)+e._s(e.total)+"张。 ")])],1)]),e._v(" "),i("div",{staticStyle:{"font-size":"12px",color:"#909399","line-height":"30px"}},[e._v("* 仅能选择卡券模板投放期限有效的卡券")]),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList,"row-class-name":"cursor-pointer"},on:{"row-click":e.rowClick}},[i("el-table-column",{attrs:{"show-overflow-tooltip":!1,width:"60",align:"center",prop:"coupCardId"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"sms-record_left label-hidden"},[i("el-radio",{staticClass:"pr10",attrs:{label:t.row},model:{value:e.selectedData,callback:function(t){e.selectedData=t},expression:"selectedData"}})],1)]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,width:"140",align:"left",prop:"cardName",label:"卡券名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("p",{staticStyle:{"line-height":"22px"}},[e._v(e._s(t.row.cardName))]),e._v(" "),i("p",{staticStyle:{"line-height":"20px",color:"#909399","font-size":"13px"}},[e._v(e._s(t.row.subName))])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!1,"min-width":"120",align:"left",prop:"createTime",label:"卡券模板投放期限"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.putEffectiveMode?i("span",[e._v(" 固定日期:"+e._s(e.formatDateTimeByType(t.row.putBeginDate,"yyyy-MM-dd"))+" 至 "+e._s(e.formatDateTimeByType(t.row.putEndDate,"yyyy-MM-dd"))+" ")]):i("span",[e._v("长期有效")])]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"",label:"用户使用有效期","min-width":120,"show-overflow-tooltip":!1},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardEffectiveMode?i("div",[e._v("固定日期:"+e._s(e.formatDateTimeByType(t.row.beginDate,"yyyy-MM-dd")+"至"+e.formatDateTimeByType(t.row.endDate,"yyyy-MM-dd")))]):e._e(),e._v(" "),1==t.row.cardEffectiveMode?i("div",[e._v("领取后"+e._s((0===t.row.startDay?"当":"第"+t.row.startDay)+"天,有效天数"+t.row.limitDay)+"天")]):e._e(),e._v(" "),2==t.row.cardEffectiveMode?i("div",[e._v("投放后当月")]):e._e()]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"cardLimit","show-overflow-tooltip":!1,label:"领取限制",width:"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.cardLimit)+"张/人 ")]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!1,width:90,align:"left",prop:"storeMode",label:"适用门店"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0===t.row.storeMode?"所有门店":1===t.row.storeMode?"部分分组":"部分门店")+"\n ")]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!1,width:100,align:"left",prop:"couponStock",label:"库存"}})],1),e._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{"current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.close}},[e._v("关 闭")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addItem}},[e._v("确 定")])],1)],1)},staticRenderFns:[]},j=i("VU/8")(h,y,!1,null,null,null);t.a=j.exports},iVYX:function(e,t){},"nmY+":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NkRFODIxNjFBN0NFMTFFQUI0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t,i){"use strict";i.d(t,"a",function(){return r});var a=function(e){return(e*=1)<10?"0"+e:e},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd-HH-mm-ss";return e?("number"==typeof e&&(e=new Date(e)),"string"==typeof e?e:(t.indexOf("yyyy")>=0?a(e.getFullYear()):"")+(t.indexOf("MM")>=0?"-"+a(e.getMonth()+1):"")+(t.indexOf("dd")>=0?"-"+a(e.getDate()):"")+(t.indexOf("HH")>=0?" "+a(e.getHours()):"")+(t.indexOf("mm")>=0?":"+a(e.getMinutes()):"")+(t.indexOf("ss")>=0?":"+a(e.getSeconds()):"")):""}},wlmc:function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyBmaWxsPSIjOTA5Mzk5IiAgY2xhc3M9Imljb24iIHdpZHRoPSIyMDBweCIgaGVpZ2h0PSIyMDAuMDBweCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xODAuMjI0IDYxMC4zMDRjMCA3Ni44LTU2LjMyIDE0Mi4zMzYtMTMyLjYwOCAxNTMuMDg4djEzNC4xNDRoOTI4LjI1NnYtMTM0LjE0NGMtNzYuMjg4LTEwLjc1Mi0xMzMuMTItNzYuMjg4LTEzMy4xMi0xNTMuMDg4czU2LjMyLTE0Mi4zMzYgMTMzLjEyLTE1My4wODhWMzIzLjA3Mkg0Ny42MTZ2MTM0LjE0NGM3Ni4yODggMTAuNzUyIDEzMi42MDggNzYuMjg4IDEzMi42MDggMTUzLjA4OHpNMy41ODQgNDc3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");a(a.S,"Number",{isInteger:i("AKgy")})},AKgy:function(e,t,i){var a=i("EqjI"),r=Math.floor;e.exports=function(e){return!a(e)&&isFinite(e)&&r(e)===e}},B4Ie:function(e,t,i){"use strict";i.d(t,"c",function(){return n}),i.d(t,"d",function(){return o}),i.d(t,"f",function(){return l}),i.d(t,"e",function(){return c}),i.d(t,"a",function(){return u}),i.d(t,"b",function(){return m});var a=i("6Hqf"),r=i("2uFj"),s="api-marketing/store-sign/",n=(r.a.api,function(e){return Object(a.b)(s+"page-sign-log",e)}),o=function(e){return Object(a.b)(s+"page-sign-plan",e)},l=function(e){return Object(a.b)(s+"save",e)},c=function(e){return Object(a.b)(s+"get-detail",e)},u=function(e){return Object(a.b)(s+"del-sign-plan",e)},m=r.a.api+s+"export-store-sign"},CHzc:function(e,t){},CYWX:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("Xxa5"),r=i.n(a),s=i("Dd8w"),n=i.n(s),o=i("exGp"),l=i.n(o),c=i("woOf"),u=i.n(c),m=i("B4Ie"),d=i("0xDb"),M=i("vzh/"),L={name:"item-card",data:function(){return{formatDateTimeByType:M.a}},props:{item:{type:Object,default:function(){return{}}}},computed:{overdue:function(){var e=this.item,t=e.putEndDate,i=e.putBeginDate;return 0==e.putEffectiveMode&&(new Date>new Date(t)||new Date<new Date(i))}}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dm-card__item__wrap"},[0===e.item.status?a("img",{staticClass:"flag",attrs:{src:i("bbxN"),draggable:"false"}}):e.item.couponStock<=0?a("img",{staticClass:"flag",attrs:{src:i("nmY+"),draggable:"false"}}):e._e(),e._v(" "),a("div",{staticClass:"dm-card__item",style:{background:e.item.cardColor}},[a("div",{staticClass:"inline-block"},[a("el-tooltip",{attrs:{"open-delay":"200",effect:"dark",content:e.item.coupCardId,placement:"top-start"}},[a("p",{staticClass:"dm-card__item__title"},[e._v(e._s(e.item.cardName))])]),e._v(" "),1===e.item.cardEffectiveMode?a("p",{staticClass:"dm-card__item__desc"},[e._v("领取后"+e._s((0===e.item.startDay?"当":"第"+e.item.startDay)+"天,有效天数"+e.item.limitDay)+"天")]):e._e(),e._v(" "),0===e.item.cardEffectiveMode?a("p",{staticClass:"dm-card__item__desc"},[e._v(e._s(e.formatDateTimeByType(e.item.beginDate,"yyyy-MM-dd"))+" 至 "+e._s(e.formatDateTimeByType(e.item.endDate,"yyyy-MM-dd")))]):e._e(),e._v(" "),2===e.item.cardEffectiveMode?a("p",{staticClass:"dm-card__item__desc"},[e._v("投放后当月")]):e._e()],1)]),e._v(" "),a("p",{staticClass:"dm-card__item--bottom"},[a("span",[e._v("适用"+e._s(0===e.item.storeMode?"所有门店":1===e.item.storeMode?"部分分组":"部分门店"))])]),e._v(" "),e.overdue?a("div",{staticClass:"danger-color fz12 mt5"},[a("i",{staticClass:"el-icon-warning mr5 fz12"}),e._v("超过投放期限")]):e._e()])},staticRenderFns:[]};var g=i("VU/8")(L,p,!1,function(e){i("U2U0")},"data-v-931705ac",null).exports,w={name:"item-integral",props:{item:{type:Object,default:function(){return{}}}}},f={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dm-integral__item__wrap"},[[this._m(0),this._v(" "),t("p",{staticClass:"mt15"},[t("span",{staticClass:"fz24 mr5 primary-font-color"},[this._v(this._s(this.item.integralCount))]),this._v(" "),t("span",[this._v("积分")])])]],2)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"fz16"},[this._v("赠送积分"),t("span",{staticClass:"fz12 gray ml20"},[this._v("* 仅支持给开卡会员赠送积分")])])}]},N=i("VU/8")(w,f,!1,null,null,null).exports,h=i("gjhR"),y=i("RRo+"),j=i.n(y),D={name:"lib-integral",props:{item:{type:Object,default:function(){return{}}},show:{type:Boolean,default:!1},integralMultiple:{type:Boolean,default:!1}},data:function(){return{ecmMarketingTypeRelationId:"",old:{},form:{integralCount:"",comName:"integral",integralType:1,multipleNum:void 0},rules:{integralCount:[{required:!0,message:"请输入积分值",trigger:"blur"},{validator:function(e,t,i){j()(t)?t<=0?i(new Error("积分值最小为1")):t>1e6?i(new Error("单次赠送值最大值为1000000")):i():i(new Error("积分值为数字值"))},trigger:"blur"}],multipleNum:[{required:!0,message:"请输入倍数",trigger:"blur"}]},loading:!1}},watch:{reset:function(){this.$refs.form.resetFields()},show:function(e){e?(this.old=n()({},this.item),this.form.integralCount=this.item.integralCount,this.form.multipleNum=this.item.multipleNum||void 0,this.form.integralType=this.item.integralType||1,this.ecmMarketingTypeRelationId=this.item.ecmMarketingTypeRelationId):(this.old={},this.form.integralCount="",this.form.multipleNum=void 0,this.form.integralType=1,this.ecmMarketingTypeRelationId="")}},methods:{close:function(){this.$refs.form.resetFields(),this.$emit("update:show",!1)},addItem:function(){var e=this;this.$refs.form.validate(function(t){t&&(e.integralMultiple&&(e.integralType=e.integralType||1),e.$emit("sendItem",n()({},e.form,{ecmMarketingTypeRelationId:e.ecmMarketingTypeRelationId})),e.close())})}}},T={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:"赠送积分",visible:e.show,width:"420px","close-on-click-modal":!1,"custom-class":"sign-lib-integral-wrap"},on:{"update:visible":function(t){e.show=t},closed:e.close}},[i("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"0"}},[1===e.form.integralType?[i("p",{staticClass:"regular-font-color mb20"},[e._v("请输入需要赠送的积分"),i("span",{staticClass:"fz12 gray ml10"},[e._v("* 仅支持给认证会员赠送积分")])]),e._v(" "),i("el-form-item",{attrs:{prop:"integralCount"}},[i("el-input",{attrs:{maxLength:"7"},model:{value:e.form.integralCount,callback:function(t){e.$set(e.form,"integralCount",e._n(t))},expression:"form.integralCount"}})],1)]:e._e()],2),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.close}},[e._v("关 闭")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addItem}},[e._v("确 定")])],1)],1)},staticRenderFns:[]};var S=i("VU/8")(D,T,!1,function(e){i("mNM3")},null,null).exports,C={name:"opt",props:{options:{type:Array,default:function(){return[]}}},methods:{addItem:function(e){this.$emit("addItem",e)}}},v={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"inline-block dm-marketing__opt"},e._l(e.options,function(t,a){return i("span",{key:a,staticClass:"dm-marketing__opt__item",staticStyle:{display:"inline-block",height:"36px","line-height":"36px","margin-right":"30px",cursor:"pointer"},on:{click:function(i){return e.addItem(t)}}},[i("img",{staticStyle:{"vertical-align":"middle",height:"17px",width:"auto",overflow:"hidden",color:"#909399"},attrs:{src:t.img,alt:"",srcset:""}}),i("span",{staticStyle:{"vertical-align":"middle",color:"#606266","font-size":"14px"}},[e._v(" "+e._s(t.name))])])}),0)},staticRenderFns:[]};var I={storeSignName:"",dateType:1,date:["",""],dateStart:null,dateEnd:null,timeType:1,time:["",""],timeStart:0,timeEnd:0,signInterval:1,storeFilterId:"",signDistance:0,memberSearchType:0,memberSearchId:"",remark:"",prizeType:null,prizeValue:"",prizeId:null},b={name:"sign-setting",components:{opt:i("VU/8")(C,v,!1,function(e){i("D8zK")},"data-v-f9ff0fd2",null).exports,"item-card":g,"item-integral":N,"lib-card":h.a,"lib-integral":S},data:function(){var e=this;return{loading:!1,uuid:"",creatorId:"",showStoreCard:!1,isAdd:!1,canEdit:!1,options:[0,1,2,3,4,5],storeConfig:null,getSaveData:"",brandLogo:"",hasSearchData:"",toggleTag:!1,saveTag:!1,headerList:["isRealTime","latestUpdateTime","updateType","effectiveStatus","effectiveDate"],form:u()({},I),date:[],time:[],prizeOptions:[{name:"卡券",value:"card",key:1,img:i("wlmc")},{name:"积分",value:"integral",key:2,img:i("Ks29")}],optTopShow:!0,dialogCom:"",itemCom:"",prizeItem:{},showDialog:!1,rules:{storeSignName:{validator:function(t,i,a){if(!e.form.storeSignName)return a(new Error("请填写计划名称"));a()},trigger:"blur"},date:{validator:function(t,i,a){if(2===e.form.dateType&&!e.date[0])return a(new Error("请选择指定日期"));a()},trigger:"blur"},time:{validator:function(t,i,a){if(!(2!==e.form.timeType||e.form.timeStart&&e.form.timeEnd))return a(new Error("请选择指定时段"));a()},trigger:"blur"},prizeType:{validator:function(t,i,a){if(!e.form.prizeType)return a(new Error("请选择签到福利"));a()},trigger:"change"}},pickerOptions:{disabledDate:function(e){return e.getTime()<Date.now()-864e5}}}},created:function(){this.$route.query.id?(this.canEdit="/sign/setting/edit"==this.$route.path,this.getDetail()):(this.canEdit=!0,this.isAdd=!0,this.showStoreCard=!0)},methods:{getDetail:function(){var e=this;return l()(r.a.mark(function t(){var i;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(m.e)({storeSignId:e.$route.query.id});case 2:0===(i=t.sent).errorCode&&i.result&&(e.form=n()({},i.result),e.uuid=i.result.storeFilterId,e.brandLogo=i.result.brandLogo,1===e.form.memberSearchType?e.hasSearchData=e.form.memberSearchId||"{}":2===e.form.memberSearchType&&(e.hasSearchData=e.form.memberTagGroupList),e.form.dateType&&e.form.dateStart&&e.form.dateEnd&&(e.date[0]=Object(d.f)(e.form.dateStart,"yyyy-MM-dd"),e.date[1]=Object(d.f)(e.form.dateEnd,"yyyy-MM-dd")),1===e.form.prizeType?(e.prizeItem.integralCount=e.form.prizeValue,e.itemCom="item-integral"):(e.prizeItem=n()({},e.form.coupon),e.itemCom="item-card")),e.showStoreCard=!0;case 5:case"end":return t.stop()}},t,e)}))()},onSubmit:function(){var e=this;this.$refs.form.validate(function(t){if(!t)return e.$message.error("请完善信息"),!1;var i=n()({},e.form);console.log(i),e.uuid&&(i.storeFilterId=e.uuid),2===i.dateType&&(i.dateStart=e.date[0],i.dateEnd=e.date[1],delete i.date),2===i.timeType&&(i.timeStart=i.timeStart.substring(0,i.timeStart.lastIndexOf(":"))+":00",i.timeEnd=i.timeEnd.substring(0,i.timeEnd.lastIndexOf(":"))+":59",delete i.time),1===i.prizeType?delete i.prizeId:delete i.prizeValue,Object(m.f)(i).then(function(t){0===t.errorCode&&(e.$message.success("保存成功"),e.$router.replace("/sign/plan"))})})},getData:function(){this.$refs.peopleFilter.confirmSet()},cancelFilter:function(){this.$refs.peopleFilter.cancelSet()},getBackData:function(e){this.getSaveData=e},findFilter:function(e){this.form.memberSearchId=e},editShow:function(){this.toggleTag=!0,this.saveTag=!1},editHide:function(){this.toggleTag=!1,this.saveTag=!0},hideBtn:function(){this.toggleTag=!1,this.saveTag=!1},handleDataTransferred:function(e){this.form.memberSearchId=e.map(function(e){return e.memberTagGroupId}).filter(function(e){return e}).join(",")},handleDataLeft:function(e,t){this.form.memberSearchId=e.map(function(e){return e.memberTagGroupId}).filter(function(e){return e}).join(",")},showPrizeDialog:function(e){this.dialogCom=e?"lib-card":"lib-integral",this.showDialog=!0},saveToList:function(e){"integral"===e.comName?(this.form.prizeType=1,this.itemCom="item-integral",this.form.prizeValue=e.integralCount,this.prizeItem=e,this.form.prizeId=null):(this.form.prizeType=2,this.itemCom="item-card",this.form.prizeId=e.coupCardId,this.prizeItem=n()({},e,{brandLogo:this.brandLogo}),this.form.prizeValue="")},editItem:function(){this.dialogCom="item-card"===this.itemCom?"lib-card":"lib-integral",this.showDialog=!0},delItem:function(){this.itemCom="",this.prizeItem={},this.form.prizeType=0,this.form.prizeValue="",this.form.prizeId=""},addItem:function(e){this.dialogCom="lib-"+e.value,this.form.prizeValue="",this.form.prizeId="",this.prizeItem={},this.showDialog=!0},gointegralService:function(){window.location.href=window.location.origin+"/gic-web/#/integralService"},timeTypeChange:function(e){this.$refs.form.clearValidate("time"),2===e&&(this.form.timeStart="",this.form.timeEnd="")},dateTypeChange:function(e){this.$refs.form.clearValidate("date"),this.date=1===e?null:[]}},watch:{},computed:{minTime:function(){if(this.form.timeStart){var e=this.form.timeStart.split(":"),t=60*+e[0]*60+60*+e[1],i=t/3600>>0,a=t%3600/60>>0,r=t%3600%60>>0;return(i<10?"0"+i:i+"")+":"+(a<10?"0"+a:a+"")+":"+(r<10?"0"+r:r+"")}return"00:00:00"},maxTime:function(){if(this.form.timeEnd){var e=this.form.timeEnd.split(":"),t=60*+e[0]*60+60*+e[1],i=t/3600>>0,a=t%3600/60>>0,r=t%3600%60>>0;return(i<10?"0"+i:i+"")+":"+(a<10?"0"+a:a+"")+":"+(r<10?"0"+r:r+"")}return"23:59:59"}}},x={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-suffix":":","label-width":"110px"}},[i("el-form-item",{attrs:{label:"计划名称",prop:"storeSignName"}},[i("el-input",{staticClass:"long-input",attrs:{type:"text",maxlength:"20","show-word-limit":""},model:{value:e.form.storeSignName,callback:function(t){e.$set(e.form,"storeSignName",t)},expression:"form.storeSignName"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"签到日期"}},[i("el-radio-group",{staticClass:"pick-radio",on:{change:e.dateTypeChange},model:{value:e.form.dateType,callback:function(t){e.$set(e.form,"dateType",t)},expression:"form.dateType"}},[i("el-radio",{attrs:{label:1}},[e._v("长期生效")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("指定日期")])],1),e._v(" "),i("el-form-item",{staticClass:"date_picker_item",attrs:{prop:"date"}},[2===e.form.dateType?i("el-date-picker",{staticStyle:{width:"294px"},attrs:{"picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}}):e._e()],1)],1),e._v(" "),i("el-form-item",{attrs:{label:"签到时段",prop:"timeType"}},[i("el-radio-group",{staticClass:"pick-radio",on:{change:e.timeTypeChange},model:{value:e.form.timeType,callback:function(t){e.$set(e.form,"timeType",t)},expression:"form.timeType"}},[i("el-radio",{attrs:{label:1}},[e._v("长期生效")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("指定时段")])],1),e._v(" "),2===e.form.timeType?i("el-form-item",{staticClass:"date_picker_item",attrs:{prop:"time"}},[i("el-time-picker",{staticClass:"store-sign-timepicker",staticStyle:{width:"135px"},attrs:{"picker-options":{selectableRange:"00:00:00 - "+e.maxTime},placeholder:"开始时间","value-format":"HH:mm:ss",format:"HH:mm"},model:{value:e.form.timeStart,callback:function(t){e.$set(e.form,"timeStart",t)},expression:"form.timeStart"}}),i("span",{staticStyle:{margin:"0 5px"}},[e._v("至")]),e._v(" "),i("el-time-picker",{staticClass:"store-sign-timepicker",staticStyle:{width:"135px"},attrs:{"picker-options":{selectableRange:e.minTime+" - 23:59:59"},placeholder:"结束时间","value-format":"HH:mm:ss",format:"HH:mm"},model:{value:e.form.timeEnd,callback:function(t){e.$set(e.form,"timeEnd",t)},expression:"form.timeEnd"}})],1):e._e()],1),e._v(" "),i("el-form-item",{attrs:{label:"签到间隔",prop:"signInterval"}},[i("el-radio-group",{staticClass:"sign-time",model:{value:e.form.signInterval,callback:function(t){e.$set(e.form,"signInterval",t)},expression:"form.signInterval"}},[i("el-radio",{attrs:{label:1}},[e._v("每天"),1===e.form.signInterval?i("span",{staticClass:"tips"},[e._v("每个用户每天可在门店签到一次。每天0:00刷新签到次数")]):e._e()]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("每周"),2===e.form.signInterval?i("span",{staticClass:"tips"},[e._v("每个用户每周可在门店签到一次。每周一0:00刷新签到次数")]):e._e()]),e._v(" "),i("el-radio",{attrs:{label:3}},[e._v("每月"),3===e.form.signInterval?i("span",{staticClass:"tips"},[e._v("每个用户每月可在门店签到一次。每月1号0:00刷新签到次数")]):e._e()])],1)],1),e._v(" "),e.showStoreCard?i("el-form-item",{attrs:{label:"签到门店",prop:"storeFilterId"}},[i("vue-gic-store-card",{ref:"storeCard",attrs:{options:e.options,uuid:e.uuid},on:{"update:uuid":function(t){e.uuid=t}}})],1):e._e(),e._v(" "),i("el-form-item",{attrs:{label:"签到距离",prop:"signDistance"}},[i("el-input-number",{staticClass:"shortInput",attrs:{"controls-position":"right",min:100,max:5e3,step:1,"step-strictly":!0},on:{change:e.handleChange},model:{value:e.form.signDistance,callback:function(t){e.$set(e.form,"signDistance",t)},expression:"form.signDistance"}}),i("span",{staticStyle:{"margin-left":"9px"}},[e._v("米")]),e._v(" "),i("span",{staticClass:"tips"},[e._v("*为了保证用户体验,建议设置签到距离为100米,设置范围为100-5000米。")])],1),e._v(" "),i("el-form-item",{attrs:{label:"签到人群",prop:"memberSearchType"}},[i("el-radio-group",{staticClass:"pb20",model:{value:e.form.memberSearchType,callback:function(t){e.$set(e.form,"memberSearchType",t)},expression:"form.memberSearchType"}},[i("el-radio",{attrs:{label:0}},[e._v("全部会员")]),e._v(" "),i("el-radio",{attrs:{label:1}},[e._v("自定义人群")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("会员分组")])],1),e._v(" "),1===e.form.memberSearchType?i("div",{staticStyle:{width:"984px"}},[i("vue-gic-people",{ref:"peopleFilter",attrs:{projectName:"marketing",isAdd:e.isAdd,hasSearchData:e.hasSearchData,sceneValue:e.sceneValue},on:{findFilter:e.findFilter,getBackData:e.getBackData,editHide:e.editHide,editShow:e.editShow,hideBtn:e.hideBtn}}),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.toggleTag,expression:"toggleTag"}],staticClass:"gic-people--button"},[i("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.getData}},[e._v("确 定")]),e._v(" "),i("el-button",{attrs:{size:"small"},on:{click:e.cancelFilter}},[e._v("取 消")])],1)],1):e._e(),e._v(" "),2===e.form.memberSearchType?i("div",[i("vue-gic-member-group",e._b({attrs:{defaltSelected:e.hasSearchData,height:500,projectName:"marketing",headerList:e.headerList},on:{handleDataTransferred:e.handleDataTransferred,handleDataLeft:e.handleDataLeft}},"vue-gic-member-group",e.form.memberSearchId,!1))],1):e._e()],1),e._v(" "),i("el-form-item",{attrs:{label:"签到规则说明",prop:"remark"}},[i("el-input",{staticClass:"long-input textarea-input",attrs:{type:"textarea",resize:"none",rows:"4",maxlength:"1000","show-word-limit":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"签到福利"}},[i("section",{staticClass:"dm-marketing"},[e.itemCom?e._e():i("div",{staticClass:"dm-marketing__opt--wrap",staticStyle:{"margin-bottom":"10px"}},[i("i",{staticClass:"el-icon-plus dm-marketing__opt--icon",on:{click:function(t){e.optTopShow=!e.optTopShow}}}),e._v(" "),i("transition",{attrs:{name:"fade"}},[e.optTopShow?i("opt",{attrs:{options:e.prizeOptions},on:{addItem:e.addItem}}):e._e()],1)],1),e._v(" "),i(e.dialogCom,{tag:"component",attrs:{show:e.showDialog,item:e.prizeItem},on:{"update:show":function(t){e.showDialog=t},sendItem:e.saveToList}}),e._v(" "),e.itemCom&&e.prizeItem?i("div",{staticClass:"dm-marketing__content__item",staticStyle:{padding:"0",margin:"0 0 20px"}},[i(e.itemCom,{tag:"component",attrs:{item:e.prizeItem}}),e._v(" "),i("i",{staticClass:"el-icon-edit dm-marketing__opt--icon",on:{click:e.editItem}}),e._v(" "),i("dm-delete",{on:{confirm:e.delItem}},[i("i",{staticClass:"el-icon-delete dm-marketing__opt--icon"})])],1):e._e(),e._v(" "),i("span",{staticClass:"tips"},[e._v("*支持每人限领张数≥100张的卡券。")])],1),e._v(" "),i("el-form-item",{attrs:{prop:"prizeType"}},[i("el-input",{staticStyle:{display:"none"},attrs:{type:"text"},model:{value:e.form.prizeType,callback:function(t){e.$set(e.form,"prizeType",t)},expression:"form.prizeType"}})],1)],1),e._v(" "),e.canEdit?i("div",{staticStyle:{"font-size":"0"}},[i("el-button",{staticStyle:{margin:"24px 0 50px 111px"},attrs:{type:"primary"},on:{click:function(t){return e.onSubmit("form")}}},[e._v("保存")]),e._v(" "),i("span",{staticClass:"tips"},[e._v("(若使用多个计划需小程序版本升级到3.8.2以上)")])],1):e._e()],1)],1)},staticRenderFns:[]};var A=i("VU/8")(b,x,!1,function(e){i("CHzc"),i("Etgt")},"data-v-74f1c263",null);t.default=A.exports},D8zK:function(e,t){},Etgt:function(e,t){},Ks29:function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjA0LjkgMjAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMDQuOSAyMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojOTA5Mzk5O30KPC9zdHlsZT4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTIwNCwxMzljMC0xMC03LjUtMTktMjEtMjZWOTUuNXYtMVY5M2MwLTEuNSwwLTMtMC41LTQuNWMxNC03LDIxLjUtMTYuNSwyMS41LTI2di0xOHYtMVY0MgoJYzAtMjIuNS0zOS0zOS41LTkwLjUtMzkuNWMtNTIsMC05MSwxNy05MSwzOS41djIwYzAsMS41LDAsMywwLjUsNC41QzksNzMuNSwxLjUsODMsMS41LDkyLjV2MjBjMCwxMCw3LjUsMTksMjEsMjZ2MjAKCWMwLDIyLjUsMzksMzkuNSw5MC41LDM5LjVzOTAuNS0xNyw5MC41LTM5LjV2LTE4di0xQzIwNCwxNDAsMjA0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LjUsMCwzLDAsNC41LTAuNWgzYzEuNSwwLDMtMC41LDUtMC41bDIuNS0wLjVjMi41LTAuNSw0LjUtMC41LDYuNS0xbDIuNS0wLjVjMS41LTAuNSwzLTAuNSw0LjUtMWwyLjUtMC41CgljMS41LTAuNSwzLTAuNSw0LjUtMWwyLTAuNWw2LTEuNWwxLjUtMC41bDQuNS0xLjVjMC41LDAsMS0wLjUsMS41LTAuNWMxLjUtMC41LDIuNS0xLDQtMmwxLTAuNWMxLjUtMSwzLjUtMS41LDUtMi41czMtMS41LDQuNS0yLjUKCWwxLTAuNWgwLjVjLTEsMTEtMzAuNSwyNi03Ny41LDI2UzM3LjUsMTcxLjUsMzYuNSwxNjAuNUMzNiwxNjAsMzYsMTYwLjUsMzYuNSwxNjAuNUwzNi41LDE2MC41eiIvPgo8L3N2Zz4K"},NqcB:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("Xxa5"),r=i.n(a),s=i("Dd8w"),n=i.n(s),o=i("exGp"),l=i.n(o),c=i("B4Ie"),u=i("0xDb"),m={name:"sign-record",data:function(){return{loading:!1,projectName:"gic-web",pageParams:{currentPage:1,pageSize:20,state:null},total:0,tableList:[],storeName:"",storeDialog:!1,formatDateTimeByType:u.f}},filters:{memberSearchTypeFilter:function(e){switch(e){case 0:return"全部会员";case 1:return"自定义人群";case 2:return"会员分组";default:return""}},stateFilter:function(e){switch(e){case 0:return"未开始";case 1:return"进行中";case 2:return"已结束";default:return""}}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;return l()(r.a.mark(function t(){var i,a;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,i=n()({},e.pageParams),t.next=5,Object(c.d)(i);case 5:0===(a=t.sent).errorCode&&a.result?(e.tableList=Array.isArray(a.result.result)?a.result.result:[],e.total=a.result.totalCount):(e.tableList=[],e.total=0),e.loading=!1,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),e.loading=!1;case 13:case"end":return t.stop()}},t,e,[[0,10]])}))()},refresh:function(){this.pageParams.currentPage="1",this.fetch()},goAddPlan:function(){this.$router.push("/sign/setting")},delPlan:function(e){var t=this;return l()(r.a.mark(function i(){var a;return r.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,t.loading=!0,a={storeSignId:e.storeSignId},i.next=5,Object(c.a)(a);case 5:0===i.sent.errorCode?(t.$message.success("删除成功"),t.refresh()):t.$message.error("删除失败"),t.loading=!1,i.next=13;break;case 10:i.prev=10,i.t0=i.catch(0),t.loading=!1;case 13:case"end":return i.stop()}},i,t,[[0,10]])}))()},handleSizeChange:function(e){this.pageParams.pageSize=e,this.fetch()},handleCurrentChange:function(e){this.pageParams.currentPage=e,this.fetch()}}},d={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"flex pb20"},[i("div",[i("el-select",{staticClass:"w200",attrs:{placeholder:"计划状态",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.state,callback:function(t){e.$set(e.pageParams,"state",t)},expression:"pageParams.state"}},[i("el-option",{attrs:{value:0,label:"未开始"}}),e._v(" "),i("el-option",{attrs:{value:1,label:"进行中"}}),e._v(" "),i("el-option",{attrs:{value:2,label:"已结束"}})],1),e._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"计划名称",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.storeSignName,callback:function(t){e.$set(e.pageParams,"storeSignName",t)},expression:"pageParams.storeSignName"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingAddSign)?i("el-button",{attrs:{type:"primary","limit-code":e.$buttonCode.marketingAddSign},on:{click:e.goAddPlan}},[e._v("新建计划")]):e._e()],1),e._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"storeSignName",label:"计划名称"}}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"updateTime",label:"最近编辑时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.updateTime,"yyyy-MM-dd-HH-mm",!0).y)),i("br"),e._v("\n "+e._s(e.formatDateTimeByType(t.row.updateTime,"yyyy-MM-dd-HH-mm",!0).h)+"\n ")])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",label:"签到人群"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._f("memberSearchTypeFilter")(t.row.memberSearchType)))]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"state",label:"计划状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e._f("stateFilter")(t.row.state)))]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"操作",align:"left",width:"210px",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.marketingEditSign)&&0===t.row.state?i("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingEditSign},on:{click:function(i){return e.$router.push("/sign/setting/edit?id="+t.row.storeSignId+"&canEdit=1")}}},[e._v("编辑")]):i("el-button",{attrs:{type:"text"},on:{click:function(i){return e.$router.push("/sign/setting/check?id="+t.row.storeSignId)}}},[e._v("查看")]),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingDelSign)?i("dm-delete",{attrs:{tips:"是否删除该签到计划?"},on:{confirm:function(i){return e.delPlan(t.row)}}},[i("el-button",{attrs:{type:"text","limit-code":e.$buttonCode.marketingDelSign}},[e._v("删除")])],1):e._e()]}}])})],1),e._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.pageParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]};var M=i("VU/8")(m,d,!1,function(e){i("YNKn")},"data-v-4bc7a790",null);t.default=M.exports},RQuk:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("router-view")],1)},staticRenderFns:[]},r=i("VU/8")({name:"signIn",data:function(){return{}},created:function(){var e=this;this.$store.commit("mutations_breadcrumb",[{name:"门店签到",path:"/signIn"}]),this.$store.commit("aside_handler",!1),this.$nextTick(function(t){e.$store.commit("aside_handler",!0)})}},a,!1,null,null,null);t.default=r.exports},"RRo+":function(e,t,i){e.exports={default:i("c45H"),__esModule:!0}},U2U0:function(e,t){},YNKn:function(e,t){},aEym:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("Xxa5"),r=i.n(a),s=i("Dd8w"),n=i.n(s),o=i("exGp"),l=i.n(o),c=i("B4Ie"),u=i("0xDb"),m={name:"sign-record",data:function(){return{loading:!1,projectName:"gic-web",pageParams:{currentPage:1,pageSize:20,time:""},total:0,tableList:[],storeName:"",storeDialog:!1,dialogVisible:!1,excelUrl:"",params:{}}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;return l()(r.a.mark(function t(){var i,a;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loading=!0,i=n()({},e.pageParams),e.pageParams.time&&(i.startTime=Object(u.f)(i.time[0],"yyyy-MM-dd"),i.endTime=Object(u.f)(i.time[1],"yyyy-MM-dd"),delete i.time),t.next=6,Object(c.c)(i);case 6:a=t.sent,console.log(a),0===a.errorCode&&a.result?(e.tableList=a.result.result||[],e.total=a.result.totalCount):(e.tableList=[],e.total=0),e.loading=!1,t.next=16;break;case 12:t.prev=12,t.t0=t.catch(0),console.log(3),e.loading=!1;case 16:case"end":return t.stop()}},t,e,[[0,12]])}))()},exportExcel:function(){var e={storeName:this.pageParams.storeName,memberInfo:this.pageParams.memberInfo};this.pageParams.time&&(e.startTime=Object(u.f)(this.pageParams.time[0],"yyyy-MM-dd"),e.endTime=Object(u.f)(this.pageParams.time[1],"yyyy-MM-dd"),delete e.time),this.params=e,this.dialogVisible=!0,this.excelUrl=c.b},refresh:function(){this.pageParams.currentPage="1",this.fetch()},showStoreDialog:function(){this.storeDialog=!0},clearStoreInfo:function(){delete this.pageParams.storeId,this.storeName="",this.refresh()},selectStore:function(e){this.pageParams.storeId=e.storeId,this.storeName=e.storeName||"(门店代码:"+e.storeCode+")",this.storeDialog=!1,this.refresh()},handleSizeChange:function(e){this.pageParams.currentPage=1,this.pageParams.pageSize=e,this.fetch()},handleCurrentChange:function(e){this.pageParams.currentPage=e,this.fetch()},formatDateTimeByType:u.f}},d={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"dm-wrap"},[i("div",{staticClass:"pb20 clearfix"},[i("el-date-picker",{staticClass:"w250",attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.refresh},model:{value:e.pageParams.time,callback:function(t){e.$set(e.pageParams,"time",t)},expression:"pageParams.time"}}),e._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"请输入门店名称或门店code",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.storeName,callback:function(t){e.$set(e.pageParams,"storeName",t)},expression:"pageParams.storeName"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),i("el-input",{staticClass:"w300",attrs:{placeholder:"会员姓名/手机号/签到计划",clearable:""},on:{change:e.refresh},model:{value:e.pageParams.memberInfo,callback:function(t){e.$set(e.pageParams,"memberInfo",t)},expression:"pageParams.memberInfo"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),e.$getButtonLimit(e.$buttonCode.marketingExportSign)?i("el-button",{staticClass:"fr",attrs:{type:"primary",icon:"iconfont fz14 icon-cp-xiazai","limit-code":e.$buttonCode.marketingExportSign,size:"small",disabled:!e.total},on:{click:e.exportExcel}},[e._v(" 查询结果导出")]):e._e()],1),e._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList}},[i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"createTime",label:"签到时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("p",{staticClass:"cell-time"},[e._v("\n "+e._s(e.formatDateTimeByType(t.row.signTime,"yyyy-MM-dd-HH-mm",!0).y)),i("br"),e._v(" "),i("span",[e._v(e._s(e.formatDateTimeByType(t.row.signTime,"yyyy-MM-dd-HH-mm",!0).h))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"storeName",label:"签到门店"}}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",label:"签到会员"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"memberInfo"},[i("img",{attrs:{src:t.row.memberImage||"",alt:""}}),e._v(" "),i("div",[i("p",{staticClass:"cell-memberInfo"},[e._v(e._s(t.row.memberName||" - "))]),e._v(" "),i("p",{staticClass:"cell-memberInfo"},[e._v(e._s(t.row.memberPhone||" - "))])])])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"storeSignName",label:"签到计划名称"}}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",label:"福利类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(1===t.row.prizeType?"积分":"卡券"))]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,align:"left",prop:"prizeTxt",label:"签到福利"}})],1),e._v(" "),i("vue-gic-export-excel",{attrs:{dialogVisible:e.dialogVisible,dataArr:e.tableList,type:2,excelUrl:e.excelUrl,params:e.params,projectName:e.projectName},on:{"update:dialogVisible":function(t){e.dialogVisible=t},"update:dialog-visible":function(t){e.dialogVisible=t}}}),e._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{background:"","current-page":e.pageParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[]};var M=i("VU/8")(m,d,!1,function(e){i("eevl")},"data-v-1cc93f0e",null);t.default=M.exports},bbxN:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL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/Q7Dsgs+SOj5jV61VqPz4jcjRVdUu0g0rsEVWmKeS1WNdSng1i0w79KBibJfH/u6FxvrJm/vcUrPZ9L1WsHFIHNNWQga+VxOfuhBYZR76JSw4Gg9jSDgzfUyX+sMx0SBGw+yWooO2JnsA1SGY5pyQWKu8nkjpQyUsMb1KG1ySeNoc8lq/i+3mOuKW8G8SmYuaiQ0mwAjGFyGwL/g/jZ7WL4ZgWMzHmka/C+vmOg8YgfnTLVOU95zCTAq4JZJ4gtwZWbshC3RbXHeQXQVZbKCS/orhczjatnfEZxcXFqkLKj1SqGIIKg1RIhUEOHvmfAAMAjjaI9QSqt+cAAAAASUVORK5CYII="},c45H:function(e,t,i){i("1alW"),e.exports=i("FeBl").Number.isInteger},eevl:function(e,t){},gjhR:function(e,t,i){"use strict";var a=i("//Fk"),r=i.n(a),s=i("woOf"),n=i.n(s),o=i("mw3O"),l=i.n(o),c=i("OMN4"),u=i.n(c),m=window.location.origin,d=new VueRouter,M=-1!==m.indexOf("localhost")?"http://www.gicdev.com":m,L=[],p=u.a.create({baseURL:M,timeout:2e4,headers:{"Content-Type":"application/x-www-form-urlencoded"},withCredentials:!0});function g(e){console.log(e.url+"--end");var t=L.findIndex(function(t){return t===e});t>-1&&L.splice(t,1)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"请求错误";switch(e){case 404:t="404,错误请求",d.push("/404");break;case 401:t="登录失效";break;case 403:t="禁止访问",d.push("/403");break;case 408:t="请求超时";break;case 500:t="服务器内部错误";break;case 501:t="功能未实现";break;case 503:t="服务不可用";break;case 504:t="网关错误"}this.$message({type:"warning",message:t})}var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"POST",o={method:s,url:e},c=null;return"POST"===s.toLocaleUpperCase()?i?(o.data=t,o.headers={"Content-Type":"application/json"},o.url+="?requestProject=marketing"):o.data=l.a.stringify(n()({requestProject:"gic-web"},t)):o.params={},new r.a(function(t,i){var r={stamp:Date.now(),url:""+(M+e)};a||(c=setTimeout(function(){var e;e=r,console.log(e.url+"--begin"),L.push(e)},300)),p(o).then(function(e){clearTimeout(c),g(r),0!==e.data.errorCode?(i(e),w(e.data.errorCode,e.data.message)):t(e.data)}).catch(function(e){clearTimeout(c),g(r),e&&w(e.response.status,"接口异常"),i(e)})})},N=i("vzh/"),h={name:"lib-card",props:{show:{type:Boolean,default:!1},cardLimitType:{type:Number,default:3},cardLimit:{type:Number,default:0}},computed:{limitTips:function(){return 1==this.cardLimit?"该选择器可筛选所有限制领取张数>1的卡券,共":2===this.cardLimitType?"领取限制领取1~100的卡券,系统已过滤,符合条件共":3===this.cardLimitType?"领取限制领取<100的卡券不支持选择,系统已过滤,符合条件共":-1===this.cardLimitType?"该选择器可筛选所有领取限制卡券,共":"领取限制>1的卡券不支持选择,系统已过滤,符合条件共"}},data:function(){return{formatDateTimeByType:N.a,cardTypesList:[{value:null,label:"全部"},{value:0,label:"抵金券"},{value:1,label:"折扣券"},{value:2,label:"兑换券"}],listParams:{searchParam:"",currentPage:1,pageSize:5,cardTypes:"",requestProject:"gic-web",cardLimitType:this.cardLimitType,cardType:"",cardLimit:this.cardLimit},total:0,tableList:[],selectedData:{}}},created:function(){this.$store.getters.getStoreCardAuth&&this.cardTypesList.push({value:3,label:"商场抵金券"}),this.getCardList()},methods:{handleSizeChange:function(e){this.listParams.pageSize=e,this.getCardList()},handleCurrentChange:function(e){this.listParams.currentPage=e,this.getCardList()},getCardList:function(){var e,t=this;this.loading=!0,(e=this.listParams,f("/api-plug/get-coupon-list",e)).then(function(e){0===e.errorCode&&(t.tableList=e.result.result||[],t.total=e.result.totalCount),t.loading=!1})},reset:function(){this.listParams.searchParams="",this.getCardList()},close:function(){this.$emit("update:show",!1)},rowClick:function(e){e.comName="card",this.selectedData=e},addItem:function(){this.selectedData.comName?(this.$emit("sendItem",this.selectedData),this.close()):this.$message({type:"warning",message:"未选择卡券"})},add:function(){window.open("/marketing/#/card/add")},refresh:function(){this.listParams.currentPage=1,this.getCardList()}}},y={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:"选择卡券",visible:e.show,width:"800px","before-close":e.close},on:{"update:visible":function(t){e.show=t}}},[i("div",{staticClass:"clearfix pb10"},[i("div",{staticClass:"fl"},[i("el-input",{staticClass:"w200 mr10",attrs:{clearable:"",placeholder:"请输入卡券名/备注名"},on:{change:e.refresh},model:{value:e.listParams.searchParam,callback:function(t){e.$set(e.listParams,"searchParam",t)},expression:"listParams.searchParam"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),e._v(" "),i("el-select",{staticStyle:{width:"120px","margin-right":"10px"},attrs:{placeholder:"卡券类型"},on:{change:e.refresh},model:{value:e.listParams.cardTypes,callback:function(t){e.$set(e.listParams,"cardTypes",t)},expression:"listParams.cardTypes"}},e._l(e.cardTypesList,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),i("span",{staticClass:"fz12 gray"},[e._v(e._s(e.limitTips)+e._s(e.total)+"张。 ")])],1)]),e._v(" "),i("div",{staticStyle:{"font-size":"12px",color:"#909399","line-height":"30px"}},[e._v("* 仅能选择卡券模板投放期限有效的卡券")]),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{tooltipEffect:"light",data:e.tableList,"row-class-name":"cursor-pointer"},on:{"row-click":e.rowClick}},[i("el-table-column",{attrs:{"show-overflow-tooltip":!1,width:"60",align:"center",prop:"coupCardId"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"sms-record_left label-hidden"},[i("el-radio",{staticClass:"pr10",attrs:{label:t.row},model:{value:e.selectedData,callback:function(t){e.selectedData=t},expression:"selectedData"}})],1)]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!0,width:"140",align:"left",prop:"cardName",label:"卡券名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("p",{staticStyle:{"line-height":"22px"}},[e._v(e._s(t.row.cardName))]),e._v(" "),i("p",{staticStyle:{"line-height":"20px",color:"#909399","font-size":"13px"}},[e._v(e._s(t.row.subName))])]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!1,"min-width":"120",align:"left",prop:"createTime",label:"卡券模板投放期限"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.putEffectiveMode?i("span",[e._v(" 固定日期:"+e._s(e.formatDateTimeByType(t.row.putBeginDate,"yyyy-MM-dd"))+" 至 "+e._s(e.formatDateTimeByType(t.row.putEndDate,"yyyy-MM-dd"))+" ")]):i("span",[e._v("长期有效")])]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"",label:"用户使用有效期","min-width":120,"show-overflow-tooltip":!1},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.cardEffectiveMode?i("div",[e._v("固定日期:"+e._s(e.formatDateTimeByType(t.row.beginDate,"yyyy-MM-dd")+"至"+e.formatDateTimeByType(t.row.endDate,"yyyy-MM-dd")))]):e._e(),e._v(" "),1==t.row.cardEffectiveMode?i("div",[e._v("领取后"+e._s((0===t.row.startDay?"当":"第"+t.row.startDay)+"天,有效天数"+t.row.limitDay)+"天")]):e._e(),e._v(" "),2==t.row.cardEffectiveMode?i("div",[e._v("投放后当月")]):e._e()]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"cardLimit","show-overflow-tooltip":!1,label:"领取限制",width:"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.cardLimit)+"张/人 ")]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!1,width:90,align:"left",prop:"storeMode",label:"适用门店"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0===t.row.storeMode?"所有门店":1===t.row.storeMode?"部分分组":"部分门店")+"\n ")]}}])}),e._v(" "),i("el-table-column",{attrs:{"show-overflow-tooltip":!1,width:100,align:"left",prop:"couponStock",label:"库存"}})],1),e._v(" "),i("dm-pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableList.length,expression:"tableList.length"}],staticClass:"dm-pagination",attrs:{"current-page":e.listParams.currentPage,"page-sizes":[20,40,60,80],"page-size":e.listParams.pageSize,layout:"prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.close}},[e._v("关 闭")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.addItem}},[e._v("确 定")])],1)],1)},staticRenderFns:[]},j=i("VU/8")(h,y,!1,null,null,null);t.a=j.exports},mNM3:function(e,t){},"nmY+":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmP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N07jtUhPW0oem6+S+3mOoxYQrwQrFFOEzLbw/yBWTi1AY1pLXlhOvvLt5zuOFUBcy6GAa4yYJ8ytppUbKuDuFNdc8oswq90Ukp9TXG5gG+jM+CKAFBQUqIwVH8sAkgEkYxlAjiL7nwADALe9WHb/v4T1AAAAAElFTkSuQmCC"},"vzh/":function(e,t,i){"use strict";i.d(t,"a",function(){return r});var a=function(e){return(e*=1)<10?"0"+e:e},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd-HH-mm-ss";return e?("number"==typeof e&&(e=new Date(e)),"string"==typeof e?e:(t.indexOf("yyyy")>=0?a(e.getFullYear()):"")+(t.indexOf("MM")>=0?"-"+a(e.getMonth()+1):"")+(t.indexOf("dd")>=0?"-"+a(e.getDate()):"")+(t.indexOf("HH")>=0?" "+a(e.getHours()):"")+(t.indexOf("mm")>=0?":"+a(e.getMinutes()):"")+(t.indexOf("ss")>=0?":"+a(e.getSeconds()):"")):""}},wlmc:function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyBmaWxsPSIjOTA5Mzk5IiAgY2xhc3M9Imljb24iIHdpZHRoPSIyMDBweCIgaGVpZ2h0PSIyMDAuMDBweCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xODAuMjI0IDYxMC4zMDRjMCA3Ni44LTU2LjMyIDE0Mi4zMzYtMTMyLjYwOCAxNTMuMDg4djEzNC4xNDRoOTI4LjI1NnYtMTM0LjE0NGMtNzYuMjg4LTEwLjc1Mi0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4LjU3NmMwIDEyLjI4OC05LjcyOCAyMi4wMTYtMjIuMDE2IDIyLjAxNnMtMjIuMDE2LTkuNzI4LTIyLjAxNi0yMi4wMTZWNzQyLjR6IiAgLz48L3N2Zz4="}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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