Commit 4630babd by 无尘

fix: 修改模板

parent 36612862
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.40731067cf758ca030d46f210b35dddf.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.1bf5b616f6a8e3d6844a.js></script><script type=text/javascript src=./static/js/vendor.694f8850ed5112713591.js></script><script type=text/javascript src=./static/js/app.e2a4dc927bce98f9ed45.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.c5faf21ac44b0002810ab876554d80da.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.946d6a9f055db2ba7e75.js></script><script type=text/javascript src=./static/js/vendor.694f8850ed5112713591.js></script><script type=text/javascript src=./static/js/app.4707231bae9f2d10b25f.js></script></body></html>
\ No newline at end of file
webpackJsonp([46],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("kMRx")},"data-v-45a71088",null);e.default=o.exports},kMRx:function(t,e){}});
\ No newline at end of file
webpackJsonp([45],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("kMRx")},"data-v-45a71088",null);e.default=o.exports},kMRx:function(t,e){}});
\ No newline at end of file
webpackJsonp([45],{"8Rwt":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("mvHQ"),r=a.n(o),n=a("l46T"),i=a("P9l9"),l=a("3E4D"),s=a("Ch4/"),c=a("PI0u"),d={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{limitInput:n.a},data:function(){var t=this;return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",selectCoupCard:{},formData:{cardStrategyId:"",cardStrategyName:"",cardTempData:[{templateName:"",cardType:0,dataType:0,dateRange:[],dateDay:"",dateDayNum:"50000",limitType:0,limitCount:""}],sendType:0,filterCheck:!1,noPosition:!1,filterData:[],departData:[],executeType:0,monthNum:"",multMonth:[],multMonthNum:"",vaildDateType:"",validDateRange:[]},rules:{coupCardId:[{required:!0,message:"请选择卡券",trigger:"change"}],sendRange:[{validator:function(e,a,o){return""==a?o(new Error("请选择发送范围")):"1"!=a&&"2"!=a||t.formData.selectList.length?void o():o(new Error("请选择发送范围"))},trigger:"change"}],sendType:[{validator:function(e,a,o){return""==a?o(new Error("请选择券发放总数")):"1"!=a||t.formData.totalSendTimes?void o():o(new Error("请选择券发放总数"))},trigger:"change"}],eachSendTimes:[{required:!0,message:"请输入券发放张数",trigger:"blur"}]},cardSelectShow:!1,choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,o=e.minDate;t.choiceDateCopy=[o.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,o=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>o||e.getTime()>Date.now()-864e4}return e.getTime()<Date.now()-864e4}},dateOptions:[],monthOptions:[],inputVisible:!1,inputValue:""}},methods:{handleClose:function(t){this.formData.filterData.splice(this.formData.filterData.indexOf(t),1)},showInput:function(){var t=this;t.inputVisible=!0,t.$nextTick(function(e){t.$refs.saveTagInput.$refs.input.focus()})},handleInputConfirm:function(){var t=this.inputValue;t&&this.formData.filterData.push(t),this.inputVisible=!1,this.inputValue=""},toDelTemp:function(t,e,a){a.splice(t,1)},handleDay:function(){for(var t=[],e=0;e<91;e++)0==e?t.push({label:"当天",value:String(e)}):t.push({label:"第"+e+"天",value:String(e)});this.dateOptions=t,this.monthOptions=[];for(var a=1;a<13;a++)this.monthOptions.push({label:a+"月",value:String(a)})},returnStores:function(t){console.log("store:",t),this.formData.selectList=JSON.parse(r()(t))},checkGroupIds:function(t){console.log(t),this.formData.selectList=JSON.parse(r()(t))},showCard:function(){this.cardSelectShow=!0},closeCard:function(){this.cardSelectShow=!1},returnId:function(t,e){this.formData.coupCardId=t,this.selectCoupCard=e,this.cardSelectShow=!1},submitForm:Object(c.a)(function(t,e){var a=this;return!!("1"!=a.formData.sendRange&&"2"!=a.formData.sendRange||a.formData.selectList.length)&&(!("1"==a.formData.sendType&&!a.formData.totalSendTimes)&&(!("1"==a.formData.receiveType&&!a.formData.totalReceiveTimes)&&void a.$refs[t].validate(function(t){t&&a.postSaveCard(e)})))},300),postSaveCard:function(t){var e=this,a={id:e.formData.id,coupCardId:e.formData.coupCardId,sendRange:e.formData.sendRange,selectList:1==e.formData.sendRange?e.formData.selectList.map(function(t){return t.storeGroupId}).join(","):2==e.formData.sendRange?e.formData.selectList.join(","):"",eachSendTimes:e.formData.eachSendTimes,sendType:e.formData.sendType,totalSendTimes:e.formData.totalSendTimes,gicEnterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId};Object(i.d)(e.$route.query.coupCardId?"/haoban-app-customer-web/cardCoupon/edit-card-coup":"/haoban-app-customer-web/cardCoupon/add-card-coup",a).then(function(a){var o=a.data;1==o.errorCode&&(l.a.showmsg(e.$route.query.coupCardId?"编辑卡券成功":"新建卡券成功","success"),t?(e.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},e.selectCoupCard={}):e.$router.push("/cardList")),s.a.errorMsg(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toReturn:function(){var t=this;t.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.$router.push("/onlineChatSet?activeTab="+t.$route.query.activeTab+"&appIcon="+t.$route.query.appIcon)}).catch(function(){})},changeRange:function(t){this.formData.selectList=[]},getCardData:function(){var t=this,e={coupCardId:t.$route.query.coupCardId,gicEnterpriseId:t.brandId};Object(i.a)("/haoban-app-customer-web/cardCoupon/find-card-coup-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.list&&a.result.list.forEach(function(t){t.label=t.name,t.departmentId=t.id,t.storeGroupId=t.id,t.storeGroupName=t.name,t.departmentName=t.name,2==a.result.detail.sendRange&&(t.storeId=t.id)}),t.selectCoupCard=a.result.gicDetail,t.formData={id:a.result.detail.id,coupCardId:a.result.detail.coupCardId,sendRange:String(a.result.detail.sendRange),selectList:0!=a.result.detail.sendRange?2==a.result.detail.sendRange?a.result.list.map(function(t){return t.id}):a.result.list:[],eachSendTimes:a.result.detail.eachSendTimes,sendType:String(a.result.detail.sendType),totalSendTimes:a.result.detail.totalSendTimes},!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&this.$route.query.coupCardId&&(this.activeBrand=t,this.getCardData())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){this.$emit("showTab","2"),this.handleDay(),this.activeBrand=this.brandId,this.$route.query.coupCardId&&this.brandId&&this.getCardData()}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"new-card-body border-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.formData,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"卡券策略名称",prop:"cardStrategyName"}},[a("limitInput",{attrs:{inputWidth:340,inputValue:t.formData.cardStrategyName,getByType:"word",holder:"请输入卡券策略名称",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.formData,"cardStrategyName",e)}}})],1),t._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[t._v("卡券选择策略")]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large is-required"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"支持多选,最多可选20个模板",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("选择卡券模板")])])],1),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("div",{staticClass:"card-add-btn text-center cursor-pointer",on:{click:t.showCardTemp}},[a("span",{staticClass:"font-14 color-606266"},[t._v("选择卡券模板")])]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{staticClass:"select-table",style:{width:"100%"},attrs:{height:"450",data:t.formData.cardTempData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.templateName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"有效期","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-select",{attrs:{placeholder:""},model:{value:e.row.dataType,callback:function(a){t.$set(e.row,"dataType",a)},expression:"scope.row.dataType"}},[a("el-option",{attrs:{label:"固定日期",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"发送后",value:"1"}})],1),t._v(" "),0==e.row.dataType?a("el-date-picker",{staticClass:"m-l-10 m-r-10",attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:t.changeDate},model:{value:e.row.dateRange,callback:function(a){t.$set(e.row,"dateRange",a)},expression:"scope.row.dateRange"}}):t._e(),t._v(" "),1==e.row.dataType?a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.row.dateDay,callback:function(a){t.$set(e.row,"dateDay",a)},expression:"scope.row.dateDay"}},t._l(t.dateOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})):t._e(),1==e.row.dataType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("有效,有效天数")]):t._e(),1==e.row.dataType?a("el-input-number",{attrs:{"controls-position":"right",min:1,max:366},model:{value:e.row.dateDayNum,callback:function(a){t.$set(e.row,"dateDayNum",a)},expression:"scope.row.dateDayNum"}}):t._e(),1==e.row.dataType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送总数","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-select",{attrs:{placeholder:""},model:{value:e.row.limitType,callback:function(a){t.$set(e.row,"limitType",a)},expression:"scope.row.limitType"}},[a("el-option",{attrs:{label:"限制总数",value:"0"}})],1),a("el-input-number",{attrs:{"controls-position":"right",min:1,max:999999999},model:{value:e.row.dateDayNum,callback:function(a){t.$set(e.row,"dateDayNum",a)},expression:"scope.row.dateDayNum"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDelTemp(e.$index,e.row,t.formData.cardTempData)}}},[t._v("删除")])]}}])})],1)],1)])]),t._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[t._v("执行策略")]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券的发送范围设置",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("发送范围")])])],1),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.sendType,callback:function(e){t.$set(t.formData,"sendType",e)},expression:"formData.sendType"}},[t._v("全企业")]),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},model:{value:t.formData.sendType,callback:function(e){t.$set(t.formData,"sendType",e)},expression:"formData.sendType"}},[t._v("部分部门")]),t._v(" "),0==t.formData.sendType?a("div",{staticClass:"position-select"},[a("div",{staticClass:"position-check"},[a("el-checkbox",{model:{value:t.formData.filterCheck,callback:function(e){t.$set(t.formData,"filterCheck",e)},expression:"formData.filterCheck"}},[t._v("按职务筛选")])],1),t._v(" "),a("div",{staticClass:"position-check-tags"},[a("el-checkbox",{model:{value:t.formData.noPosition,callback:function(e){t.$set(t.formData,"noPosition",e)},expression:"formData.noPosition"}},[t._v("无职务")]),t._v(" "),t._l(t.formData.filterData,function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){t.handleClose(e)}}},[t._v("\n "+t._s(e)+"\n ")])}),t._v(" "),t.inputVisible?a("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{size:"small",maxlength:"20","show-word-limit":""},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleInputConfirm(e):null}},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:t.showInput}},[t._v("+ 添加职务")])],2)]):t._e()],1)]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"每月该策略针对单一成员执行几次",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("策略执行次数")])])],1),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.executeType,callback:function(e){t.$set(t.formData,"executeType",e)},expression:"formData.executeType"}},[t._v("每月循环")]),a("el-radio",{attrs:{label:"1"},model:{value:t.formData.executeType,callback:function(e){t.$set(t.formData,"executeType",e)},expression:"formData.executeType"}},[t._v("多月循环")]),t._v(" "),0==t.formData.executeType?a("div",[a("span",{staticClass:"font-14 color-606266"},[t._v("每月")]),a("el-input-number",{attrs:{"controls-position":"right",min:1,max:9999},model:{value:t.formData.monthNum,callback:function(e){t.$set(t.formData,"monthNum",e)},expression:"formData.monthNum"}})],1):t._e(),t._v(" "),1==t.formData.executeType?a("div",[a("span",{staticClass:"font-14 color-606266"},[t._v("第")]),a("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:t.formData.multMonth,callback:function(e){t.$set(t.formData,"multMonth",e)},expression:"formData.multMonth"}},t._l(t.monthOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input-number",{attrs:{"controls-position":"right",min:1,max:9999},model:{value:t.formData.multMonthNum,callback:function(e){t.$set(t.formData,"multMonthNum",e)},expression:"formData.multMonthNum"}})],1):t._e()],1)]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[t._v("\n 策略有效期\n ")]),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.vaildDateType,callback:function(e){t.$set(t.formData,"vaildDateType",e)},expression:"formData.vaildDateType"}},[t._v("长期有效")]),a("el-radio",{attrs:{label:"1"},model:{value:t.formData.vaildDateType,callback:function(e){t.$set(t.formData,"vaildDateType",e)},expression:"formData.vaildDateType"}},[t._v("固定期限")]),t._v(" "),1==t.formData.vaildDateType?a("div",[a("el-date-picker",{staticClass:"m-l-10 m-r-10",attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],type:"datetimerange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.formData.validDateRange,callback:function(e){t.$set(t.formData,"validDateRange",e)},expression:"formData.validDateRange"}})],1):t._e()],1)]),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("确认"+t._s(t.$route.query.coupCardId?"编辑":"新建"))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm","flag")}}},[t._v("确认并继续新建")])],1)],1)],1),t._v(" "),t.cardSelectShow?a("select-card",{attrs:{coupCardId:t.formData.coupCardId,brandId:t.brandId},on:{closeCard:t.closeCard,returnId:t.returnId}}):t._e()],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(t){a("oihO")},"data-v-48aefd19",null);e.default=p.exports},oihO:function(t,e){}});
\ No newline at end of file
webpackJsonp([46],{"8Rwt":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("mvHQ"),r=a.n(o),n=a("l46T"),l=a("P9l9"),i=a("3E4D"),s=a("Ch4/"),c=a("PI0u"),d={name:"chat-log",props:{brandId:{type:String,default:function(){return""}},activeGroupId:{type:String,default:function(){return""}}},components:{limitInput:n.a},data:function(){var t=this;return{activeBrand:this.brandId,activeGroup:this.activeGroupId,activeId:"3",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",selectCoupCard:{},formData:{cardStrategyId:"",cardStrategyName:"",cardTempData:[{templateName:"",cardType:0,dataType:0,dateRange:[],dateDay:"",dateDayNum:"50000",limitType:0,limitCount:""}],sendType:0,filterCheck:!1,noPosition:!1,filterData:[],departData:[],executeType:0,monthNum:"",multMonth:[],multMonthNum:"",vaildDateType:"",validDateRange:[]},rules:{coupCardId:[{required:!0,message:"请选择卡券",trigger:"change"}],sendRange:[{validator:function(e,a,o){return""==a?o(new Error("请选择发送范围")):"1"!=a&&"2"!=a||t.formData.selectList.length?void o():o(new Error("请选择发送范围"))},trigger:"change"}],sendType:[{validator:function(e,a,o){return""==a?o(new Error("请选择券发放总数")):"1"!=a||t.formData.totalSendTimes?void o():o(new Error("请选择券发放总数"))},trigger:"change"}],eachSendTimes:[{required:!0,message:"请输入券发放张数",trigger:"blur"}]},cardSelectShow:!1,choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,o=e.minDate;t.choiceDateCopy=[o.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,o=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>o||e.getTime()>Date.now()-864e4}return e.getTime()<Date.now()-864e4}},dateOptions:[],monthOptions:[],inputVisible:!1,inputValue:""}},methods:{handleClose:function(t){this.formData.filterData.splice(this.formData.filterData.indexOf(t),1)},showInput:function(){var t=this;t.inputVisible=!0,t.$nextTick(function(e){t.$refs.saveTagInput.$refs.input.focus()})},handleInputConfirm:function(){var t=this.inputValue;t&&this.formData.filterData.push(t),this.inputVisible=!1,this.inputValue=""},toDelTemp:function(t,e,a){a.splice(t,1)},handleDay:function(){for(var t=[],e=0;e<91;e++)0==e?t.push({label:"当天",value:String(e)}):t.push({label:"第"+e+"天",value:String(e)});this.dateOptions=t,this.monthOptions=[];for(var a=1;a<13;a++)this.monthOptions.push({label:a+"月",value:String(a)})},returnStores:function(t){console.log("store:",t),this.formData.selectList=JSON.parse(r()(t))},checkGroupIds:function(t){console.log(t),this.formData.selectList=JSON.parse(r()(t))},showCard:function(){this.cardSelectShow=!0},closeCard:function(){this.cardSelectShow=!1},returnId:function(t,e){this.formData.coupCardId=t,this.selectCoupCard=e,this.cardSelectShow=!1},submitForm:Object(c.a)(function(t,e){var a=this;return!!("1"!=a.formData.sendRange&&"2"!=a.formData.sendRange||a.formData.selectList.length)&&(!("1"==a.formData.sendType&&!a.formData.totalSendTimes)&&(!("1"==a.formData.receiveType&&!a.formData.totalReceiveTimes)&&void a.$refs[t].validate(function(t){t&&a.postSaveCard(e)})))},300),postSaveCard:function(t){var e=this,a={id:e.formData.id,coupCardId:e.formData.coupCardId,sendRange:e.formData.sendRange,selectList:1==e.formData.sendRange?e.formData.selectList.map(function(t){return t.storeGroupId}).join(","):2==e.formData.sendRange?e.formData.selectList.join(","):"",eachSendTimes:e.formData.eachSendTimes,sendType:e.formData.sendType,totalSendTimes:e.formData.totalSendTimes,gicEnterpriseId:e.brandId,wxEnterpriseId:e.wxEnterpriseId};Object(l.d)(e.$route.query.coupCardId?"/haoban-app-customer-web/cardCoupon/edit-card-coup":"/haoban-app-customer-web/cardCoupon/add-card-coup",a).then(function(a){var o=a.data;1==o.errorCode&&(i.a.showmsg(e.$route.query.coupCardId?"编辑卡券成功":"新建卡券成功","success"),t?(e.formData={id:"",coupCardId:"",sendRange:"0",selectList:[],eachSendTimes:3,sendType:"0",totalSendTimes:0},e.selectCoupCard={}):e.$router.push("/cardList")),s.a.errorMsg(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toReturn:function(){var t=this;t.$confirm("是否确认返回,返回后当前页面内容将丢失","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.$router.push("/onlineChatSet?activeTab="+t.$route.query.activeTab+"&appIcon="+t.$route.query.appIcon)}).catch(function(){})},changeRange:function(t){this.formData.selectList=[]},getCardData:function(){var t=this,e={coupCardId:t.$route.query.coupCardId,gicEnterpriseId:t.brandId};Object(l.a)("/haoban-app-customer-web/cardCoupon/find-card-coup-detail",e).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.list&&a.result.list.forEach(function(t){t.label=t.name,t.departmentId=t.id,t.storeGroupId=t.id,t.storeGroupName=t.name,t.departmentName=t.name,2==a.result.detail.sendRange&&(t.storeId=t.id)}),t.selectCoupCard=a.result.gicDetail,t.formData={id:a.result.detail.id,coupCardId:a.result.detail.coupCardId,sendRange:String(a.result.detail.sendRange),selectList:0!=a.result.detail.sendRange?2==a.result.detail.sendRange?a.result.list.map(function(t){return t.id}):a.result.list:[],eachSendTimes:a.result.detail.eachSendTimes,sendType:String(a.result.detail.sendType),totalSendTimes:a.result.detail.totalSendTimes},!1;s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&this.$route.query.coupCardId&&(this.activeBrand=t,this.getCardData())},activeGroupId:function(t,e){t&&(this.activeGroup=t)}},mounted:function(){var t=this;t.$emit("showTab","2"),t.$nextTick(function(){t.handleDay()}),t.activeBrand=t.brandId,t.$route.query.coupCardId&&t.brandId&&t.getCardData()}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"new-card-body border-box"},[a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.formData,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"卡券策略名称",prop:"cardStrategyName"}},[a("limitInput",{attrs:{inputWidth:340,inputValue:t.formData.cardStrategyName,getByType:"word",holder:"请输入卡券策略名称",maxLength:20},on:{"update:inputValue":function(e){t.$set(t.formData,"cardStrategyName",e)}}})],1),t._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[t._v("卡券选择策略")]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large is-required"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"支持多选,最多可选20个模板",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("选择卡券模板")])])],1),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("div",{staticClass:"card-add-btn text-center cursor-pointer",on:{click:t.showCardTemp}},[a("span",{staticClass:"font-14 color-606266"},[t._v("选择卡券模板")])]),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{staticClass:"select-table",style:{width:"100%"},attrs:{height:"450",data:t.formData.cardTempData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.templateName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.cardType?a("span",[t._v("抵金券")]):t._e(),t._v(" "),1==e.row.cardType?a("span",[t._v("折扣券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"有效期","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-select",{attrs:{placeholder:""},model:{value:e.row.dataType,callback:function(a){t.$set(e.row,"dataType",a)},expression:"scope.row.dataType"}},[a("el-option",{attrs:{label:"固定日期",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"发送后",value:"1"}})],1),t._v(" "),0==e.row.dataType?a("el-date-picker",{staticClass:"m-l-10 m-r-10",attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:t.changeDate},model:{value:e.row.dateRange,callback:function(a){t.$set(e.row,"dateRange",a)},expression:"scope.row.dateRange"}}):t._e(),t._v(" "),1==e.row.dataType?a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.row.dateDay,callback:function(a){t.$set(e.row,"dateDay",a)},expression:"scope.row.dateDay"}},t._l(t.dateOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})):t._e(),1==e.row.dataType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("有效,有效天数")]):t._e(),1==e.row.dataType?a("el-input-number",{attrs:{"controls-position":"right",min:1,max:366},model:{value:e.row.dateDayNum,callback:function(a){t.$set(e.row,"dateDayNum",a)},expression:"scope.row.dateDayNum"}}):t._e(),1==e.row.dataType?a("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送总数","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-select",{attrs:{placeholder:""},model:{value:e.row.limitType,callback:function(a){t.$set(e.row,"limitType",a)},expression:"scope.row.limitType"}},[a("el-option",{attrs:{label:"限制总数",value:"0"}})],1),a("el-input-number",{attrs:{"controls-position":"right",min:1,max:999999999},model:{value:e.row.dateDayNum,callback:function(a){t.$set(e.row,"dateDayNum",a)},expression:"scope.row.dateDayNum"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.toDelTemp(e.$index,e.row,t.formData.cardTempData)}}},[t._v("删除")])]}}])})],1)],1)])]),t._v(" "),a("div",{staticClass:"item-title font-14 color-303133 font-w-600"},[t._v("执行策略")]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"卡券的发送范围设置",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("发送范围")])])],1),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.sendType,callback:function(e){t.$set(t.formData,"sendType",e)},expression:"formData.sendType"}},[t._v("全企业")]),a("el-radio",{staticClass:"m-l-40",attrs:{label:"1"},model:{value:t.formData.sendType,callback:function(e){t.$set(t.formData,"sendType",e)},expression:"formData.sendType"}},[t._v("部分部门")]),t._v(" "),0==t.formData.sendType?a("div",{staticClass:"position-select"},[a("div",{staticClass:"position-check"},[a("el-checkbox",{model:{value:t.formData.filterCheck,callback:function(e){t.$set(t.formData,"filterCheck",e)},expression:"formData.filterCheck"}},[t._v("按职务筛选")])],1),t._v(" "),a("div",{staticClass:"position-check-tags"},[a("el-checkbox",{model:{value:t.formData.noPosition,callback:function(e){t.$set(t.formData,"noPosition",e)},expression:"formData.noPosition"}},[t._v("无职务")]),t._v(" "),t._l(t.formData.filterData,function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){t.handleClose(e)}}},[t._v("\n "+t._s(e)+"\n ")])}),t._v(" "),t.inputVisible?a("el-input",{ref:"saveTagInput",staticClass:"input-new-tag",attrs:{size:"small",maxlength:"20","show-word-limit":""},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleInputConfirm(e):null}},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:t.showInput}},[t._v("+ 添加职务")])],2)]):t._e()],1)]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"每月该策略针对单一成员执行几次",placement:"top-start"}},[a("span",{staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("策略执行次数")])])],1),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.executeType,callback:function(e){t.$set(t.formData,"executeType",e)},expression:"formData.executeType"}},[t._v("每月循环")]),a("el-radio",{attrs:{label:"1"},model:{value:t.formData.executeType,callback:function(e){t.$set(t.formData,"executeType",e)},expression:"formData.executeType"}},[t._v("多月循环")]),t._v(" "),0==t.formData.executeType?a("div",[a("span",{staticClass:"font-14 color-606266"},[t._v("每月")]),a("el-input-number",{attrs:{"controls-position":"right",min:1,max:9999},model:{value:t.formData.monthNum,callback:function(e){t.$set(t.formData,"monthNum",e)},expression:"formData.monthNum"}})],1):t._e(),t._v(" "),1==t.formData.executeType?a("div",[a("span",{staticClass:"font-14 color-606266"},[t._v("第")]),a("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:t.formData.multMonth,callback:function(e){t.$set(t.formData,"multMonth",e)},expression:"formData.multMonth"}},t._l(t.monthOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),a("el-input-number",{attrs:{"controls-position":"right",min:1,max:9999},model:{value:t.formData.multMonthNum,callback:function(e){t.$set(t.formData,"multMonthNum",e)},expression:"formData.multMonthNum"}})],1):t._e()],1)]),t._v(" "),a("div",{staticClass:"el-form-item el-form-item--large"},[a("label",{staticClass:"el-form-item__label",staticStyle:{width:"120px",cursor:"pointer"},attrs:{for:"name"}},[t._v("\n 策略有效期\n ")]),t._v(" "),a("div",{staticClass:"el-form-item__content",staticStyle:{"margin-left":"120px"}},[a("el-radio",{attrs:{label:"0"},model:{value:t.formData.vaildDateType,callback:function(e){t.$set(t.formData,"vaildDateType",e)},expression:"formData.vaildDateType"}},[t._v("长期有效")]),a("el-radio",{attrs:{label:"1"},model:{value:t.formData.vaildDateType,callback:function(e){t.$set(t.formData,"vaildDateType",e)},expression:"formData.vaildDateType"}},[t._v("固定期限")]),t._v(" "),1==t.formData.vaildDateType?a("div",[a("el-date-picker",{staticClass:"m-l-10 m-r-10",attrs:{"prefix-icon":"el-icon-time","picker-options":t.pickerOptions,editable:!1,"value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],type:"datetimerange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.formData.validDateRange,callback:function(e){t.$set(t.formData,"validDateRange",e)},expression:"formData.validDateRange"}})],1):t._e()],1)]),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("确认"+t._s(t.$route.query.coupCardId?"编辑":"新建"))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm","flag")}}},[t._v("确认并继续新建")])],1)],1)],1),t._v(" "),t.cardSelectShow?a("select-card",{attrs:{coupCardId:t.formData.coupCardId,brandId:t.brandId},on:{closeCard:t.closeCard,returnId:t.returnId}}):t._e()],1)},staticRenderFns:[]};var p=a("VU/8")(d,u,!1,function(t){a("KrU7")},"data-v-42601689",null);e.default=p.exports},KrU7:function(t,e){}});
\ No newline at end of file
webpackJsonp([71],{"/NA0":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),r=(a("j1ja"),a("hKoQ")),p=a.n(r),i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=a("VU/8")({name:"App",data:function(){return{}}},i,!1,function(e){a("/NA0")},null,null).exports,c=a("lRwf"),u=a.n(c),d=a("pRNm"),m=a.n(d),l=a("5tgt"),v=a.n(l);u.a.use(m.a);var h=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,g=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:v()("login","index")},{path:"/index",name:"index",component:v()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:v()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:v()("business","contacts")},{path:"/orgStructSet",name:"组织架构管理",component:v()("business","orgStructSet")},{path:"/recycle",name:"组织架构管理",component:v()("business","recycle")},{path:"/syncLog",name:"通讯录日志",component:v()("business","syncLog")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:v()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:v()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:v()("enterprise","adminList")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:v()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:v()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:v()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:v()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:v()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:v()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:v()("apps/customerApp","memberSearchSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:v()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:v()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:v()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:v()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:v()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:v()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:v()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:v()("apps/cloudDaily","customReportSet")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:v()("apps/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:v()("apps/trafficTask","taskRecord")},{path:"/taskView",name:"话务任务记录",component:v()("apps/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:v()("apps/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:v()("apps/badEvaluate","badEvaluateSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:v()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:v()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:v()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:v()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:v()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:v()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:v()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:v()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:v()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:v()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:v()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:v()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:v()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:v()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:v()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:v()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:v()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:v()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:v()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:v()("apps/protectCard","cardGetRecord")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:v()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:v()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:v()("reviewCenter","unreview")},{path:"/reviewSet",name:"审核设置",component:v()("reviewCenter","reviewSet")}]},{path:"/gic-error",name:"gic跳转失败页",component:v()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],D=new m.a({routes:g,scrollBehavior:function(){return{y:0}}}),S=a("zL8q"),w=a.n(S),y=a("Rf8U"),x=a.n(y),k=a("mtWM"),T=a.n(k),C=a("bOdI"),b=a.n(C),R=a("SJI6"),A=a.n(R);u.a.use(A.a);var E=new A.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(f={},b()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(f,"title",function(e,t){e.title=t}),b()(f,"show",function(e,t){e.show=t}),b()(f,"saveAdd",function(e,t){e.addDepartment.push(t)}),b()(f,"saveEdit",function(e,t){e.editDepartment.push(t)}),b()(f,"saveDel",function(e,t){e.delDepartment.push(t)}),b()(f,"clearAdd",function(e){e.addDepartment=[]}),b()(f,"clearEdit",function(e){e.editDepartment=[]}),b()(f,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),f),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),M=(a("4qCZ"),a("tvR6"),a("uKUT"),a("Xcu2"),a("xtVA"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),n={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+n+" "+r+":"+p+":"+i}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=a<10?"0"+a:a;return t.getFullYear()+"-"+n}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a;return t.getFullYear()+"-"+o+"-"+n}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+n+" "+r+":"+p+":"+i}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var n=Math.floor(a/864e5);console.log(a,n);var o=a%864e5,r=o%36e5;return n+"天"+Math.floor(o/36e5)+"小时"+Math.floor(r/6e4)+"分"}}}),P=a("TUaa"),L=a.n(P),V=a("tyqE"),q=a.n(V),H=a("pRVe"),I=a.n(H),Y=a("XsK6"),j=a.n(Y),G=a("QRL9"),N=a.n(G),O=a("2Pnh"),F=a.n(O),J=a("l9mu"),U=a.n(J),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;F()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,o=a/592.28*841.89,r=n,p=0,i=592.28/a*n,s=t.toDataURL("image/jpeg",1),c=new U.a("","pt","a4");if(r<o)c.addImage(s,"JPEG",0,0,595.28,i);else for(;r>0;)c.addImage(s,"JPEG",0,p,595.28,i),p-=841.89,(r-=o)>0&&c.addPage();c.save(e+".pdf")})}}},z=a("/IwO"),K=a.n(z);p.a.polyfill(),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(X),Vue.use(j.a),Vue.use(N.a),Vue.use(I.a),Vue.use(q.a),Vue.use(L.a),Vue.config.productionTip=!1,Vue.use(w.a,{size:"large"}),Vue.use(x.a,T.a),Vue.axios.defaults.withCredentials=!0,o()(M).forEach(function(e){Vue.filter(e,M[e])}),D.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var n=window.location.origin;n.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?a({path:"/login"}):a()}),new Vue({el:"#app",router:D,store:E,components:{App:s},template:"<App/>"})},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,37],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,58],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,44],"./apps/badEvaluate/index.vue":["AG22",0,24],"./apps/card/cardList.vue":["X5LE",0,42],"./apps/card/cardRecord.vue":["xDJN",0,11],"./apps/card/index.vue":["nV1L",0,34],"./apps/card/newCard.vue":["7/Zw",0,6],"./apps/cloudDaily/customReport.vue":["ak3k",0,31],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,4],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,16],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,19],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,51],"./apps/cloudDaily/index.vue":["4QyY",0,36],"./apps/cloudDaily/systemReport.vue":["J/6z",0,5],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,26],"./apps/cloudDaily/template/block.vue":["O3gZ",41],"./apps/cloudDaily/template/date-range.vue":["2WGr",43],"./apps/cloudDaily/template/image.vue":["8dpP",57],"./apps/cloudDaily/template/input.vue":["zHtI",67],"./apps/cloudDaily/template/select.vue":["rYZf",52],"./apps/customerApp/index.vue":["QHTa",0,39],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,25],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,40],"./apps/customerApp/memberShowSet.vue":["odfG",0,55],"./apps/index.vue":["K1Vb",0,46],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,33],"./apps/protectCard/cardPut.vue":["cD4x",0,50],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,49],"./apps/protectCard/cardStrategy.vue":["rUvh",0,60],"./apps/protectCard/cardTemplate.vue":["c7iB",0,65],"./apps/protectCard/index.vue":["aWmL",0,29],"./apps/protectCard/newCardPut.vue":["9db3",0,7],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,45],"./apps/protectCard/newCardTemp.vue":["tF0P",0,47],"./apps/quota/companyDaySet.vue":["NiGE",0,64],"./apps/quota/index.vue":["qSX4",0,30],"./apps/quota/monthList.vue":["fAFA",0,54],"./apps/quota/monthTask.vue":["NpHY",0,32],"./apps/quota/monthTaskDetail.vue":["YKf6",0,59],"./apps/quota/salerMonthDetail.vue":["+qr5",0,68],"./apps/quota/storeMonthTask.vue":["qWC+",0,63],"./apps/trafficTask/index.vue":["FmZU",0,62],"./apps/trafficTask/taskDetail.vue":["XrDD",0,13],"./apps/trafficTask/taskRecord.vue":["m+x7",0,56],"./apps/trafficTask/taskView.vue":["w2fd",0,22],"./apps/trafficTask/taskViewDetail.vue":["SBUJ",0,38],"./apps/trafficTask/trafficTaskSet.vue":["OUXi",0,69],"./business/contacts.vue":["/W60",0,2],"./business/index.vue":["jPcV",0,66],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,14],"./business/syncLog.vue":["20P3",0,9],"./enterprise/adminList.vue":["zYBJ",0,27],"./enterprise/enterpriseSet.vue":["x5Fx",0,12],"./enterprise/index.vue":["m9dW",0,28],"./errorPage/403.vue":["6XGN",21],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",18],"./errorPage/gic-error.vue":["Q3j/",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,15],"./login/index.vue":["T+/8",0,17],"./overstore/index.vue":["Y55K",0,53],"./overstore/overStoreList.vue":["vuAV",0,35],"./reviewCenter/index.vue":["+lem",0,61],"./reviewCenter/reviewSet.vue":["6j9f",0,48],"./reviewCenter/reviewed.vue":["CLYF",0,10],"./reviewCenter/unreview.vue":["xCEU",0,8]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},tvR6:function(e,t){},uKUT:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file
webpackJsonp([71],{"/NA0":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(n){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){n(e)})}}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("fZjL"),o=a.n(n),r=(a("j1ja"),a("hKoQ")),p=a.n(r),i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=a("VU/8")({name:"App",data:function(){return{}}},i,!1,function(e){a("/NA0")},null,null).exports,c=a("lRwf"),u=a.n(c),d=a("pRNm"),m=a.n(d),l=a("5tgt"),v=a.n(l);u.a.use(m.a);var h=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var f,g=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:v()("login","index")},{path:"/index",name:"index",component:v()("index","index")},{path:"/contacts",name:"通讯录",redirect:"contactsList",component:v()("business","index"),children:[{path:"/contactsList",name:"通讯录",component:v()("business","contacts")},{path:"/orgStructSet",name:"组织架构管理",component:v()("business","orgStructSet")},{path:"/recycle",name:"组织架构管理",component:v()("business","recycle")},{path:"/syncLog",name:"通讯录日志",component:v()("business","syncLog")}]},{path:"/enterprise",name:"企业设置",redirect:"enterpriseSet",component:v()("enterprise","index"),children:[{path:"/enterpriseSet",name:"企业信息",component:v()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:v()("enterprise","adminList")}]},{path:"/overStore",name:"溢出门店",redirect:"unreview",component:v()("overstore","index"),children:[{path:"/overStoreList",name:"溢出门店",component:v()("overstore","overStoreList")}]},{path:"/apps",name:"企业应用",redirect:"mycustomer",component:v()("apps","index"),children:[{path:"/mycustomer",name:"我的顾客的",redirect:"/memberShowSet",component:v()("apps/customerApp","index"),children:[{path:"/memberShowSet",name:"会员展示设置",component:v()("apps/customerApp","memberShowSet")},{path:"/memberGroupSet",name:"会员分组设置",component:v()("apps/customerApp","memberGroupSet")},{path:"/memberSearchSet",name:"会员搜索设置",component:v()("apps/customerApp","memberSearchSet")}]},{path:"/cloudDaily",name:"云日报",redirect:"/dailyRecord",component:v()("apps/cloudDaily","index"),children:[{path:"/dailyRecord",name:"云日报记录",component:v()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:v()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:v()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:v()("apps/cloudDaily","taskAssign")},{path:"/systemReport",name:"系统报表",component:v()("apps/cloudDaily","systemReport")},{path:"/customReport",name:"自定义报表",component:v()("apps/cloudDaily","customReport")},{path:"/customReportSet",name:"自定义报表设置",component:v()("apps/cloudDaily","customReportSet")}]},{path:"/trafficTask",name:"话务任务",redirect:"/taskRecord",component:v()("apps/trafficTask","index"),children:[{path:"/taskRecord",name:"话务任务记录",component:v()("apps/trafficTask","taskRecord")},{path:"/taskView",name:"话务任务记录",component:v()("apps/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:v()("apps/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:v()("apps/trafficTask","trafficTaskSet")},{path:"/badEvaluateSet",name:"不良评价设置",component:v()("apps/badEvaluate","badEvaluateSet")}]},{path:"/quota",name:"指标管理",redirect:"/monthList",component:v()("apps/quota","index"),children:[{path:"/monthList",name:"月指标列表",component:v()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:v()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:v()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:v()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:v()("apps/quota","monthTask"),meta:{keepAlive:!0}},{path:"/monthTaskDetail",name:"月指标任务详情",component:v()("apps/quota","monthTaskDetail"),meta:{keepAlive:!0}}]},{path:"/cardList",name:"卡券赠送",redirect:"/cardList",component:v()("apps/card","index"),children:[{path:"/cardList",name:"卡券列表",component:v()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:v()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:v()("apps/card","newCard")}]},{path:"/protectCard",name:"内购券",redirect:"/cardTemplate",component:v()("apps/protectCard","index"),children:[{path:"/cardTemplate",name:"卡券模板",component:v()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:v()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:v()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:v()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:v()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:v()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:v()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:v()("apps/protectCard","cardGetRecord")}]}]},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:v()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:v()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:v()("reviewCenter","unreview")},{path:"/reviewSet",name:"审核设置",component:v()("reviewCenter","reviewSet")}]},{path:"/gic-error",name:"gic跳转失败页",component:v()("errorPage","gic-error")},{path:"/403",name:"无权访问",component:h},{path:"/404",name:"error404",component:h},{path:"/500",name:"error500",component:h},{path:"*",redirect:"/404",hidden:!0}],D=new m.a({routes:g,scrollBehavior:function(){return{y:0}}}),S=a("zL8q"),w=a.n(S),y=a("Rf8U"),x=a.n(y),k=a("mtWM"),T=a.n(k),C=a("bOdI"),b=a.n(C),R=a("SJI6"),A=a.n(R);u.a.use(A.a);var E=new A.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[]},mutations:(f={},b()(f,"login",function(e,t){sessionStorage.token=t,e.token=t}),b()(f,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),b()(f,"title",function(e,t){e.title=t}),b()(f,"show",function(e,t){e.show=t}),b()(f,"saveAdd",function(e,t){e.addDepartment.push(t)}),b()(f,"saveEdit",function(e,t){e.editDepartment.push(t)}),b()(f,"saveDel",function(e,t){e.delDepartment.push(t)}),b()(f,"clearAdd",function(e){e.addDepartment=[]}),b()(f,"clearEdit",function(e){e.editDepartment=[]}),b()(f,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),f),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")}}}),M=(a("4qCZ"),a("tvR6"),a("uKUT"),a("Xcu2"),a("xtVA"),{dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),n={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var o in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?n[o]:("00"+n[o]).substr((""+n[o]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+o+"-"+n+" "+r+":"+p+":"+i}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=a<10?"0"+a:a;return t.getFullYear()+"-"+n}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a;return t.getFullYear()+"-"+o+"-"+n}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),p=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+o+"."+n+" "+r+":"+p+":"+i}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(console.log(a),a<0)return"";var n=Math.floor(a/864e5);console.log(a,n);var o=a%864e5,r=o%36e5;return n+"天"+Math.floor(o/36e5)+"小时"+Math.floor(r/6e4)+"分"}}}),P=a("TUaa"),L=a.n(P),V=a("tyqE"),q=a.n(V),H=a("pRVe"),I=a.n(H),Y=a("XsK6"),j=a.n(Y),G=a("QRL9"),N=a.n(G),O=a("2Pnh"),F=a.n(O),J=a("l9mu"),U=a.n(J),X={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;F()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,n=t.height,o=a/592.28*841.89,r=n,p=0,i=592.28/a*n,s=t.toDataURL("image/jpeg",1),c=new U.a("","pt","a4");if(r<o)c.addImage(s,"JPEG",0,0,595.28,i);else for(;r>0;)c.addImage(s,"JPEG",0,p,595.28,i),p-=841.89,(r-=o)>0&&c.addPage();c.save(e+".pdf")})}}},z=a("/IwO"),K=a.n(z);p.a.polyfill(),Vue.use(K.a),K.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),Vue.use(X),Vue.use(j.a),Vue.use(N.a),Vue.use(I.a),Vue.use(q.a),Vue.use(L.a),Vue.config.productionTip=!1,Vue.use(w.a,{size:"large"}),Vue.use(x.a,T.a),Vue.axios.defaults.withCredentials=!0,o()(M).forEach(function(e){Vue.filter(e,M[e])}),D.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var n=window.location.origin;n.indexOf("localhost"),localStorage.getItem("userInfos"),"/"==e.path?a({path:"/login"}):a()}),new Vue({el:"#app",router:D,store:E,components:{App:s},template:"<App/>"})},Opzk:function(e,t,a){var n={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,37],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,58],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,44],"./apps/badEvaluate/index.vue":["AG22",0,24],"./apps/card/cardList.vue":["X5LE",0,42],"./apps/card/cardRecord.vue":["xDJN",0,11],"./apps/card/index.vue":["nV1L",0,34],"./apps/card/newCard.vue":["7/Zw",0,6],"./apps/cloudDaily/customReport.vue":["ak3k",0,31],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,4],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,16],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,19],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,51],"./apps/cloudDaily/index.vue":["4QyY",0,36],"./apps/cloudDaily/systemReport.vue":["J/6z",0,5],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,26],"./apps/cloudDaily/template/block.vue":["O3gZ",41],"./apps/cloudDaily/template/date-range.vue":["2WGr",43],"./apps/cloudDaily/template/image.vue":["8dpP",57],"./apps/cloudDaily/template/input.vue":["zHtI",67],"./apps/cloudDaily/template/select.vue":["rYZf",52],"./apps/customerApp/index.vue":["QHTa",0,39],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,25],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,40],"./apps/customerApp/memberShowSet.vue":["odfG",0,55],"./apps/index.vue":["K1Vb",0,45],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,33],"./apps/protectCard/cardPut.vue":["cD4x",0,50],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,49],"./apps/protectCard/cardStrategy.vue":["rUvh",0,60],"./apps/protectCard/cardTemplate.vue":["c7iB",0,65],"./apps/protectCard/index.vue":["aWmL",0,29],"./apps/protectCard/newCardPut.vue":["9db3",0,7],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,46],"./apps/protectCard/newCardTemp.vue":["tF0P",0,47],"./apps/quota/companyDaySet.vue":["NiGE",0,64],"./apps/quota/index.vue":["qSX4",0,30],"./apps/quota/monthList.vue":["fAFA",0,54],"./apps/quota/monthTask.vue":["NpHY",0,32],"./apps/quota/monthTaskDetail.vue":["YKf6",0,59],"./apps/quota/salerMonthDetail.vue":["+qr5",0,68],"./apps/quota/storeMonthTask.vue":["qWC+",0,63],"./apps/trafficTask/index.vue":["FmZU",0,62],"./apps/trafficTask/taskDetail.vue":["XrDD",0,13],"./apps/trafficTask/taskRecord.vue":["m+x7",0,56],"./apps/trafficTask/taskView.vue":["w2fd",0,22],"./apps/trafficTask/taskViewDetail.vue":["SBUJ",0,38],"./apps/trafficTask/trafficTaskSet.vue":["OUXi",0,69],"./business/contacts.vue":["/W60",0,2],"./business/index.vue":["jPcV",0,66],"./business/orgStructSet.vue":["OI5V",0,3],"./business/recycle.vue":["K8Yn",0,14],"./business/syncLog.vue":["20P3",0,9],"./enterprise/adminList.vue":["zYBJ",0,27],"./enterprise/enterpriseSet.vue":["x5Fx",0,12],"./enterprise/index.vue":["m9dW",0,28],"./errorPage/403.vue":["6XGN",21],"./errorPage/404.vue":["AejC",23],"./errorPage/500.vue":["FskK",18],"./errorPage/gic-error.vue":["Q3j/",20],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,15],"./login/index.vue":["T+/8",0,17],"./overstore/index.vue":["Y55K",0,53],"./overstore/overStoreList.vue":["vuAV",0,35],"./reviewCenter/index.vue":["+lem",0,61],"./reviewCenter/reviewSet.vue":["6j9f",0,48],"./reviewCenter/reviewed.vue":["CLYF",0,10],"./reviewCenter/unreview.vue":["xCEU",0,8]};function o(e){var t=n[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}o.keys=function(){return Object.keys(n)},o.id="Opzk",e.exports=o},SJI6:function(e,t){e.exports=Vuex},Xcu2:function(e,t){},lRwf:function(e,t){e.exports=Vue},pRNm:function(e,t){e.exports=VueRouter},tvR6:function(e,t){},uKUT:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={72:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"6278851ab2f8738be7cd",1:"06c4e42e62c1f75191f0",2:"b4328de438a4be130bd8",3:"c57f32b5c67eff7cc74f",4:"0c4035e975d226e63de6",5:"bf21cfa1832c94ed8d4c",6:"b559d7c450cafcef2cc6",7:"e0c1956cf72584a9caaf",8:"1eccf95fedaceb551bcf",9:"f1e77d4e884e3daa0830",10:"a81bbfd480713a302df5",11:"0fc7a500efce21cdbb6e",12:"9725f70f55ff0feba6a0",13:"4ad54881d4a025614cf7",14:"dfb79c50b1fea2248905",15:"5f624608d12f6c586c59",16:"e7a85cd2f25116b194f6",17:"ebf1847c50132c6f96a7",18:"7fa0be27d3ea523f8826",19:"63ca1f785b71646ef739",20:"4649bcd0a25ea6ac67f3",21:"b9552ac568217b38c707",22:"a3681c6a337ad49aeb4b",23:"e507c496e766217ec178",24:"a89c78a7ed5ce6306ba7",25:"2ace14fbe14628825f30",26:"0e68f81c2d32fec5abdb",27:"1be63d7a49a9d810516f",28:"65284e7ae64fa171aabc",29:"907ccfaaf55fcab94f0e",30:"52e3b749752a83f92d3a",31:"b35760a5e984eafe16fb",32:"648e00249c751be0ef72",33:"819cf2e274085a903a23",34:"8bcde76a87998e61eecb",35:"cf76e4b74afa283a3eec",36:"ac81ef630923456184e4",37:"f43da4e4e894a104b34e",38:"5f4ce05b4c8050e7ac44",39:"63dc54f1a6b7a04b4d41",40:"cda2471a85245dcfc0da",41:"323d5f1c2fbe72c50184",42:"6b570b5f9aa128436f6c",43:"9d8e65affd568de30a3f",44:"e0ddfc31839e7984dba3",45:"8f416b8a8941ef37ee0f",46:"6b1c3a3f67f361adcdfc",47:"147c6b319fdec8e3ec7c",48:"473edfc17340f68bf019",49:"6c0274cc0de2acee760e",50:"9d10a59df9523cc860c2",51:"3fd34d332c39c50a3a23",52:"c35848d057d376916c18",53:"628ba60632238a139fec",54:"daa80d1351d0a691e219",55:"1364c530c40be3757b29",56:"62ab6c7a18c0285d1817",57:"34f1fdd5840aff40d709",58:"9ba4ff48fdfefaa3d203",59:"ca0e2cd84f2e938ee47a",60:"86a2630166704604be90",61:"c8bf83503933dbb0d3a7",62:"c150bd9c93df08960929",63:"ab752ec3ccf9371f123b",64:"3b820a9237f2357ff5ae",65:"163afd1cc6174720ed0e",66:"d83b81ba889c535b2569",67:"5fb5009212972df8959b",68:"83851f59efe48e8d85fd",69:"a85af8948bfc87b0850f"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={72:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"6278851ab2f8738be7cd",1:"06c4e42e62c1f75191f0",2:"b4328de438a4be130bd8",3:"c57f32b5c67eff7cc74f",4:"0c4035e975d226e63de6",5:"bf21cfa1832c94ed8d4c",6:"b559d7c450cafcef2cc6",7:"e0c1956cf72584a9caaf",8:"1eccf95fedaceb551bcf",9:"f1e77d4e884e3daa0830",10:"a81bbfd480713a302df5",11:"0fc7a500efce21cdbb6e",12:"9725f70f55ff0feba6a0",13:"4ad54881d4a025614cf7",14:"dfb79c50b1fea2248905",15:"5f624608d12f6c586c59",16:"e7a85cd2f25116b194f6",17:"ebf1847c50132c6f96a7",18:"7fa0be27d3ea523f8826",19:"63ca1f785b71646ef739",20:"4649bcd0a25ea6ac67f3",21:"b9552ac568217b38c707",22:"a3681c6a337ad49aeb4b",23:"e507c496e766217ec178",24:"a89c78a7ed5ce6306ba7",25:"2ace14fbe14628825f30",26:"0e68f81c2d32fec5abdb",27:"1be63d7a49a9d810516f",28:"65284e7ae64fa171aabc",29:"907ccfaaf55fcab94f0e",30:"52e3b749752a83f92d3a",31:"b35760a5e984eafe16fb",32:"648e00249c751be0ef72",33:"819cf2e274085a903a23",34:"8bcde76a87998e61eecb",35:"cf76e4b74afa283a3eec",36:"ac81ef630923456184e4",37:"f43da4e4e894a104b34e",38:"5f4ce05b4c8050e7ac44",39:"63dc54f1a6b7a04b4d41",40:"cda2471a85245dcfc0da",41:"323d5f1c2fbe72c50184",42:"6b570b5f9aa128436f6c",43:"9d8e65affd568de30a3f",44:"e0ddfc31839e7984dba3",45:"7ed750c4b7a52ade71ec",46:"c49f2400c1d9fc73db37",47:"147c6b319fdec8e3ec7c",48:"473edfc17340f68bf019",49:"6c0274cc0de2acee760e",50:"9d10a59df9523cc860c2",51:"3fd34d332c39c50a3a23",52:"c35848d057d376916c18",53:"628ba60632238a139fec",54:"daa80d1351d0a691e219",55:"1364c530c40be3757b29",56:"62ab6c7a18c0285d1817",57:"34f1fdd5840aff40d709",58:"9ba4ff48fdfefaa3d203",59:"ca0e2cd84f2e938ee47a",60:"86a2630166704604be90",61:"c8bf83503933dbb0d3a7",62:"c150bd9c93df08960929",63:"ab752ec3ccf9371f123b",64:"3b820a9237f2357ff5ae",65:"163afd1cc6174720ed0e",66:"d83b81ba889c535b2569",67:"5fb5009212972df8959b",68:"83851f59efe48e8d85fd",69:"a85af8948bfc87b0850f"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-13 15:27:46
* @LastEditors: 无尘
* @LastEditTime: 2020-04-22 16:18:50
* @LastEditTime: 2020-04-22 16:27:42
-->
<template>
......@@ -475,7 +475,10 @@ export default {
mounted() {
const that = this;
that.$emit('showTab', '2');
that.handleDay();
that.$nextTick(() => {
that.handleDay();
});
that.activeBrand = that.brandId;
if (that.$route.query.coupCardId && that.brandId) {
that.getCardData();
......
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