Commit 0545b20f by Jings

update: dist

parent db1bd7d4
<!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.76.css><script src=//at.alicdn.com/t/font_1628375_vcg1gtmx7lb.js></script><link rel=stylesheet href=//at.alicdn.com/t/font_2859043_udehp133w1.css><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.77e8ec8b0494120fd9d6db4050a21cea.css rel=stylesheet></head><body class=damolish><div id=app></div><script>(function() {
<!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.76.css><script src=//at.alicdn.com/t/font_1628375_vcg1gtmx7lb.js></script><link rel=stylesheet href=//at.alicdn.com/t/font_2859043_udehp133w1.css><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.9fc8a592d977c2ef2397f839308a0d22.css rel=stylesheet></head><body class=damolish><div id=app></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.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.2a316495cf9747dbd963.js></script><script type=text/javascript src=./static/js/vendor.01dc77f7336738e5cf77.js></script><script type=text/javascript src=./static/js/app.90fef4f1ce1a81330396.js></script></body></html>
\ No newline at end of file
})()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.aa2b703aa729c0618803.js></script><script type=text/javascript src=./static/js/vendor.4076faa8c37148ddb5c4.js></script><script type=text/javascript src=./static/js/app.b253d19d819084a46ae8.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([100],{MZIo:function(t,e){},QZxC:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),i=a.n(s),l=a("P9l9"),r=a("Ch4/"),o={name:"authMerchant",data:function(){return{pageParams:{pageNum:1,pageSize:20,enterpriseId:this.$route.query.enterprise||""},total:0,tableData:[],addShow:!1}},computed:{},methods:{toInput:function(t){this.pageParams.pageNum=1,this.getTableList()},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){this.pageParams.pageNum=1,this.pageParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.pageParams.pageNum=t,this.getTableList()},getTableList:function(t){var e=this,a=this,s=i()({},this.pageParams);Object(l.b)("/haoban-manage3-web/bind-store-list",s).then(function(t){var s=t.data;if(1==s.errorCode&&s.result)return a.tableData=s.result.result||[],e.total=s.result.totalCount||0,!1;a.tableData=[],r.a.errorMsg(s)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.getTableList()}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition m-b-19"},[a("el-input",{staticClass:"w-264 ",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return t.toInput(e)}},model:{value:t.pageParams.search,callback:function(e){t.$set(t.pageParams,"search",e)},expression:"pageParams.search"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"门店 ","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticClass:"gic-name color-606266"},[t._v(t._s(e.row.storeName||""))]),t._v(" "),a("p",{staticClass:"gic-version color-606266"},[t._v(t._s(e.row.storeCode||""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"门店分组","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeGroupName||""))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"绑定时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])})],1),t._v(" "),t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.pageParams.pageNum,"page-sizes":[10,20,30],"page-size":t.pageParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip m-b-19"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-center w-604",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-warning font-13 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("授权范围:展示授权商户资源组全部授权范围,包含关联企业的门店和未关联企业的门店")])])])])}]};var c=a("VU/8")(o,n,!1,function(t){a("MZIo")},"data-v-33b05384",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([100],{VF3b:function(t,e){},X5LE:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),i=a.n(o),s=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),d=a("P9l9"),u={components:{},props:{brandId:{type:String,default:""}},data:function(){return{loading:!1,searchInput:"",tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(d.g)("/haoban-app-customer-web/cardCoupon/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),e.currentPage=1,void e.getTableList(e.brandId);100013==a.errorCode&&(e.currentPage=1,e.getTableList(e.brandId)),s.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/editCard?coupCardId="+e.coupCardId)},toInput:Object(c.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCard")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return i()(r.a.mark(function e(){var a,n;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!0,n={gicEnterpriseId:a.brandId,search:a.searchInput||"",pageNum:a.currentPage,pageSize:a.pageSize},Object(d.g)("/haoban-app-customer-web/cardCoupon/find-card-page",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result.list||[],void(a.total=e.result.pageInfo?e.result.pageInfo.total:0);s.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.brandId&&this.getTableList()}},p={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入卡券名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addCard)?a("el-button",{attrs:{"limit-code":t.$buttonCode.addCard,type:"primary",disabled:t.$store.state.wxEnterpriseType},on:{click:t.toNewCard}},[t._v("新增卡券")]):t._e()],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":"","min-width":"200px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型","min-width":"80px"},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(" "),2==e.row.cardType?a("span",[t._v("兑换券")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券模板有效期","show-overflow-tooltip":"","min-width":"260px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.effectDateString||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"库存","min-width":"100px"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.couponStock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"卡券库状态",prop:"cardStatus","min-width":"90px"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[0==n.cardStatus?a("span",{staticClass:"state-point state-point-error"},[t._v("已删除")]):t._e(),t._v(" "),1==n.cardStatus?a("span",{staticClass:"state-point state-point-success"},[t._v("正常")]):t._e(),t._v(" "),2==n.cardStatus?a("span",{staticClass:"state-point state-point-error"},[t._v("已过期")]):t._e(),t._v(" "),3==n.cardStatus?a("span",{staticClass:"state-point state-point-default"},[t._v("未生效")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"创建人",prop:"creatorName","show-overflow-tooltip":"","min-width":"120px"}}),t._v(" "),a("el-table-column",{attrs:{label:"编辑人",prop:"modifierName","show-overflow-tooltip":"","min-width":"120px"}}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间",prop:"createTime","min-width":"120px"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return a("div",{staticStyle:{"line-height":"normal"}},[n.createTime?[a("p",[t._v(t._s(t._f("timeStampToYmd")(n.createTime)))]),t._v(" "),a("p",[t._v(t._s(t._f("timeStampToHms")(n.createTime)))])]:[t._v("--")]],2)}}])}),t._v(" "),t.$getButtonLimit(t.$buttonCode.editCard)||t.$getButtonLimit(t.$buttonCode.delCard)?a("el-table-column",{attrs:{prop:"",label:"操作","show-overflow-tooltip":"","min-width":"150px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$getButtonLimit(t.$buttonCode.editCard)?a("el-button",{attrs:{"limit-code":t.$buttonCode.editCard,type:"text",disabled:t.$store.state.wxEnterpriseType},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delCard)?a("el-button",{attrs:{"limit-code":t.$buttonCode.delCard,type:"text",disabled:t.$store.state.wxEnterpriseType},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var f=a("VU/8")(u,p,!1,function(t){a("VF3b")},"data-v-3c35e7f3",null);e.default=f.exports}});
\ No newline at end of file
webpackJsonp([101],{iGSV:function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),o=e("bzW+"),c=e("Qie6"),s=e("Z8ln"),r=e("Ch4/"),h=e("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],navName:{1:"月指标",11:"门店月指标",111:"导购月指标详情",12:"商户日权重月指标",2:"月指标任务",21:"月指标任务详情"},navFrontPath:{1:"/monthList",11:"/monthList",111:"/storeMonthTask",12:"/monthList",13:"/monthList",2:"/monthList",21:"/monthTask"},activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(h.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?r.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath[a.navpath.length-1].path="111"===t?a.navFrontPath[t]+"?yearMonth="+a.$route.query.yearMonth:a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o.a,commonDetailLeft:c.a,expiredDialog:s.a}},v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var u=e("VU/8")(d,v,!1,function(t){e("iGSV")},"data-v-33085ebf",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([101],{c7iB:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),s=a.n(n),r=a("exGp"),i=a.n(r),o=a("Ch4/"),l=a("3E4D"),c=a("PI0u"),u=a("P9l9"),p={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",searchInput:"",loading:!1,tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},methods:{toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.templateId)}).catch(function(){})},delCardList:function(t){var e=this,a={templateId:t};Object(u.g)("/haoban-app-customer-web/inner/delete-template",a).then(function(t){var a=t.data;if(1==a.errorCode)return l.a.showmsg("删除成功","success"),void e.getTableList();o.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/newCardTemp?templateId="+e.templateId)},toInput:Object(c.a)(function(t,e){this.currentPage=1,this.getTableList(this.brandId)},500),clearInput:function(){this.currentPage=1,this.getTableList(this.brandId)},toNewCard:function(){this.$router.push("/newCardTemp")},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},changeYear:function(){this.currentPage=1,this.getTableList()},getTableList:function(){var t=this;return i()(s.a.mark(function e(){var a,n;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(a=t).loading=!0,n={wxEnterpriseId:a.wxEnterpriseId,search:a.searchInput||""},Object(u.g)("/haoban-app-customer-web/inner/list-template",n).then(function(t){var e=t.data;if(a.loading=!1,1==e.errorCode)return a.tableData=e.result||[],void(!a.searchInput&&e.result&&e.result.length&&(a.total=e.result.length));o.a.errorMsg(e)}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})});case 4:case"end":return e.stop()}},e,t)}))()}},mounted:function(){this.$emit("showTab","1"),this.getTableList()}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入模板名称",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("span",{staticClass:"font-12 color-909399 p-l-10 font-w-300"},[t._v("内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板")])],1),t._v(" "),t._m(0)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 0px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"卡券模板名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.templateName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券类型"},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[t._v(t._s(e.row.commitName||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"最近编辑时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDel(e.$index,e.row)}}},[t._v("删除")])]}}])})],1)],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title"},[this._v("微信卡券将暂停服务,后续优化后开放新增功能")])])])}]};var f=a("VU/8")(p,d,!1,function(t){a("p/+T")},"data-v-39c481ce",null);e.default=f.exports},"p/+T":function(t,e){}});
\ No newline at end of file
webpackJsonp([102],{VKgB:function(t,e){},rYZf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"select-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,a=0;a<t.length;a++){null!=t.charAt(a).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex"},[a("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]),t._v(" "),a("div",{staticClass:"draged-item-show"},[a("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),a("i",{staticClass:"el-icon-arrow-right"})])])])},staticRenderFns:[]};var l=a("VU/8")(s,i,!1,function(t){a("VKgB")},"data-v-39067a2d",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([102],{PHc5:function(t,e){},dhLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ch4/"),s=a("3E4D"),o=a("PI0u"),i=a("P9l9"),r={components:{},props:{brandId:{type:String,default:""}},data:function(){var t=this;return{recordShow:!1,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},activeId:"2",conditionObj:{postDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,n=e.minDate;t.choiceDateCopy=[n.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,n=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>n}}},templateData:[],strategyData:[],loading:!1,tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(i.g)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return s.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(o.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this;t.loading=!0,t.conditionObj.postDateRange||(t.conditionObj.postDateRange=[]);var e={wxEnterpriseId:t.wxEnterpriseId,search:t.conditionObj.searchInput,queryType:1,sendStartDate:t.conditionObj.postDateRange[0],sendEndDate:t.conditionObj.postDateRange[1],pageNum:t.currentPage,pageSize:t.pageSize};Object(i.g)("/haoban-app-customer-web/inner/find-card-log-page",e).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab","41"),this.getTableList()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-date-picker",{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:t.conditionObj.postDateRange,callback:function(e){t.$set(t.conditionObj,"postDateRange",e)},expression:"conditionObj.postDateRange"}}),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"成员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headImg?a("img",{attrs:{src:e.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[t._v(t._s(e.row.staffName||"--"))]),t._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"font-14 color-606266 line-18"},[t._v(t._s(e.row.memberName||"--"))]),t._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发券渠道","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n 好办内购券\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[3==e.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):t._e(),4==e.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):t._e(),5==e.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):t._e(),6==e.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):t._e(),7==e.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):t._e(),8==e.row.status?a("span",{staticClass:"status-dot bg-faad14"}):t._e(),a("span",{staticClass:"inline-block"},[t._v(t._s(t.statusObj[e.row.status]))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.createDate?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createDate)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createDate)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.receiveTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.receiveTime)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.useTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.useTime)))])]):a("div",[t._v("\n --\n ")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("PHc5")},"data-v-316cb52b",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([103],{XrL3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("3E4D"),o=e("Ch4/"),n=e("PI0u"),r=e("P9l9"),l={name:"app-detail",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{salesGoodsFlag:!1,notSalesGoodsFlag:!1,showPriceFlag:!1},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var a=this,e={enterpriseId:a.brandId,salesGoodsFlag:a.myCustomData.salesGoodsFlag?1:"0",notSalesGoodsFlag:a.myCustomData.notSalesGoodsFlag?1:"0",showPriceFlag:a.myCustomData.showPriceFlag?1:"0"};Object(r.g)("/haoban-app-aggregation-web/save-goods-setting",e).then(function(t){var e=t.data;a.loading=!1,a.getCustomerSet(),1!=e.errorCode?o.a.errorMsg(e):s.a.showmsg("保存成功","success")}).catch(function(t){a.loading=!1,a.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var a=this,e={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(r.g)("/haoban-app-aggregation-web/find-goods-setting",e).then(function(t){var e=t.data;1!=e.errorCode?o.a.errorMsg(e):e.result&&(a.myCustomData.salesGoodsFlag=1==e.result.salesGoodsFlag,a.myCustomData.notSalesGoodsFlag=1==e.result.notSalesGoodsFlag,a.myCustomData.showPriceFlag=1==e.result.showPriceFlag)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,a){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.brandId&&this.getCustomerSet(this.brandId)},components:{}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-detail-wrap"},[e("div",{staticClass:"app-detail-pane border-box p-20"},[e("div",{staticClass:"m-b-20"},[e("span",{staticClass:"font-14 p-r-10"},[t._v("商品展示:")]),t._v(" "),e("el-checkbox",{model:{value:t.myCustomData.salesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"salesGoodsFlag",a)},expression:"myCustomData.salesGoodsFlag"}},[t._v("已上架商品")]),e("el-checkbox",{model:{value:t.myCustomData.notSalesGoodsFlag,callback:function(a){t.$set(t.myCustomData,"notSalesGoodsFlag",a)},expression:"myCustomData.notSalesGoodsFlag"}},[t._v("未上架商品")])],1),t._v(" "),e("div",[e("el-switch",{model:{value:t.myCustomData.showPriceFlag,callback:function(a){t.$set(t.myCustomData,"showPriceFlag",a)},expression:"myCustomData.showPriceFlag"}}),e("span",{staticClass:"font-14 color-303133 p-l-10"},[t._v("商品详情屏蔽价格")]),e("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,商品列表及商品详情中会屏蔽价格字段。关闭后显示价格。")])],1),t._v(" "),e("div",{staticClass:"m-t-46"},[t.$getButtonLimit(t.$buttonCode.saveGoodsSet)?e("el-button",{attrs:{"limit-code":t.$buttonCode.saveGoodsSet,type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(a){return t.submit("searchFlag")}}},[t._v("保 存")]):t._e()],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("vglG")},"data-v-2840617b",null);a.default=d.exports},vglG:function(t,a){}});
\ No newline at end of file
webpackJsonp([103],{"4f1d":function(t,a){},aWmL:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("Qie6"),c=e("Z8ln"),o=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"内购券",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"内购券",path:""}],tabListData:[{tabId:"1",tabName:"卡券模板",icon:"iconmoban"},{tabId:"2",tabName:"卡券策略",icon:"iconcelve"},{tabId:"3",tabName:"内购券投放",icon:"icontoufang2"},{tabId:"4",tabName:"内购券记录",icon:"iconqiaquan",onlyIconActive:!1,children:[{tabId:"41",tabName:"投放记录",icon:""},{tabId:"42",tabName:"领取记录",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?o.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("cardTemplate");break;case"2":this.changeRoute("cardStrategy");break;case"3":this.changeRoute("cardPut");break;case"4":case"41":this.changeRoute("cardPutRecord");break;case"42":this.changeRoute("cardGetRecord")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/newCardTemp"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"/newCardStrategy"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.policyId?"编辑策略":"新建策略",path:""}]:"/newCardPut"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.repairId?"查看补发":"新建补发",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=e("VU/8")(s,d,!1,function(t){e("4f1d")},"data-v-38e91801",null);a.default=h.exports}});
\ No newline at end of file
webpackJsonp([104],{"4ye2":function(e,t){},"6j9f":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),i=a("P9l9"),n={name:"unreview",data:function(){return{storeSwitch:!1,clerkChangeFlag:!1,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:""}},methods:{postData:function(e){var t={wxEnterpriseId:this.wxEnterpriseId,auditFlag:this.storeSwitch,clerkChangeFlag:this.clerkChangeFlag};Object(i.g)("/haoban-manage3-web/audit/open-or-close",t).then(function(e){var t=e.data;1!=t.errorCode?r.a.errorMsg(t):s.a.showmsg("操作成功","success")}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},getData:function(e){var t=this,a={wxEnterpriseId:this.wxEnterpriseId};Object(i.b)("/haoban-manage3-web/audit/find-setting",a).then(function(e){var a=e.data;if(1==a.errorCode)return t.storeSwitch=a.result.auditFlag,void(t.clerkChangeFlag=a.result.clerkChangeFlag);r.a.errorMsg(a)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab",3),this.getData()}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:e.storeSwitch,callback:function(t){e.storeSwitch=t},expression:"storeSwitch"}},[e._v("开启门店资料修改审核")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("开启后,所有门店在小程序端修改门店资料需要审核通过后才能修改")])],1),e._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:e.clerkChangeFlag,callback:function(t){e.clerkChangeFlag=t},expression:"clerkChangeFlag"}},[e._v("门店导购变更审核")]),e._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("开启后,企业微信成员在好办小程序店长删除或新增导购需要进行审核")])],1),e._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[e.$getButtonLimit(e.$buttonCode.saveApplySetting)?a("el-button",{attrs:{"limit-code":e.$buttonCode.saveApplySetting,type:"primary",loading:e.loading},on:{click:e.postData}},[e._v("保 存")]):e._e()],1)])])])},staticRenderFns:[]};var l=a("VU/8")(n,o,!1,function(e){a("4ye2")},"data-v-386819a0",null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([105],{dhLd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ch4/"),s=a("3E4D"),o=a("PI0u"),i=a("P9l9"),r={components:{},props:{brandId:{type:String,default:""}},data:function(){var t=this;return{recordShow:!1,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",statusObj:{3:"待领取",4:"待核销",5:"已核销",6:"已过期",7:"已销毁",8:"已占用"},activeId:"2",conditionObj:{postDateRange:[],searchInput:""},choiceDateCopy:[],pickerOptions:{onPick:function(e){var a=e.maxDate,n=e.minDate;t.choiceDateCopy=[n.getTime()],a&&(t.choiceDateCopy=[])},disabledDate:function(e){if(t.choiceDateCopy.length){var a=t.choiceDateCopy[0]-31536e6,n=t.choiceDateCopy[0]+31536e6;return e.getTime()<a||e.getTime()>n}}},templateData:[],strategyData:[],loading:!1,tableData:[],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(t){t&&this.getTableList()}},filters:{percenteNum:function(t){return t>0?Number(100*t).toFixed(2)+"%":Number(t).toFixed(2)+"%"}},methods:{changeDate:function(){this.currentPage=1,this.getTableList()},toDel:function(t,e){var a=this;a.$confirm("是否要删除选中的卡券?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.delCardList(e.coupCardId)}).catch(function(){})},delCardList:function(t){var e=this,a={gicEnterpriseId:e.brandId,coupCardId:t};Object(i.g)("/haoban-app-customer-web/inner/del-card-coup",a).then(function(t){var a=t.data;if(1==a.errorCode)return s.a.showmsg("删除成功","success"),void e.getTableList(e.brandId);n.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toInput:Object(o.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(){var t=this;t.loading=!0,t.conditionObj.postDateRange||(t.conditionObj.postDateRange=[]);var e={wxEnterpriseId:t.wxEnterpriseId,search:t.conditionObj.searchInput,queryType:1,sendStartDate:t.conditionObj.postDateRange[0],sendEndDate:t.conditionObj.postDateRange[1],pageNum:t.currentPage,pageSize:t.pageSize};Object(i.g)("/haoban-app-customer-web/inner/find-card-log-page",e).then(function(e){var a=e.data;if(t.loading=!1,1==a.errorCode)return t.tableData=a.result.result||[],void(t.total=a.result.totalCount);n.a.errorMsg(a)}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.$emit("showTab","41"),this.getTableList()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("div",{staticClass:"flex flex-space-between m-b-20"},[a("div",[a("el-date-picker",{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:t.conditionObj.postDateRange,callback:function(e){t.$set(t.conditionObj,"postDateRange",e)},expression:"conditionObj.postDateRange"}}),a("el-input",{staticClass:"w-264 m-l-10",staticStyle:{width:"284px"},attrs:{placeholder:"请输入卡券名称/卡券代码/会员信息",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"calc(100% - 3px)"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"成员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex nowrap"},[a("div",{staticClass:"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"},[e.row.headImg?a("img",{attrs:{src:e.row.headImg,alt:"img"}}):a("i",{staticClass:"iconfont-hb3 icon-yewuduanmorentouxian"})]),t._v(" "),a("div",{staticClass:"flex flex-column apply-info m-l-10",staticStyle:{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},[a("span",{staticClass:"font-14 color-606266 text-ellipsis line-18"},[t._v(t._s(e.row.staffName||"--"))]),t._v(" "),a("span",{staticClass:"font-12 color-909399 text-ellipsis line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"会员信息","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"font-14 color-606266 line-18"},[t._v(t._s(e.row.memberName||"--"))]),t._v(" "),a("div",{staticClass:"font-12 color-909399 line-18"},[t._v(t._s(t._f("formatPhoneNum")(e.row.phoneNum)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.cardName||"--")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发券渠道","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n 好办内购券\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"卡券状态","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[3==e.row.status?a("span",{staticClass:"status-dot bg-7c6af2"}):t._e(),4==e.row.status?a("span",{staticClass:"status-dot bg-2f54eb"}):t._e(),5==e.row.status?a("span",{staticClass:"status-dot bg-52c41a"}):t._e(),6==e.row.status?a("span",{staticClass:"status-dot bg-f5222d"}):t._e(),7==e.row.status?a("span",{staticClass:"status-dot bg-c0c4cc"}):t._e(),8==e.row.status?a("span",{staticClass:"status-dot bg-faad14"}):t._e(),a("span",{staticClass:"inline-block"},[t._v(t._s(t.statusObj[e.row.status]))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"发送时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.createDate?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createDate)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createDate)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"领取时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.receiveTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.receiveTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.receiveTime)))])]):a("div",[t._v("\n --\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"核销时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.useTime?a("div",[a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.useTime)))]),t._v(" "),a("div",{staticClass:"color-606266 line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.useTime)))])]):a("div",[t._v("\n --\n ")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("nYmP")},"data-v-3812422a",null);e.default=c.exports},nYmP:function(t,e){}});
\ No newline at end of file
webpackJsonp([105],{VlR1:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("P9l9"),n=s("3E4D"),r=s("Ch4/"),o={name:"setting",data:function(){return{wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",clerkPhoneFlag:0,storeEditFlag:0}},methods:{submit:function(){var e=this,t={wxEnterpriseId:this.wxEnterpriseId,clerkPhoneFlag:this.clerkPhoneFlag,storeEditFlag:this.storeEditFlag};Object(a.g)("/haoban-manage3-web/setting/operation-setting/save-or-update",t).then(function(e){1==e.data.errorCode&&n.a.showmsg("保存成功","success"),r.a.errorMsg(e.data)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getData:function(){var e=this;Object(a.b)("/haoban-manage3-web/setting/get-operation-setting",{wxEnterpriseId:this.wxEnterpriseId}).then(function(t){var s=t.data.result||{},a=s.clerkPhoneFlag,n=s.storeEditFlag;e.clerkPhoneFlag=a||0,e.storeEditFlag=n||0}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",6),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},i={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"unreview-wrap common-set-wrap"},[s("div",{staticClass:"app-detail-pane border-box p-20"},[s("div",{staticClass:"m-b-20"},[s("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:e.clerkPhoneFlag,callback:function(t){e.clerkPhoneFlag=t},expression:"clerkPhoneFlag"}},[e._v("添加导购时,手机号必填")]),e._v(" "),s("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:勾选此项后,门店店长在好办移动端添加导购时,导购的手机号必填")])],1),e._v(" "),s("div",{staticClass:"m-t-46 m-l-25"},[s("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var l=s("VU/8")(o,i,!1,function(e){s("nMsr")},"data-v-25b8314d",null);t.default=l.exports},nMsr:function(e,t){}});
\ No newline at end of file
webpackJsonp([106],{PFhL:function(e,t){},SUcx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("woOf"),r=a.n(s),o=a("Ch4/"),n=a("P9l9"),l={name:"AddMemberShowRules",props:{brandId:{type:String,default:function(){return""}}},data:function(){var e=this;return{storeTypes:[{label:"自营",value:"0"},{label:"联营",value:"1"},{label:"代理",value:"2"},{label:"代销",value:"3"},{label:"托管",value:"4"}],selectedTypes:[],wxEnterpriseRelatedId:JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{memberManageSettingId:"",strategyName:"",storeType:[],mainStoreFlag:0,minorStoreFlag:0,openCardStoreFlag:0,clerkSeeOtherFlag:0,showFreezeFlag:0,isSeeAuthMember:0,options:""},rules:{strategyName:{required:!0,message:"请输入策略名称",trigger:"blur"},storeType:{required:!0,validator:function(t,a,s){var r=a.filter(function(t){return!e.selectedTypes.includes(t)});return e.myCustomData.storeType.includes("-999")?s():e.storeTypes.every(function(t){return e.selectedTypes.includes(t.value)})?s(new Error("一种门店类型仅能包含在一个特殊策略中,当前所有门店类型已被其它特殊策略占用,无法创建")):0==r.length?s(new Error("请选择门店类型")):void s()},trigger:"blur"},options:{required:!0,message:"请选择设置项",trigger:"blur"}},loading:!1}},methods:{onOptionsChange:function(){var e=this.myCustomData,t=e.mainStoreFlag,a=e.minorStoreFlag,s=e.openCardStoreFlag,r=e.clerkSeeOtherFlag,o=e.showFreezeFlag,n=e.isSeeAuthMember,l=1==t||1==a||1==s||1==r||1==o||1==n;this.myCustomData.options=l?1:""},getSettingList:function(){var e=this;Object(n.b)("/haoban-app-customer-web/customer/find-member-manage-setting-list",{}).then(function(t){var a=t.data||{},s=a.code,r=a.result;0==s?e.myCustomData.storeType.includes("-999")||(Array.isArray(r)&&(e.selectedTypes=r.reduce(function(t,a){if("string"==typeof a.storeType&&a.memberManageSettingId!=e.myCustomData.memberManageSettingId&&"-999"!=a.storeType){var s=a.storeType.split(",");s=s.filter(function(e){return!t.includes(e)}),t=t.concat(s)}return t},[]),e.myCustomData.storeType=e.myCustomData.storeType.concat(e.selectedTypes)),e.$nextTick(function(){e.rules.storeType.trigger="change"})):o.a.errorMsg(t.data)})},onSave:function(){var e=this;this.loading=!0,this.onOptionsChange(),this.$refs.myCustomData.validate(function(t){if(t){var a=e.myCustomData,s=a.memberManageSettingId,r=a.strategyName,l=a.storeType,i={memberManageSettingId:s,strategyName:r,mainStoreFlag:a.mainStoreFlag,minorStoreFlag:a.minorStoreFlag,openCardStoreFlag:a.openCardStoreFlag,clerkSeeOtherFlag:a.clerkSeeOtherFlag,showFreezeFlag:a.showFreezeFlag,isSeeAuthMember:a.isSeeAuthMember};i.storeType=l.filter(function(t){return!e.selectedTypes.includes(t)}).join(","),Object(n.g)("/haoban-app-customer-web/customer/save-member-show-setting",i).then(function(t){1==(t.data||{}).errorCode?(e.$message.success("保存成功"),e.$router.go(-1)):o.a.errorMsg(t.data)}).finally(function(){return e.loading=!1})}else e.loading=!1})},getShowSet:function(){var e=this;Object(n.g)("/haoban-app-customer-web/customer/find-member-manage-setting-detail",{memberManageSettingId:this.myCustomData.memberManageSettingId}).then(function(t){var a=t.data||{},s=a.code,n=a.result;if(0==s){var l=n||{},i=l.strategyName,m=l.storeType,u=l.mainStoreFlag,c=l.minorStoreFlag,g=l.openCardStoreFlag,d=l.clerkSeeOtherFlag,p=l.showFreezeFlag,y=l.isSeeAuthMember;r()(e.myCustomData,{strategyName:i,storeType:e.selectedTypes.concat("string"==typeof m?m.split(","):[]),mainStoreFlag:u,minorStoreFlag:c,openCardStoreFlag:g,clerkSeeOtherFlag:d,showFreezeFlag:p,isSeeAuthMember:y}),"-999"==m&&(e.selectedTypes=e.storeTypes.map(function(e){return e.value}),e.myCustomData.storeType=e.storeTypes.map(function(e){return e.value}),e.myCustomData.storeType.push("-999")),e.$nextTick(function(){e.rules.options.trigger="change"})}else o.a.errorMsg(t.data)})}},created:function(){this.getSettingList(),this.$route.query.id&&(this.myCustomData.memberManageSettingId=this.$route.query.id,this.getShowSet())}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"add-rules"},[a("el-form",{ref:"myCustomData",attrs:{model:e.myCustomData,rules:e.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"策略名称",prop:"strategyName"}},[a("el-input",{staticStyle:{width:"460px"},attrs:{placeholder:"请输入策略名称",maxlength:"10","show-word-limit":""},model:{value:e.myCustomData.strategyName,callback:function(t){e.$set(e.myCustomData,"strategyName",t)},expression:"myCustomData.strategyName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"门店类型",prop:"storeType"}},[a("el-checkbox-group",{model:{value:e.myCustomData.storeType,callback:function(t){e.$set(e.myCustomData,"storeType",t)},expression:"myCustomData.storeType"}},e._l(e.storeTypes,function(t){return a("el-checkbox",{key:t.value,attrs:{disabled:e.selectedTypes.includes(t.value),label:t.value}},[e._v("\n "+e._s(t.label)+"\n ")])}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"设置项",prop:"options"}},[a("div",{staticClass:"setting-item"},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.onOptionsChange},model:{value:e.myCustomData.mainStoreFlag,callback:function(t){e.$set(e.myCustomData,"mainStoreFlag",t)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店客户")]),e._v(" "),a("div",{staticClass:"set-tip-text"},[e._v("保存勾选项后,门店导购和店长可查看本门店作为服务门店名下客户")])],1),e._v(" "),a("div",{staticClass:"setting-item"},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.onOptionsChange},model:{value:e.myCustomData.minorStoreFlag,callback:function(t){e.$set(e.myCustomData,"minorStoreFlag",t)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店客户")]),e._v(" "),a("div",{staticClass:"set-tip-text"},[e._v("保存勾选项后,门店导购和店长可查看本门店作为协管门店名下客户")])],1),e._v(" "),a("div",{staticClass:"setting-item"},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.onOptionsChange},model:{value:e.myCustomData.openCardStoreFlag,callback:function(t){e.$set(e.myCustomData,"openCardStoreFlag",t)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店客户")]),e._v(" "),a("div",{staticClass:"set-tip-text"},[e._v("保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下客户")])],1),e._v(" "),a("div",{staticClass:"setting-item"},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.onOptionsChange},model:{value:e.myCustomData.showFreezeFlag,callback:function(t){e.$set(e.myCustomData,"showFreezeFlag",t)},expression:"myCustomData.showFreezeFlag"}},[e._v("展示冻结会员")]),e._v(" "),a("div",{staticClass:"set-tip-text"},[e._v("保存勾选项后,门店导购和店长可查看本门店冻结会员")])],1),e._v(" "),a("div",{staticClass:"setting-item"},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.onOptionsChange},model:{value:e.myCustomData.isSeeAuthMember,callback:function(t){e.$set(e.myCustomData,"isSeeAuthMember",t)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),a("div",{staticClass:"set-tip-text"},[e._v("保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),a("div",{staticClass:"setting-item"},[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.onOptionsChange},model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(t){e.$set(e.myCustomData,"clerkSeeOtherFlag",t)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购客户")]),e._v(" "),a("div",{staticClass:"set-tip-text"},[e._v("保存勾选项后,门店导购可查看本门店其他导购名下客户")])],1)])],1),e._v(" "),a("hb-form-bottom",[a("el-button",{on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")]),e._v(" "),a("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:e.onSave}},[e._v("保 存")])],1)],1)},staticRenderFns:[]};var m=a("VU/8")(l,i,!1,function(e){a("PFhL")},"data-v-24f55137",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([107],{NpHY:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Ggl+"),o=a("P9l9"),i=a("PI0u"),r=a("Ch4/"),s={name:"monthTask",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,showDialog:!1,conditionObj:{searchInput:"",storeGroupIds:[],storeStatus:"",dateRange:[]},storeStatusOptions:[{value:"",label:"所有门店状态"},{value:"0",label:"待审核"},{value:"1",label:"正常"},{value:"2",label:"审核失败"},{value:"3",label:"停业整顿"},{value:"4",label:"回收站"},{value:"5",label:"删除"}],loading:!1,selectRadio:0,tableData:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},loadingBtn:!1}},computed:{},methods:{checkGroupIds:function(t){this.conditionObj.storeGroupIds=t,this.currentPage=1,this.getTableList()},handleCommand:function(t){this.selectRadio=t},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),changeStoreStatus:function(){this.currentPage=1,this.getTableList()},changeDate:function(t){t||(this.conditionObj.dateRange=[]),this.currentPage=1,this.getTableList()},exportExcel:function(){var t=this;t.loadingBtn=!0;var e={keyword:t.conditionObj.searchInput,storeGroupIds:t.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:t.conditionObj.storeStatus,startDate:t.conditionObj.dateRange?t.conditionObj.dateRange[0]:"",endDate:t.conditionObj.dateRange?t.conditionObj.dateRange[1]:"",enterpriseId:t.activeBrand};Object(o.c)("/haoban-app-performance-three-web/performance/export-store-month-performance-task",e).then(function(e){if(t.loadingBtn=!1,!e.data)return r.a.errorMsg("暂无数据"),!1;var a=new Blob([e.data],{type:"application/vnd.ms-excel"}),n=document.createElement("a");n.download="store-month-performance-task.xls",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},toDetail:function(t,e){var a="",n="";this.conditionObj.dateRange.length>0&&(a=this.conditionObj.dateRange[0],n=this.conditionObj.dateRange[1]),this.$router.push("monthTaskDetail?storeId="+e.storeId+"&startDate="+a+"&endDate="+n)},getTableList:function(t){var e=this;e.loading=!0,e.conditionObj.dateRange||(e.conditionObj.dateRange=[]);var a={keyword:e.conditionObj.searchInput||"",storeGroupIds:e.conditionObj.storeGroupIds.map(function(t){return t.storeGroupId}).join(",")||"",storeStatus:e.conditionObj.storeStatus||"",startDate:e.conditionObj.dateRange[0]||"",endDate:e.conditionObj.dateRange[1]||"",pageNum:e.currentPage,pageSize:e.pageSize,enterpriseId:e.activeBrand};Object(o.b)("/haoban-app-performance-three-web/performance/query-store-month-performance-task",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.pageInfo?a.result.pageInfo.total:0,!1;r.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getTableList())}},activated:function(){this.activeBrand=this.brandId,this.brandId&&this.getTableList()},mounted:function(){this.activeBrand=this.brandId,this.brandId&&this.getTableList()},components:{gicSelectGroup:n.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap common-right-wrap"},[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"table-condition flex flex-space-between m-b-23"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称/code",maxlength:"50"},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.conditionObj.searchInput);var a}},model:{value:t.conditionObj.searchInput,callback:function(e){t.$set(t.conditionObj,"searchInput",e)},expression:"conditionObj.searchInput"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("gic-select-group",{staticClass:"m-l-10",attrs:{brandId:t.brandId,width:213,selectData:t.conditionObj.storeGroupIds},on:{checkGroupIds:t.checkGroupIds}}),t._v(" "),a("el-date-picker",{staticClass:"m-l-10",staticStyle:{width:"310px","vertical-align":"middle"},attrs:{editable:!1,"value-format":"yyyy-MM",type:"monthrange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},on:{change:t.changeDate},model:{value:t.conditionObj.dateRange,callback:function(e){t.$set(t.conditionObj,"dateRange",e)},expression:"conditionObj.dateRange"}})],1),t._v(" "),a("div",{staticClass:"table-condition-right"},[t.$getButtonLimit(t.$buttonCode.exportMonthTask)?a("el-button",{attrs:{"limit-code":t.$buttonCode.exportMonthTask,type:"primary",loading:t.loadingBtn},on:{click:t.exportExcel}},[t._v("导出")]):t._e()],1)]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"storeName",label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticStyle:{width:"100%",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(e.row.storeName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"taskCount",label:"任务总数"}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedCount",label:"已完成(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"completedRate",label:"完成率(含放弃)","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"noCompletedCount",label:"待完成","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"overdueCount",label:"逾期中","show-overflow-tooltip":""}}),t._v(" "),t.$getButtonLimit(t.$buttonCode.checkMonthTask)?a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$getButtonLimit(t.$buttonCode.checkMonthTask)?a("el-button",{attrs:{"limit-code":t.$buttonCode.checkMonthTask,type:"text"},on:{click:function(a){return t.toDetail(e.$index,e.row)}}},[t._v("查看详情")]):t._e()]}}])}):t._e()],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])},staticRenderFns:[]};var c=a("VU/8")(s,l,!1,function(t){a("wMq3")},"data-v-21a7d6f2",null);e.default=c.exports},wMq3:function(t,e){}});
\ No newline at end of file
webpackJsonp([107],{Uvr8:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Dd8w"),s=a.n(n),l=a("P9l9"),i=a("3E4D"),o=a("Ch4/"),r=a("PI0u"),c={name:"taskList",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{selectRadio:2,tableRefresh:!1,multipleSelection:[],dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,loading:!1,pageParams:{pageNum:1,pageSize:20,taskType:2,ecmPlanName:"",date:this.$store.state.salesDate},total:0,tableData:[],pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()-864e5}},loadingBtn:!1}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},handleCommand:function(e){var t=this;this.selectRadio=e,this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},exportExcel:function(e){var t=this;if(!this.multipleSelection.length)return i.a.showmsg("请选择计划","warning"),!1;this.loadingBtn=!0;var a=s()({},this.pageParams,{enterpriseId:this.brandId,qywxEnterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId,selectType:this.selectRadio,selectIdList:1==this.selectRadio?"":this.multipleSelection.map(function(e){return e.ecmPlanId}).join(",")});Array.isArray(a.date)&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),Object(l.c)("/haoban-task-manage-web/market/clue/export/plan-view",a).then(function(e){if(t.loadingBtn=!1,!e.data)return o.a.errorMsg("暂无数据"),!1;var n=new Blob([e.data],{type:"application/vnd.ms-excel"}),s=t.pageParams.date.length?"群发任务-计划视图_"+a.startTime+"至"+a.endTime+".xls":"群发任务-计划视图.xls",l=document.createElement("a");l.download=s,l.style.display="none",l.href=URL.createObjectURL(n),document.body.appendChild(l),l.click(),URL.revokeObjectURL(l.href),document.body.removeChild(l)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loadingBtn=!1})},changeRoute:function(e){this.$router.push(e)},reFetch:Object(r.a)(function(e,t){this.pageParams.pageNum=1,this.getTableList()},500),changeDate:function(e){e?this.$store.dispatch("changeSales",e):(this.pageParams.date=[],this.$store.dispatch("changeSales",[])),this.pageParams.pageNum=1,this.getTableList()},handleSizeChange:function(e){this.pageParams.pageNum=1,this.pageParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.pageParams.pageNum=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=s()({},t.pageParams,{enterpriseId:this.brandId,qywxEnterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId});a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),Object(l.b)("/haoban-task-manage-web/market/clue/web/plan-list",a).then(function(e){t.loading=!1;var a=e.data;1==a.errorCode&&a.result?(t.tableData=a.result.list||[],t.total=a.result.pageInfo?a.result.pageInfo.total:0):(t.tableData=[],o.a.errorMsg(a))}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},showDetail:function(e){this.$router.push(encodeURI("/grStoreList?ecmPlanId="+e.ecmPlanId+"&ecmPlanName="+e.ecmPlanName))}},watch:{brandId:function(e){this.getTableList()}},mounted:function(){this.getTableList()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"apps-content flex"},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[e._v("仅展示近一年数据,数据截取时间:"+e._s(e._f("timeStampToYmd2")(e.dateStart))+" 至 "+e._s(e._f("timeStampToYmd2")(e.dateEnd)))])])]),e._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[e._v("只统计通过GIC创建的群发,不包含在企业微信创建的群发及门店创建的群发")]),e._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[e._v("查看指标说明")])])])],1),e._v(" "),a("div",{staticClass:"table-condition-search flex flex-space-between m-t-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入计划名称","prefix-icon":"el-icon-search",clearable:""},on:{change:e.reFetch,clear:e.clearInput},model:{value:e.pageParams.ecmPlanName,callback:function(t){e.$set(e.pageParams,"ecmPlanName",t)},expression:"pageParams.ecmPlanName"}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.pageParams.date,callback:function(t){e.$set(e.pageParams,"date",t)},expression:"pageParams.date"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.exportGrTaskList)?a("el-button",{attrs:{"limit-code":e.$buttonCode.exportGrTaskList,loading:e.loadingBtn,type:"primary"},on:{click:e.exportExcel}},[e._v("导出")]):e._e()],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(t){return[e._v(e._s(" "))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"计划名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ecmPlanName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.cplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s((100*t.row.completionRate).toFixed(2)+"%"||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.waitFinishCount||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中/逾期失效"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ovincplTaskCnt||"--")+"/"+e._s(t.row.invalidCount||"--"))]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.checkGrTaskList)?a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.checkGrTaskList)?a("el-button",{attrs:{"limit-code":e.$buttonCode.checkGrTaskList,type:"text"},on:{click:function(a){return e.showDetail(t.row)}}},[e._v("查看详情")]):e._e()]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.pageParams.pageNum,"page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])])])])},staticRenderFns:[]};var p=a("VU/8")(c,d,!1,function(e){a("wyuq")},"data-v-2de43f68",null);t.default=p.exports},wyuq:function(e,t){}});
\ No newline at end of file
webpackJsonp([108],{GdW8:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("PeHS"),i=a("PI0u"),o={data:function(){return{form:{searchContent:"",pageId:"",pageNum:1,pageSize:20},loading:!1,total:0,tableData:[]}},props:{pageId:{type:String,default:""},dialogVisible:{type:Boolean,default:!1}},watch:{pageId:function(e){e&&(this.form={searchContent:"",pageId:e,pageNum:1,pageSize:20},this.getList())}},methods:{toInput:Object(i.a)(function(e,t){this.getList()},500),getList:function(){var e=this;this.loading=!0,Object(n.k)(this.form).then(function(t){var a=t.data.result,n=a.totalCount,i=a.result;i&&(e.total=n,e.tableData=i)}).finally(function(t){e.loading=!1})},handleSizeChange:function(e){this.form.pageNum=1,this.form.pageSize=e,this.getList()},handleCurrentChange:function(e){this.form.pageNum=e,this.getList()}}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"关联详情",width:"600px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t},close:function(t){return e.$emit("update:dialogVisible",!1)}}},[a("div",{staticClass:"daily-set-content boder-box"},[a("div",{staticClass:"flex flex-space-between m-b-16"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入链接名称/ID",clearable:""},on:{clear:e.getList},nativeOn:{keyup:function(t){return a=t,e.toInput(a,e.searchInput);var a}},model:{value:e.form.searchContent,callback:function(t){e.$set(e.form,"searchContent",t)},expression:"form.searchContent"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",attrs:{data:e.tableData,height:"450","tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"releationId",label:"链接ID","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"referName",label:"链接名称","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$emit("goLinkDetail",n.referId)}}},[e._v("查看")])]}}])})],1),e._v(" "),a("el-pagination",{staticClass:"text-right margin-pg",attrs:{"page-size":e.form.pageSize,"current-page":e.form.pageNum,layout:"prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:pageSize":function(t){return e.$set(e.form,"pageSize",t)},"update:page-size":function(t){return e.$set(e.form,"pageSize",t)},"update:currentPage":function(t){return e.$set(e.form,"pageNum",t)},"update:current-page":function(t){return e.$set(e.form,"pageNum",t)}}})],1)},staticRenderFns:[]};var l=a("VU/8")(o,r,!1,function(e){a("YYEh")},"data-v-29d9d5a9",null);t.default=l.exports},YYEh:function(e,t){}});
\ No newline at end of file
webpackJsonp([109],{cjME:function(t,e){},vuAV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("P9l9"),r=a("Ch4/"),l=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-298+"px",navpath:[{name:"首页",path:"/index"},{name:"溢出门店",path:""}],searchInput:"",currentPage:1,pageSize:20,total:0,tableData:[]}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},toInput:Object(l.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",pageNum:e.currentPage,pageSize:e.pageSize};Object(s.b)("/haoban-manage3-web/store-full-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.result||[],e.total=a.result.totalCount,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入门店名称/CODE/ID",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}})],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"门店名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"iconfont-hb3 icondianpu-kuai color-2f54eb"}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.storeName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"企业微信部门ID","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.wxDepartmentId||"--"))]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是溢出门店?"),e("br"),this._v("当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。")])])])])}]};var c=a("VU/8")(o,i,!1,function(t){a("cjME")},"data-v-1b3d589e",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([109],{TLVp:function(t,e){},m9dW:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("NKg7"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",activeSelTab:"1",activeTab:"1",tabListData:[{tabId:"1",tabName:"企业信息",icon:"iconqiyexinxi"},{tabId:"2",tabName:"管理员列表",icon:"iconguanliyuanliebiao"},{tabId:"3",tabName:"素材库",icon:"iconsucaiku"},{tabId:"4",tabName:"欢迎语",icon:"iconhuanyingci"},{tabId:"5",tabName:"审核中心",icon:"iconshenhezhongxin"},{tabId:"6",tabName:"操作设置",icon:"iconshezhi"}],activeBrand:"",activeGroup:""}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},changeRoute:function(t){this.$router.push(t)},setSelectTab:function(t){switch(this.activeTab=t.tabId,console.log(this.activeTab),t.tabId){case"1":this.changeRoute("enterpriseSet");break;case"2":this.changeRoute("adminList");break;case"3":this.changeRoute("material");break;case"4":this.changeRoute("salutatory");break;case"5":this.changeRoute("reviewCenter");break;case"6":this.changeRoute("setting")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,console.log(this.activeTab),console.log(this.activeSelTab),this.tabListData.forEach(function(e){e.tabId==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach(function(a){a.tabId==t&&(e.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,e){},deep:!0},activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,vueOfficeHeader:c.a}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"enterprise-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body"},[a("div",{staticClass:"right-content border-box"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 86px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])])])])],1)},staticRenderFns:[]};var r=a("VU/8")(o,s,!1,function(t){a("TLVp")},"data-v-260d1026",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([110],{"4N1S":function(t,e){},FIFf:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("bzW+"),n=a("Qie6"),c=a("Z8ln"),s=a("Ch4/"),o=a("P9l9"),r={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"商品中心",path:"/goodsShowSet"},{name:"商品展示设置",path:""}],tabListData:[{tabId:"1",tabName:"商品展示设置",icon:"iconshangpinshezhi"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,e={enterpriseId:t.activeBrand};Object(o.b)("/haoban-manage3-web/enterprise-is-over",e).then(function(e){var a=e.data;1!=a.errorCode?s.a.errorMsg(a):t.expiredFlag=a.result}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,e){this.activeBrand=t,this.activeGroup=e,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("goodsShowSet")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i.a,commonDetailLeft:n.a,expiredDialog:c.a}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.activeBrand?a("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1)],1)])])]),t._v(" "),t.expiredFlag?a("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=a("VU/8")(r,d,!1,function(t){a("4N1S")},"data-v-21978d24",null);e.default=h.exports}});
\ No newline at end of file
webpackJsonp([110],{s9IU:function(t,a){},tqu3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("Xxa5"),r=e.n(i),n=e("exGp"),s=e.n(n),c=e("5i7M"),o={data:function(){return{chart:null,maxNum:0,maxTimes:0}},props:{charData:{type:Array,default:function(){return[]}},id:String},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){var t=this;return s()(r.a.mark(function a(){var e;return r.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(t.chart&&t.chart.destroy(),t.charData.length){a.next=3;break}return a.abrupt("return");case 3:e=t.handleData(t.charData),t.chart=new c.a({container:t.id,autoFit:!0,forceFit:!0,height:359,width:1400,padding:[70,60,40,70]}),t.chart.source(e,{value:{type:"linear",tickInterval:50}}),t.chart.tooltip({showMarkers:!1,shared:!0}),t.chart.scale({date:{dataKey:"date",type:"cat"},num:{min:0,tickCount:t.maxNum>2?5:t.maxNum+1,tickMethod:"wilkinson-extended",nice:!0},times:{min:0,tickCount:t.maxTimes>2?5:t.maxTimes+1,tickMethod:"wilkinson-extended",nice:!0}}),t.chart.legend({position:"top-left"}),t.chart.axis("times",{grid:{line:{type:"line",style:{stroke:"#E4E7ED",lineDash:[3,3]}}},label:{formatter:function(t){return Math.floor(t)+"人次"}}}),t.chart.axis("num",{grid:{line:{type:"line",style:{stroke:"#E4E7ED",lineDash:[3,3]}}},label:{formatter:function(t){return Math.floor(t)+"人"}}}),t.chart.tooltip({showMarkers:!1,shared:!0,showCrosshairs:!0}),t.chart.line().position("date*num").color("type",["rgba(75,116,232,1)","rgba(20, 201, 201, 1)","rgba(214, 179, 140, 1)"]),t.chart.line().position("date*times").color("type",["rgba(214, 179, 140, 1)"]),t.chart.render();case 15:case"end":return a.stop()}},a,t)}))()},handleData:function(t){var a=[],e=0,i=0;return t.forEach(function(t){t.clickNum>e&&(e=t.clickNum),t.clickTimes>i&&(i=t.clickTimes),a.push({date:t.bizDate,type:"新增人数",num:t.addNum}),a.push({date:t.bizDate,type:"点击人数",num:t.clickNum}),a.push({date:t.bizDate,type:"点击人次",times:t.clickTimes})}),this.maxNum=e,this.maxTimes=i,console.log(e,i),a}}},h={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("div",{staticClass:"chart--nodata",attrs:{id:this.id}}),this._v(" "),this.charData.length?this._e():a("div",{staticClass:"chart--nodata"},[this._m(0)])])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"image-120",attrs:{src:e("es7N")}}),this._v(" "),a("p",{staticClass:"font-14 color-606266 no-data-text"},[this._v("暂无数据")])])}]};var u=e("VU/8")(o,h,!1,function(t){e("s9IU")},"data-v-1b1fc71a",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([111],{NUSj:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),s=e("Qie6"),o=e("Z8ln"),r=e("Ch4/"),d=e("P9l9"),h={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"订单评价",path:"/evaluate-set"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"订单评价",path:"/evaluate-set"}],tabListData:[{tabId:"1",tabName:"订单评价设置",icon:"iconshangpinshezhi"},{tabId:"2",tabName:"不良评价回访设置",icon:"icondingdan_pingjia"}],navName:{1:"订单评价设置",2:"不良评价回访设置"},activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(d.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?r.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("evaluate-set");break;case"2":this.changeRoute("bad-evaluate")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath.push({name:a.navName[t],path:""})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:s.a,expiredDialog:o.a}},v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var l=e("VU/8")(h,v,!1,function(t){e("pcNN")},"data-v-1a911e14",null);a.default=l.exports},pcNN:function(t,a){}});
\ No newline at end of file
webpackJsonp([111],{"+lem":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"reviewed",data:function(){return{activeTab:"1",tabListData:[{tabId:"1",tabName:"待审核",icon:"icondaishenhe_orange"},{tabId:"2",tabName:"已审核",icon:"iconrenwu1"},{tabId:"3",tabName:"审核设置",icon:"iconshenhe"}]}},computed:{},methods:{handleClick:function(e,t){switch(e.name){case"1":this.$router.push("unreview");break;case"2":this.$router.push("reviewed");break;case"3":this.$router.push("reviewSet")}console.log(e,t)}},watch:{$route:{handler:function(e,t){},deep:!0}},mounted:function(){this.$emit("showTab",5),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.tabListData,function(e){return a("el-tab-pane",{key:e.tabId,attrs:{label:e.tabName,name:e.tabId}},[a("div",{staticClass:"border-box"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])}),1)],1)])},staticRenderFns:[]};var i=a("VU/8")(n,o,!1,function(e){a("ztov")},"data-v-21288b0d",null);t.default=i.exports},ztov:function(e,t){}});
\ No newline at end of file
webpackJsonp([112],{QZxC:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),i=a.n(s),l=a("P9l9"),r=a("Ch4/"),o={name:"authMerchant",data:function(){return{pageParams:{pageNum:1,pageSize:20,enterpriseId:this.$route.query.enterprise||""},total:0,tableData:[],addShow:!1}},computed:{},methods:{toInput:function(t){this.pageParams.pageNum=1,this.getTableList()},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){this.pageParams.pageNum=1,this.pageParams.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.pageParams.pageNum=t,this.getTableList()},getTableList:function(t){var e=this,a=this,s=i()({},this.pageParams);Object(l.b)("/haoban-manage3-web/bind-store-list",s).then(function(t){var s=t.data;if(1==s.errorCode&&s.result)return a.tableData=s.result.result||[],e.total=s.result.totalCount||0,!1;a.tableData=[],r.a.errorMsg(s)}).catch(function(t){a.$message.error({duration:1e3,message:t.message})})}},watch:{},mounted:function(){this.getTableList()}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition m-b-19"},[a("el-input",{staticClass:"w-264 ",staticStyle:{width:"264px"},attrs:{placeholder:"请输入门店名称",maxlength:"50"},nativeOn:{keyup:function(e){return t.toInput(e)}},model:{value:t.pageParams.search,callback:function(e){t.$set(t.pageParams,"search",e)},expression:"pageParams.search"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"门店 ","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",{staticClass:"gic-name color-606266"},[t._v(t._s(e.row.storeName||""))]),t._v(" "),a("p",{staticClass:"gic-version color-606266"},[t._v(t._s(e.row.storeCode||""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"门店分组","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeGroupName||""))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"绑定时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])})],1),t._v(" "),t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":t.pageParams.pageNum,"page-sizes":[10,20,30],"page-size":t.pageParams.pageSize,layout:"total, sizes, prev, pager, next",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip m-b-19"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-center w-604",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-warning font-13 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title color-303133 font-13"},[this._v("授权范围:展示授权商户资源组全部授权范围,包含关联企业的门店和未关联企业的门店")])])])])}]};var c=a("VU/8")(o,n,!1,function(t){a("edv2")},"data-v-1fc002e2",null);e.default=c.exports},edv2:function(t,e){}});
\ No newline at end of file
webpackJsonp([112],{"3gDt":function(e,t){},txZy:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r("Dd8w"),a=r.n(o),n=r("1fzb"),s=r("znzC"),m=r("P9l9"),i={components:{setActCode:n.default,SelectClerk:s.default},data:function(){return{loading:!1,form:{hmId:"",hmGroupId:"",passFlag:1,welcomeId:"",hmType:1,name:"",memberLabelId:"",memberLabelName:"",memberLabelStatus:-1,clerkList:[],welcomeType:1,hmUserNum:null}}},created:function(){this.$route.query.hmId&&(this.form.hmId=this.$route.query.hmId,this.getActCodeInfo())},methods:{onTypeChange:function(){this.form.name="",this.form.clerkList=[],this.form.hmUserNum=0},onChange:function(e){var t=this;this.form.hmUserNum=e.length,this.form.clerkList=e,""==this.form.name&&(this.form.name=e.map(function(e){return e.clerkName}).toString().slice(0,20)),this.$nextTick(function(){t.$refs.setActCodePage.getForm().validateField(["name","clerkList"])})},getActCodeInfo:function(){var e=this;this.loading=!0,Object(m.b)("/haoban-manage3-web/hm/qrcode/detail",{hmId:this.form.hmId}).then(function(t){e.form=t.data.result,e.form.welcomeId?e.form.welcomeType=1:e.form.welcomeType=2,e.form.hmUserNum=e.form.clerkList.length}).finally(function(){return e.loading=!1})},onSubmit:function(e){var t=this,r=a()({},e,this.form);r.clerkIdList=r.clerkList.map(function(e){return e.clerkId}),this.form.hmId?Object(m.f)("/haoban-manage3-web/hm/qrcode/update",r).then(function(e){if(0!=e.data.code)return t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1,t.$message.error(e.data.message);setTimeout(function(){t.$router.go(-1),t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1},1e3)}):Object(m.f)("/haoban-manage3-web/hm/qrcode/add",r).then(function(e){if(0!=e.data.code)return t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1,t.$message.error(e.data.message);setTimeout(function(){t.$refs.setActCodePage.btnLoading=!1,t.$refs.setActCodePage.saveLoading=!1,t.$router.go(-1)},1e3)})}}},l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("setActCode",{ref:"setActCodePage",attrs:{actCodeData:e.form},on:{sumbit:e.onSubmit},scopedSlots:e._u([{key:"typeCode",fn:function(){return[r("el-form-item",{attrs:{label:"活码类型",rules:[{required:!0,message:"请选择活码类型",trigger:"blur"}]}},[r("el-radio-group",{attrs:{disabled:!!e.form.hmId},on:{change:e.onTypeChange},model:{value:e.form.hmType,callback:function(t){e.$set(e.form,"hmType",t)},expression:"form.hmType"}},[r("el-radio",{attrs:{label:1}},[e._v("单人活码")]),e._v(" "),r("el-radio",{attrs:{label:2}},[e._v("多人活码")])],1)],1)]},proxy:!0},{key:"codeName",fn:function(){return[r("el-form-item",{attrs:{label:"活码名称",prop:"name",rules:[{required:!0,message:"请输入活码名称",trigger:"blur"}]}},[r("el-input",{staticClass:"w340",attrs:{placeholder:"请输入活码名称,默认使用成员名称",maxlength:"20","show-word-limit":""},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)]},proxy:!0},{key:"member",fn:function(){return[r("el-form-item",{attrs:{label:"关联导购",prop:"clerkList",rules:[{required:!0,message:"请选择使用成员",trigger:"blur"}]}},[1==e.form.hmType?r("p",{staticClass:"tabs"},[e._v("单人活码仅可选择一名成员")]):e._e(),e._v(" "),2==e.form.hmType?r("p",{staticClass:"tabs"},[e._v("若选择多名成员,则随机分配企微员工")]):e._e(),e._v(" "),r("select-clerk",{attrs:{"is-simple":1==e.form.hmType,multiple:2==e.form.hmType,data:e.form.clerkList,disabled:1==e.form.hmType&&!!e.form.hmId},on:{change:e.onChange}})],1)]},proxy:!0}])})],1)},staticRenderFns:[]};var c=r("VU/8")(i,l,!1,function(e){r("3gDt")},"data-v-192ff836",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([113],{"K+rH":function(e,t){},"t/sc":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("feRM"),r=a("RSOD"),o=a("PeHS"),n={components:{previewPage:r.a,singleUpload:i.a},data:function(){return{form:{pageName:"",pageTitle:"",merchantName:"",merchantPhoneNumber:"",merchantLogo:"",pageBackgroundImg:"",guideComment:"长按保存图片并识别二维码添加您的专属导购"},wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",logoImageList:[],isEdit:"edit"==this.$route.meta.type,isAdd:"add"==this.$route.meta.type,loading:!1,btnLoading:!1,rules:{merchantPhoneNumber:[{validator:function(e,t,a){t?((/^\s*$/.test(t)||/^\+*$/.test(t)||/^\-*$/.test(t))&&a("请输入正确的手机号"),/^[0-9 \+\-]{0,20}$/.test(t)||a("仅支持输入数字,空格,-,+"),a()):a()}}],pageName:[{required:!0,message:"请输入模板名称"}]}}},mounted:function(){this.isEdit?this.getDetail():this.getEchoEnterpriseInfo()},methods:{getDetail:function(){var e=this;console.log(this.$route),this.loading=!0,Object(o.h)({pageId:this.$route.params.id}).then(function(t){if(t.data.result){var a=t.data.result;e.form=a}}).finally(function(t){e.loading=!1})},getEchoEnterpriseInfo:function(){var e=this;Object(o.y)({}).then(function(t){var a=t.data;if(a.result&&a.result.length){var i=a.result.filter(function(t){return t.wxEnterpriseId==e.wxEnterpriseId})[0],r=i.customerPhone,o=i.enterpriseLogo,n=i.enterpriseName;e.form.merchantLogo=o,e.form.merchantPhoneNumber=r,e.form.merchantName=n}})},guidePageEdit:function(){var e=this;this.btnLoading=!0,Object(o.i)(this.form).then(function(t){e.$router.push("/ladingPageList"),e.$message.success("保存成功")}).finally(function(t){e.btnLoading=!1})},guidePageSave:function(){var e=this;this.btnLoading=!0,Object(o.l)(this.form).then(function(t){e.$router.push("/ladingPageList"),e.$message.success("保存成功")}).finally(function(t){e.btnLoading=!1})},save:function(){var e=this;this.$refs.form.validate(function(t){t&&(e.isEdit?e.guidePageEdit():e.guidePageSave())})}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"daily-set-content"},[a("el-form",{ref:"form",staticClass:"form",attrs:{"label-width":"100px",model:e.form,rules:e.rules}},[a("el-form-item",{attrs:{label:"模板名称",prop:"pageName"}},[a("el-input",{staticClass:"w-340",attrs:{"show-word-limit":"",placeholder:"请输入模板名称",type:"text",maxlength:"20"},model:{value:e.form.pageName,callback:function(t){e.$set(e.form,"pageName",t)},expression:"form.pageName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"页面标题",prop:"pageTitle"}},[a("el-input",{staticClass:"w-340",attrs:{"show-word-limit":"",placeholder:"请输入页面标题",type:"text",maxlength:"10"},model:{value:e.form.pageTitle,callback:function(t){e.$set(e.form,"pageTitle",t)},expression:"form.pageTitle"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"商户名称",prop:"merchantName"}},[a("el-input",{staticClass:"w-340",attrs:{"show-word-limit":"",placeholder:"请输入商户名称",type:"text",maxlength:"20"},model:{value:e.form.merchantName,callback:function(t){e.$set(e.form,"merchantName",t)},expression:"form.merchantName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"商户电话",prop:"merchantPhoneNumber"}},[a("el-input",{staticClass:"w-340",attrs:{"show-word-limit":"",placeholder:"请输入商户电话",type:"text",maxlength:"20"},model:{value:e.form.merchantPhoneNumber,callback:function(t){e.$set(e.form,"merchantPhoneNumber",t)},expression:"form.merchantPhoneNumber"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"商户LOGO"}},[a("single-upload",{staticClass:"app-set",attrs:{uploadType:"1",showDel:!0,showTips:!1,imgSrc:e.form.merchantLogo,field:"",uploadLimit:"200/KB",imgType:["image/jpeg","image/jpg","image/png","image/gif"]},on:{"update:imgSrc":function(t){return e.$set(e.form,"merchantLogo",t)},"update:img-src":function(t){return e.$set(e.form,"merchantLogo",t)}}}),e._v(" "),a("p",{staticStyle:{"margin-top":"6px","font-size":"12px",color:"#909399","line-height":"17px"}},[e._v("图片建议尺寸 240*240px,格式 jpg/jpep/png/gif,大小 200KB 以内。")])],1),e._v(" "),a("el-form-item",{attrs:{label:"页面背景"}},[a("single-upload",{staticClass:"app-set",attrs:{uploadType:"1",showDel:!0,showTips:!1,imgSrc:e.form.pageBackgroundImg,field:"",imgType:["image/jpeg","image/jpg","image/png","image/gif"]},on:{"update:imgSrc":function(t){return e.$set(e.form,"pageBackgroundImg",t)},"update:img-src":function(t){return e.$set(e.form,"pageBackgroundImg",t)}}}),e._v(" "),a("p",{staticStyle:{"margin-top":"6px","font-size":"12px",color:"#909399","line-height":"17px"}},[e._v("图片建议尺寸 750*1334px,格式 jpg/png/gif,大小 2M 以内。")])],1),e._v(" "),a("el-form-item",{attrs:{label:"引导语",prop:"guideComment"}},[a("el-input",{staticClass:"w-340",attrs:{"show-word-limit":"",placeholder:"请输入引导语",type:"textarea",maxlength:"50",autosize:{minRows:4,maxRows:6}},model:{value:e.form.guideComment,callback:function(t){e.$set(e.form,"guideComment",t)},expression:"form.guideComment"}})],1)],1),e._v(" "),a("div",{staticClass:"rightContent"},[a("p",{staticClass:"previewTitle"},[e._v("落地页预览")]),e._v(" "),a("previewPage",{staticClass:"preview",attrs:{data:e.form}}),e._v(" "),a("p",{staticClass:"previewBottom"},[e._v("此二维码只是样式预览效果,请勿直接使用")])],1)],1),e._v(" "),a("div",{staticClass:"footBtn"},[a("el-button",{attrs:{type:"primary",loading:e.btnLoading},on:{click:e.save}},[e._v("保存")])],1)])},staticRenderFns:[]};var m=a("VU/8")(n,s,!1,function(e){a("K+rH")},"data-v-1d638a1c",null);t.default=m.exports}});
\ No newline at end of file
webpackJsonp([113],{Y55K: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("zBsT")},"data-v-1778370e",null);e.default=o.exports},zBsT:function(t,e){}});
\ No newline at end of file
webpackJsonp([114],{JbAx:function(t,a){},aWmL:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("3Xzz"),i=e("Qie6"),c=e("Z8ln"),o=e("Ch4/"),r=e("P9l9"),s={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"内购券",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"内购券",path:""}],tabListData:[{tabId:"1",tabName:"卡券模板",icon:"iconmoban"},{tabId:"2",tabName:"卡券策略",icon:"iconcelve"},{tabId:"3",tabName:"内购券投放",icon:"icontoufang2"},{tabId:"4",tabName:"内购券记录",icon:"iconqiaquan",onlyIconActive:!1,children:[{tabId:"41",tabName:"投放记录",icon:""},{tabId:"42",tabName:"领取记录",icon:""}]}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(r.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?o.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("cardTemplate");break;case"2":this.changeRoute("cardStrategy");break;case"3":this.changeRoute("cardPut");break;case"4":case"41":this.changeRoute("cardPutRecord");break;case"42":this.changeRoute("cardGetRecord")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})},changeNavShow:function(t){"/newCardTemp"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.templateId?"编辑模板":"新建模板",path:""}]:"/newCardStrategy"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.policyId?"编辑策略":"新建策略",path:""}]:"/newCardPut"==t.path?this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:"/cardTemplate"},{name:this.$route.query.repairId?"查看补发":"新建补发",path:""}]:this.navpath=[{name:"首页",path:"/index"},{name:"内购券",path:""}]}},watch:{$route:{handler:function(t,a){this.changeNavShow(t)},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){this.changeNavShow(this.$route),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a,expiredDialog:c.a}},d={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var h=e("VU/8")(s,d,!1,function(t){e("JbAx")},"data-v-125e6edc",null);a.default=h.exports}});
\ No newline at end of file
webpackJsonp([114],{"8fbE":function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("3E4D"),n=o("Ch4/"),i=o("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:""}},data:function(){return{wxEnterpriseRelatedId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",loading:!1,templateList:[],canAddTemp:!1}},methods:{getTemplateCount:function(){var t=this;Object(i.b)("/haoban-app-customer-web/get-template-count",{}).then(function(e){var o=e.data||{},a=o.errorCode,i=o.result;1==a?t.canAddTemp=i>=20:n.a.errorMsg(e.data)})},toDel:function(t,e){var o=this;o.$confirm("是否要删除选中的模板?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){o.delTempList(e.templateId)}).catch(function(){})},delTempList:function(t){var e=this,o={templateId:t};Object(i.g)("/haoban-app-customer-web/del-group-template",o).then(function(t){var o=t.data;if(1==o.errorCode)return a.a.showmsg("删除成功","success"),void e.getTableList();n.a.errorMsg(o)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},toEdit:function(t,e){this.$router.push("/editGroupTemplate?templateId="+e.templateId)},toStore:function(t,e){this.$router.push("/storeRangeSet?templateId="+e.templateId+"&brandId="+this.brandId)},addTemplate:function(){this.$router.push("/addGroupTemplate")},getTableList:function(){var t=this,e={enterpriseId:t.brandId,wxEnterpriseRelatedId:t.wxEnterpriseRelatedId};Object(i.g)("/haoban-app-customer-web/get-template-list",e).then(function(e){var o=e.data;1!=o.errorCode?n.a.errorMsg(o):t.templateList=o.result||[]}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){this.getTableList(),this.getTemplateCount()},activated:function(){this.getTableList(),this.getTemplateCount()}},s={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:" border-box p-lbr-20"},[o("div",{staticClass:"flex flex-space-between"},[o("div"),t._v(" "),o("div",[o("span",{staticClass:"font-12 color-909399"},[t._v("最多新建20个模板")]),t._v(" "),t.$getButtonLimit(t.$buttonCode.addGroupTemp)?o("el-button",{staticClass:"m-l-20",attrs:{"limit-code":t.$buttonCode.addGroupTemp,disabled:t.$store.state.wxEnterpriseType||t.canAddTemp,type:"primary"},on:{click:t.addTemplate}},[t._v("新建模版")]):t._e()],1)]),t._v(" "),o("div",{staticClass:"m-t-20"},[o("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"tempTable",staticClass:"select-table",style:{width:"100%"},attrs:{data:t.templateList,"tooltip-effect":"dark"}},[o("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":"","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.templateName))]}}])}),t._v(" "),o("el-table-column",{attrs:{label:"模板id","show-overflow-tooltip":"","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.templateId))]}}])}),t._v(" "),o("el-table-column",{attrs:{label:"创建人",prop:"creatorName","show-overflow-tooltip":"","min-width":"90"}}),t._v(" "),o("el-table-column",{attrs:{label:"创建时间",prop:"createTime","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),o("el-table-column",{attrs:{label:"编辑人","show-overflow-tooltip":"","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.editPerson))]}}])}),t._v(" "),o("el-table-column",{attrs:{prop:"",label:"最近编辑时间","show-overflow-tooltip":"","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.editTime)))]),t._v(" "),o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.editTime)))])]}}])}),t._v(" "),t.$getButtonLimit(t.$buttonCode.editGroupTemp)||t.$getButtonLimit(t.$buttonCode.setStoreArea)||t.$getButtonLimit(t.$buttonCode.delGroupTemp)?o("el-table-column",{attrs:{label:"操作","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$getButtonLimit(t.$buttonCode.editGroupTemp)?o("el-button",{attrs:{"limit-code":t.$buttonCode.editGroupTemp,type:"text",disabled:t.$store.state.wxEnterpriseType},on:{click:function(o){return t.toEdit(e.$index,e.row)}}},[t._v("编辑")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.setStoreArea)?o("el-button",{attrs:{"limit-code":t.$buttonCode.setStoreArea,type:"text",disabled:t.$store.state.wxEnterpriseType},on:{click:function(o){return t.toStore(e.$index,e.row)}}},[t._v("门店范围设置")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.delGroupTemp)?o("el-button",{attrs:{"limit-code":t.$buttonCode.delGroupTemp,type:"text",disabled:t.$store.state.wxEnterpriseType},on:{click:function(o){return t.toDel(e.$index,e.row)}}},[t._v("删除")]):t._e()]}}])}):t._e()],1)],1)])},staticRenderFns:[]};var l=o("VU/8")(r,s,!1,function(t){o("m59b")},"data-v-1c8e199b",null);e.default=l.exports},m59b:function(t,e){}});
\ No newline at end of file
webpackJsonp([115],{"BW/r":function(t,a){},tqu3:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=e("Xxa5"),i=e.n(r),n=e("exGp"),s=e.n(n),c=e("5i7M"),o={data:function(){return{chart:null,maxNum:0,maxTimes:0}},props:{charData:{type:Array,default:function(){return[]}},id:String},mounted:function(){var t=this;setTimeout(function(){t.drawChart()},30)},beforeUpdate:function(){this.drawChart()},watch:{charData:function(){this.drawChart()}},methods:{drawChart:function(){var t=this;return s()(i.a.mark(function a(){var e;return i.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(t.chart&&t.chart.destroy(),t.charData.length){a.next=3;break}return a.abrupt("return");case 3:e=t.handleData(t.charData),t.chart=new c.a({container:t.id,autoFit:!0,forceFit:!0,height:359,width:1400,padding:[70,60,40,70]}),t.chart.source(e,{value:{type:"linear",tickInterval:50}}),t.chart.tooltip({showMarkers:!1,shared:!0}),t.chart.scale({date:{dataKey:"date",type:"cat"},num:{min:0,tickCount:t.maxNum>2?5:t.maxNum+1,tickMethod:"wilkinson-extended",nice:!0},times:{min:0,tickCount:t.maxTimes>2?5:t.maxTimes+1,tickMethod:"wilkinson-extended",nice:!0}}),t.chart.legend({position:"top-left"}),t.chart.axis("times",{grid:{line:{type:"line",style:{stroke:"#E4E7ED",lineDash:[3,3]}}},label:{formatter:function(t){return Math.floor(t)+"人次"}}}),t.chart.axis("num",{grid:{line:{type:"line",style:{stroke:"#E4E7ED",lineDash:[3,3]}}},label:{formatter:function(t){return Math.floor(t)+"人"}}}),t.chart.tooltip({showMarkers:!1,shared:!0,showCrosshairs:!0}),t.chart.line().position("date*num").color("type",["rgba(75,116,232,1)","rgba(20, 201, 201, 1)","rgba(214, 179, 140, 1)"]),t.chart.line().position("date*times").color("type",["rgba(214, 179, 140, 1)"]),t.chart.render();case 15:case"end":return a.stop()}},a,t)}))()},handleData:function(t){var a=[],e=0,r=0;return t.forEach(function(t){t.clickNum>e&&(e=t.clickNum),t.clickTimes>r&&(r=t.clickTimes),a.push({date:t.bizDate,type:"新增人数",num:t.addNum}),a.push({date:t.bizDate,type:"点击人数",num:t.clickNum}),a.push({date:t.bizDate,type:"点击人次",times:t.clickTimes})}),this.maxNum=e,this.maxTimes=r,console.log(e,r),a}}},h={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("div",{staticClass:"chart--nodata",attrs:{id:this.id}}),this._v(" "),this.charData.length?this._e():a("div",{staticClass:"chart--nodata"},[this._m(0)])])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("img",{staticClass:"image-120",attrs:{src:e("es7N")}}),this._v(" "),a("p",{staticClass:"font-14 color-606266 no-data-text"},[this._v("暂无数据")])])}]};var u=e("VU/8")(o,h,!1,function(t){e("BW/r")},"data-v-193fe4c4",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([115],{K8Yn:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("3Xzz"),s=a("Qs+A"),l=a("P9l9"),r=a("Ch4/"),i=a("PI0u"),o={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-288+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"组织架构管理",path:"/orgStructSet"},{name:"回收站",path:""}],options:[{label:"所有部门类型",value:""},{label:"分组",value:"0"},{label:"门店",value:"1"}],searchInput:"",storeFlag:"",currentPage:1,pageSize:20,total:0,tableData:[],setVisible:!1,recoverItem:{}}},computed:{},methods:{toRecover:function(t,e){this.recoverItem=e,this.setVisible=!0},closeSet:function(){this.setVisible=!1,this.currentPage=1,this.getTableList()},changeRoute:function(t){this.$router.push(t)},toInput:Object(i.a)(function(t,e){this.currentPage=1,this.getTableList()},500),clearInput:function(){this.currentPage=1,this.getTableList()},changeType:function(){this.currentPage=1,this.getTableList()},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this,a={keyWord:e.searchInput||"",storeFlag:e.storeFlag,pageNum:e.currentPage,pageSize:e.pageSize};Object(l.b)("/haoban-manage3-web/department-recycle-list",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=a.result.list||[],e.total=a.result.total,!1;r.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{activeBrand:function(t,e){this.activeBrand=t},activeGroup:function(t,e){this.activeGroup=t}},mounted:function(){this.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,setDepartment:s.a}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":t.bgHeight}},[a("div",{staticClass:"apps-content-right"},[t._m(0),t._v(" "),a("div",{staticClass:"table-condition-search m-t-20"},[a("el-input",{staticClass:"w-293",attrs:{placeholder:"请输入部门名称/CODE/ID",maxlength:"50",clearable:""},on:{clear:t.clearInput},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.searchInput,callback:function(e){t.searchInput=e},expression:"searchInput"}}),a("el-select",{staticClass:"w-191 m-l-10",attrs:{placeholder:"所有部门类型"},on:{change:t.changeType},model:{value:t.storeFlag,callback:function(e){t.storeFlag=e},expression:"storeFlag"}},t._l(t.options,function(t){return a("el-option",{key:t.value+"type",attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"部门名称","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{class:["iconfont-hb3 color-2f54eb",1==e.row.isStore?"icondianpu-kuai":"iconqiye-tianchong"]}),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.row.departmentName||"--"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"ERP CODE","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.storeCode||"--"))]}}])}),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){return t.toRecover(e.$index,e.row)}}},[t._v("恢复")])]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])]),t._v(" "),t.setVisible?a("set-department",{attrs:{recoverItem:t.recoverItem},on:{closeSet:t.closeSet}}):t._e()],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"overstore-tip"},[e("div",{staticClass:"el-alert el-alert--info flex flex-align-start",attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("span",{staticClass:"el-alert__title color-606266 font-14"},[this._v("什么是回收站?"),e("br"),this._v("GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。")])])])])}]};var u=a("VU/8")(o,c,!1,function(t){a("q5ni")},"data-v-11e29632",null);e.default=u.exports},q5ni:function(t,e){}});
\ No newline at end of file
webpackJsonp([116],{RXoq:function(e,t){},t6Nl:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("Dd8w"),a=r.n(i),o=r("Xxa5"),s=r.n(o),u=r("exGp"),n=r.n(u),p=r("PeHS"),c=r("P9l9"),l={name:"staffActCodeGroupList",data:function(){var e,t=this;return{searchTip:!1,groupLoading:!1,currentListItemUuid:-1,groupList:[],scrollLoad:!1,title:"新增分组",addOrEditGroupDialog:!1,groupListForm:{groupName:"",groupId:""},groupListFormRules:{groupName:[{required:!0,message:"请输入分组名称",trigger:"blur"},{validator:(e=n()(s.a.mark(function e(r,i,a){return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(c.b)("/haoban-manage3-web/hm/group/check/name",{groupName:t.groupListForm.groupName}).then(function(e){if(t.checkNameLength=e.data.result.length,t.isEditGroup){var r=e.data.result.map(function(e){return e.groupName});t.checkNameLength>0&&t.editNamePre!=r&&a(new Error("该分组名称已存在,请重新输入")),a()}else t.checkNameLength>0&&a(new Error("该分组名称已存在,请重新输入")),a()});case 2:case"end":return e.stop()}},e,t)})),function(t,r,i){return e.apply(this,arguments)}),trigger:"blur"}]},isEditGroup:!1,allPageNum:1,pageP:{groupName:"",pageNum:1,pageSize:40},checkNameLength:-1,editNamePre:""}},created:function(){this.searchGroup()},activated:function(){this.searchGroup()},methods:{onSearch:function(){this.pageP.pageNum=1,this.searchGroup()},load:function(){this.pageP.pageNum<this.allPageNum&&(this.pageP.pageNum++,this.searchGroup())},clickGroupListItem:function(e){this.currentListItemUuid=e.groupId,this.$emit("updateList",this.currentListItemUuid)},isShowGroupListItemMore:function(e){return![1,2].includes(e.groupId)},addGroup:function(){var e=this;this.scrollLoad=!1,this.isEditGroup=!1,this.groupListForm={groupName:"",groupId:""},this.$nextTick(function(){e.$refs.groupListForm.clearValidate()}),this.addOrEditGroupDialog=!0},editGroupListItem:function(e){var t=this;this.isEditGroup=!0,this.editNamePre=e.groupName,this.$nextTick(function(){t.$refs.groupListForm.clearValidate()}),this.addOrEditGroupDialog=!0,this.groupListForm=a()({},e)},delGroupListItem:function(e){var t=this;this.$confirm("分组删除后,创建号活码时将无法选取到该分组,是否继续删除?","删除提示",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}).then(function(){if(!(t.groupList.findIndex(function(t){return t.groupId===e.groupId})<0)){var r={groupId:e.groupId};Object(p.d)(r).then(function(r){0==r.data.code&&(t.$message({type:"success",message:"删除成功!"}),t.currentListItemUuid==e.groupId&&(t.pageP.pageNum=1,t.currentListItemUuid=-1,t.$emit("updateList",t.currentListItemUuid)),t.pageP.pageNum=1,t.searchGroup())})}}).catch(function(){})},handleGroupListItem:function(){var e,t=this;this.$refs.groupListForm.validate((e=n()(s.a.mark(function e(r){var i,a,o,u;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=15;break}if(i={},a=(t.isEditGroup?"修改":"新增")+"成功",!t.isEditGroup){e.next=10;break}return o={groupId:t.groupListForm.groupId,groupName:t.groupListForm.groupName},e.next=7,Object(p.f)(o);case 7:i=e.sent,e.next=14;break;case 10:return u={groupName:t.groupListForm.groupName},e.next=13,Object(p.b)(u);case 13:i=e.sent;case 14:0==i.data.code?(t.$message({type:"success",message:a,duration:1e3}),t.isEditGroup&&(t.groupList.find(function(e){return e.groupId==t.groupListForm.groupId}).groupName=t.groupListForm.groupName),t.pageP.pageNum=1,t.searchGroup(),t.addOrEditGroupDialog=!1):t.$message({type:"warning",message:i.data.message});case 15:case"end":return e.stop()}},e,t)})),function(t){return e.apply(this,arguments)}))},searchGroup:function(e){var t=this;return n()(s.a.mark(function e(){var r;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.groupLoading=!0,e.next=3,Object(c.b)("/haoban-manage3-web/hm/group/refer/count",{});case 3:return r=e.sent,1==t.pageP.pageNum&&(t.groupList=[{groupName:"全部分组",referNum:"",groupId:"-1"}],t.groupList[0].referNum=r.data.result),String(t.pageP.groupName)&&(t.pageP.pageNum=1,t.groupList=[]),e.next=8,Object(c.b)("/haoban-manage3-web/hm/group/list",t.pageP).then(function(e){if(0==e.data.code){var r=e.data.result||{},i=r.result,a=r.pages;t.groupList=t.groupList.concat(i),""==t.pageP.groupName?t.searchTip=!1:""!=t.pageP.groupName&&t.groupList.length<=0&&(t.searchTip=!0),t.allPageNum=a||1,t.groupLoading=!1}});case 8:case"end":return e.stop()}},e,t)}))()}}},g={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("section",[r("div",{staticClass:"mb-10 mt-20 pl-16 pr-15"},[r("el-input",{attrs:{placeholder:"请输入分组名称",maxlength:"50",clearable:""},on:{change:e.onSearch},model:{value:e.pageP.groupName,callback:function(t){e.$set(e.pageP,"groupName",t)},expression:"pageP.groupName"}},[r("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("div",{staticClass:"lists-content-box infinite-list-wrapper"},[r("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.load,expression:"load"}],staticClass:"list",attrs:{"infinite-scroll-disabled":"scrollLoad","infinite-scroll-immediate":"false","infinite-scroll-distance":"1"}},[e._l(e.groupList,function(t){return r("li",{key:t.groupId,class:["list-item","member-list",{"active-li":t.groupId==e.currentListItemUuid}],on:{click:function(r){return e.clickGroupListItem(t)}}},[r("div",{staticClass:"wrap"},[r("span",{staticClass:"listItemName overflow-ellipsis",attrs:{title:t.groupName}},[e._v(e._s(t.groupName))]),e._v(" "),r("span",[e._v(e._s("("+t.referNum+")"))])]),e._v(" "),e.isShowGroupListItemMore(t)?r("el-popover",{attrs:{placement:"bottom",trigger:"hover"}},[r("p",{staticClass:"more",on:{click:function(r){return e.editGroupListItem(t)}}},[e._v("编辑")]),e._v(" "),t.referNum?e._e():r("p",{staticClass:"more",on:{click:function(r){return e.delGroupListItem(t)}}},[e._v("删除")]),e._v(" "),"全部分组"!=t.groupName&&"默认分组"!=t.groupName?r("i",{staticClass:"iconfont-hb3 icongengduo3 icon iconhover",attrs:{slot:"reference"},slot:"reference"}):e._e()]):e._e()],1)}),e._v(" "),r("li",[e.groupLoading?r("div",{staticClass:"el-loading-spinner",staticStyle:{width:"86%"}},[r("i",{staticClass:"el-icon-loading"})]):e._e()])],2),e._v(" "),e.searchTip?r("p",{staticClass:"searchTip"},[e._v("没有找到和“"+e._s(e.pageP.groupName)+"”相关的内容")]):e._e()]),e._v(" "),e.groupList.length>1?r("div",{staticClass:"add-category"},[r("el-button",{staticClass:"ghost-btn add-group",attrs:{type:"primary"},on:{click:e.addGroup}},[e._v("新增分组")])],1):e._e(),e._v(" "),r("el-dialog",{attrs:{title:e.isEditGroup?"编辑分组":"新增分组",visible:e.addOrEditGroupDialog,width:"500px",top:"30vh","close-on-click-modal":!1},on:{"update:visible":function(t){e.addOrEditGroupDialog=t}}},[r("el-form",{ref:"groupListForm",attrs:{model:e.groupListForm,rules:e.groupListFormRules}},[r("el-form-item",{attrs:{label:"分组名称",prop:"groupName"}},[r("el-input",{attrs:{placeholder:"请输入分组名称",maxlength:10,"show-word-limit":"",clearable:""},model:{value:e.groupListForm.groupName,callback:function(t){e.$set(e.groupListForm,"groupName",t)},expression:"groupListForm.groupName"}})],1),e._v(" "),r("p",{directives:[{name:"show",rawName:"v-show",value:!e.isEditGroup,expression:"!isEditGroup"}],staticClass:"addGroupTip"},[e._v('分组名称不可重复,建议"创建人姓名-分组名称"')])],1),e._v(" "),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){e.addOrEditGroupDialog=!1}}},[e._v("取 消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.handleGroupListItem}},[e._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var d=r("VU/8")(l,g,!1,function(e){r("RXoq")},"data-v-192f497d",null);t.default=d.exports}});
\ No newline at end of file
webpackJsonp([116],{MXGO:function(t,e){},moBL:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("PI0u"),i=s("Ch4/"),o=s("3E4D"),l=s("P9l9"),n={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,options:[{label:"私人电话",value:1},{label:"企业电话",value:2}],activeId:"1",setObj:{taskCallType:1,taskType:0,overDayJudge:"",distributeTypeJudge:"",distributeCustomerJudge:1,giveUpJudge:""},loadingBtn:!1}},computed:{},methods:{saveSet:Object(a.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,taskCallType:t.setObj.taskCallType,taskType:0,overDayJudge:t.setObj.overDayJudge,giveUpJudge:t.setObj.giveUpJudge,distributeTypeJudge:t.setObj.distributeTypeJudge,distributeCustomerJudge:t.setObj.distributeCustomerJudge,relaxTaskJudge:t.setObj.relaxTaskJudge?1:0};Object(l.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",e).then(function(e){var s=e.data;t.loadingBtn=!1,1!=s.errorCode?i.a.errorMsg(s):o.a.showmsg("保存成功","success")}).catch(function(e){t.loadingBtn=!1,t.$message.error({duration:1e3,message:e.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:0};Object(l.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1==s.errorCode)return s.result.relaxTaskJudge=1==s.result.relaxTaskJudge,void(t.setObj=s.result);i.a.errorMsg(s)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","23"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("不良评价拨打:")]),s("el-select",{staticClass:"w-240",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.setObj.taskCallType,callback:function(e){t.$set(t.setObj,"taskCallType",e)},expression:"setObj.taskCallType"}},t._l(t.options,function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),2==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10 set-long-tip"},[t._v("第三方双向呼叫及透传(透传功能暂无法使用,外呼显示号码为固定电话),可监控通话状态。呼叫结算及通话记录存储于GIC计费中心。")]):t._e(),t._v(" "),1==t.setObj.taskCallType?s("span",{staticClass:"font-14 color-909399 p-l-10"},[t._v("导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费。")]):t._e()],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("任务分配:")]),t._v(" "),s("el-radio",{staticStyle:{"margin-right":"5px"},attrs:{label:1},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的所在门店店长",placement:"top-start"}},[s("span",{class:["font-14 color-606266",1==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给消费门店店长")])]),t._v(" "),s("el-radio",{staticClass:"p-l-40",staticStyle:{"margin-right":"5px"},attrs:{label:2},model:{value:t.setObj.distributeCustomerJudge,callback:function(e){t.$set(t.setObj,"distributeCustomerJudge",e)},expression:"setObj.distributeCustomerJudge"}},[t._v(t._s(""))]),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"勾选此项,不良评价回访任务将分配给产生该笔消费订单的会员的专属导购",placement:"top-start"}},[s("span",{class:["font-14 ",2==t.setObj.distributeCustomerJudge?"color-303133":"color-606266"],staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("分配给专属导购")])])],1),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("逾期设置:")]),t._v(" "),s("span",{staticClass:" font-14 color-303133"},[t._v("不良评价回访下发后")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.overDayJudge,callback:function(e){t.$set(t.setObj,"overDayJudge",e)},expression:"setObj.overDayJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("天")]),t._v(" "),s("span",{staticClass:"font-14 color-909399 p-l-15"},[t._v("注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成")])],1),t._v(" "),2==t.setObj.taskCallType?s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("放弃任务条件:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("不良评价下发后 ")]),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应,导购可放弃该条任务")])],1):t._e(),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),s("el-button",{attrs:{type:"primary",loading:t.loadingBtn,disabled:t.$store.state.wxEnterpriseType},on:{click:t.saveSet}},[t._v("保存")])],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[]};var c=s("VU/8")(n,r,!1,function(t){s("MXGO")},"data-v-10a3cfb6",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([117],{"7koN":function(t,e){},i0rV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("woOf"),l=a.n(i),n=a("P9l9"),s=a("Ch4/"),r={name:"GuideAuthSetting",data:function(){return{loading:!1,settingData:{editClerkFlag:0,addClerkFlag:0,delClerkFlag:0}}},created:function(){this.getSetting()},methods:{getSetting:function(){var t=this;Object(n.b)("/haoban-manage3-web/application-open-close-list",{}).then(function(e){var a=e.data||{},i=a.errorCode,n=a.result;if(1!=i)return s.a.errorMsg(e.data);var r=(n||{}).clerkEditInfo;l()(t.settingData,r)})},onSave:function(){var t=this;this.loading=!0;var e=this.settingData,a={editClerkFlag:e.editClerkFlag,addClerkFlag:e.addClerkFlag,delClerkFlag:e.delClerkFlag};Object(n.g)("/haoban-manage3-web/save-clerk-edit-flag",a).then(function(e){if(1!=(e.data||{}).errorCode)return s.a.errorMsg(e.data);t.$message.success("保存成功")}).finally(function(){setTimeout(function(){return t.loading=!1},100)})}}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"guide-setting"},[a("div",{staticClass:"guide-auth-list"},[a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许编辑导购信息")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.editClerkFlag,callback:function(e){t.$set(t.settingData,"editClerkFlag",e)},expression:"settingData.editClerkFlag"}})],1),t._v(" "),a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许店长添加导购")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.addClerkFlag,callback:function(e){t.$set(t.settingData,"addClerkFlag",e)},expression:"settingData.addClerkFlag"}})],1),t._v(" "),a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许店长删除导购")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.delClerkFlag,callback:function(e){t.$set(t.settingData,"delClerkFlag",e)},expression:"settingData.delClerkFlag"}})],1)]),t._v(" "),t.$getButtonLimit(t.$buttonCode.saveGuideSetting)?a("el-button",{staticClass:"save-btn",attrs:{"limit-code":t.$buttonCode.saveGuideSetting,loading:t.loading,type:"primary"},on:{click:t.onSave}},[t._v("保存")]):t._e()],1)},staticRenderFns:[]};var c=a("VU/8")(r,d,!1,function(t){a("7koN")},"data-v-18cf3981",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([117],{"6j9f":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),i=a("P9l9"),n={name:"unreview",data:function(){return{storeSwitch:!1,clerkChangeFlag:!1,wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:""}},methods:{postData:function(t){var e={wxEnterpriseId:this.wxEnterpriseId,auditFlag:this.storeSwitch,clerkChangeFlag:this.clerkChangeFlag};Object(i.g)("/haoban-manage3-web/audit/open-or-close",e).then(function(t){var e=t.data;1!=e.errorCode?r.a.errorMsg(e):s.a.showmsg("操作成功","success")}).catch(function(t){this.$message.error({duration:1e3,message:t.message})})},getData:function(t){var e=this,a={wxEnterpriseId:this.wxEnterpriseId};Object(i.b)("/haoban-manage3-web/audit/find-setting",a).then(function(t){var a=t.data;if(1==a.errorCode)return e.storeSwitch=a.result.auditFlag,void(e.clerkChangeFlag=a.result.clerkChangeFlag);r.a.errorMsg(a)}).catch(function(t){this.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.$emit("showTab",3),this.getData()}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"unreview-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:t.storeSwitch,callback:function(e){t.storeSwitch=e},expression:"storeSwitch"}},[t._v("开启门店资料修改审核")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("开启后,所有门店在小程序端修改门店资料需要审核通过后才能修改")])],1),t._v(" "),a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:t.clerkChangeFlag,callback:function(e){t.clerkChangeFlag=e},expression:"clerkChangeFlag"}},[t._v("门店导购变更审核")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("开启后,企业微信成员在好办小程序店长删除或新增导购需要进行审核")])],1),t._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[t.$getButtonLimit(t.$buttonCode.saveApplySetting)?a("el-button",{attrs:{"limit-code":t.$buttonCode.saveApplySetting,type:"primary",loading:t.loading},on:{click:t.postData}},[t._v("保 存")]):t._e()],1)])])])},staticRenderFns:[]};var c=a("VU/8")(n,o,!1,function(t){a("VWtM")},"data-v-0c4d9fc7",null);e.default=c.exports},VWtM:function(t,e){}});
\ No newline at end of file
webpackJsonp([119],{JAuA:function(e,t){},Uvr8:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Dd8w"),s=a.n(n),l=a("P9l9"),i=a("3E4D"),o=a("Ch4/"),r=a("PI0u"),c={name:"taskList",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{selectRadio:2,tableRefresh:!1,multipleSelection:[],dateStart:(new Date).getTime()-31536e6,dateEnd:new Date,loading:!1,pageParams:{pageNum:1,pageSize:20,taskType:2,ecmPlanName:"",date:this.$store.state.salesDate},total:0,tableData:[],pickerOptions:{disabledDate:function(e){var t=new Date;return e.getTime()<t.getTime()-31536e6||e.getTime()>t.getTime()-864e5}},loadingBtn:!1}},computed:{},methods:{handleSelectionChange:function(e){this.multipleSelection=e,!e.length&&(this.selectRadio=2)},handleCommand:function(e){var t=this;this.selectRadio=e,this.tableRefresh=!this.tableRefresh,1==e||0==e?this.$nextTick(function(){t.$refs.multipleTable.toggleAllSelection()}):2==e&&this.$refs.multipleTable.clearSelection()},exportExcel:function(e){var t=this;if(!this.multipleSelection.length)return i.a.showmsg("请选择计划","warning"),!1;this.loadingBtn=!0;var a=s()({},this.pageParams,{enterpriseId:this.brandId,qywxEnterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId,selectType:this.selectRadio,selectIdList:1==this.selectRadio?"":this.multipleSelection.map(function(e){return e.ecmPlanId}).join(",")});Array.isArray(a.date)&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),Object(l.c)("/haoban-task-manage-web/market/clue/export/plan-view",a).then(function(e){if(t.loadingBtn=!1,!e.data)return o.a.errorMsg("暂无数据"),!1;var n=new Blob([e.data],{type:"application/vnd.ms-excel"}),s=t.pageParams.date.length?"群发任务-计划视图_"+a.startTime+"至"+a.endTime+".xls":"群发任务-计划视图.xls",l=document.createElement("a");l.download=s,l.style.display="none",l.href=URL.createObjectURL(n),document.body.appendChild(l),l.click(),URL.revokeObjectURL(l.href),document.body.removeChild(l)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})}).finally(function(){t.loadingBtn=!1})},changeRoute:function(e){this.$router.push(e)},reFetch:Object(r.a)(function(e,t){this.pageParams.pageNum=1,this.getTableList()},500),changeDate:function(e){e?this.$store.dispatch("changeSales",e):(this.pageParams.date=[],this.$store.dispatch("changeSales",[])),this.pageParams.pageNum=1,this.getTableList()},handleSizeChange:function(e){this.pageParams.pageNum=1,this.pageParams.pageSize=e,this.getTableList()},handleCurrentChange:function(e){this.pageParams.pageNum=e,this.getTableList()},getTableList:function(e){var t=this;t.loading=!0;var a=s()({},t.pageParams,{enterpriseId:this.brandId,qywxEnterpriseId:JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId});a.date&&(a.startTime=a.date[0],a.endTime=a.date[1],delete a.date),Object(l.b)("/haoban-task-manage-web/market/clue/web/plan-list",a).then(function(e){t.loading=!1;var a=e.data;1==a.errorCode&&a.result?(t.tableData=a.result.list||[],t.total=a.result.pageInfo?a.result.pageInfo.total:0):(t.tableData=[],o.a.errorMsg(a))}).catch(function(e){t.loading=!1,t.$message.error({duration:1e3,message:e.message})})},showDetail:function(e){this.$router.push(encodeURI("/grStoreList?ecmPlanId="+e.ecmPlanId+"&ecmPlanName="+e.ecmPlanName))}},watch:{brandId:function(e){this.getTableList()}},mounted:function(){this.getTableList()}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"apps-content flex"},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"overstore-body"},[a("div",{staticClass:"overstore-tip"},[a("div",{staticClass:"el-alert el-alert--info flex flex-align-start ",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-warning font-12 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title color-303133 font-13"},[e._v("仅展示近一年数据,数据截取时间:"+e._s(e._f("timeStampToYmd2")(e.dateStart))+" 至 "+e._s(e._f("timeStampToYmd2")(e.dateEnd)))])])]),e._v(" "),a("el-popover",{attrs:{placement:"bottom-start",width:"550",trigger:"click","popper-class":"salesleads-popover"}},[a("div",{staticClass:"tips-content"},[e._v("只统计通过GIC创建的群发,不包含在企业微信创建的群发及门店创建的群发")]),e._v(" "),a("div",{staticClass:"tips flex flex-align-center",attrs:{slot:"reference",role:"tips"},slot:"reference"},[a("i",{staticClass:"el-icon-warning-outline font-14 color-2f54eb"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[e._v("查看指标说明")])])])],1),e._v(" "),a("div",{staticClass:"table-condition-search flex flex-space-between m-t-20"},[a("div",{staticClass:"table-condition-left"},[a("el-input",{staticClass:"w-260",attrs:{placeholder:"请输入计划名称","prefix-icon":"el-icon-search",clearable:""},on:{change:e.reFetch,clear:e.clearInput},model:{value:e.pageParams.ecmPlanName,callback:function(t){e.$set(e.pageParams,"ecmPlanName",t)},expression:"pageParams.ecmPlanName"}}),e._v(" "),a("el-date-picker",{staticClass:"m-l-10",attrs:{"prefix-icon":"el-icon-time","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"daterange",align:"right","unlink-panels":"","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间"},on:{change:e.changeDate},model:{value:e.pageParams.date,callback:function(t){e.$set(e.pageParams,"date",t)},expression:"pageParams.date"}})],1),e._v(" "),a("div",{staticClass:"table-condition-right"},[e.$getButtonLimit(e.$buttonCode.exportGrTaskList)?a("el-button",{attrs:{"limit-code":e.$buttonCode.exportGrTaskList,loading:e.loadingBtn,type:"primary"},on:{click:e.exportExcel}},[e._v("导出")]):e._e()],1)]),e._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],key:e.tableRefresh,ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"45","class-name":1==e.selectRadio?"cell-disabled":"font-size-zero"}}),e._v(" "),a("el-table-column",{attrs:{width:"25"},scopedSlots:e._u([{key:"header",fn:function(){return[a("el-dropdown",{staticStyle:{"line-height":"10px",padding:"0","margin-left":"-15px",transform:"translateY(4px)","-webkit-transform":"translateY(4px)"},attrs:{placement:"bottom-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"iconfont-hb3 icongengduo"})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":0,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择当页")])],1),e._v(" "),a("el-dropdown-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":2},on:{change:e.handleCommand},model:{value:e.selectRadio,callback:function(t){e.selectRadio=t},expression:"selectRadio"}},[e._v("选择全部")])],1)],1)],1)]},proxy:!0},{key:"default",fn:function(t){return[e._v(e._s(" "))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"计划名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ecmPlanName||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"任务总数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.taskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"已完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.cplTaskCnt||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成率"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s((100*t.row.completionRate).toFixed(2)+"%"||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"待完成"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.waitFinishCount||"--"))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"",label:"逾期中/逾期失效"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.ovincplTaskCnt||"--")+"/"+e._s(t.row.invalidCount||"--"))]}}])}),e._v(" "),e.$getButtonLimit(e.$buttonCode.checkGrTaskList)?a("el-table-column",{attrs:{prop:"",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$getButtonLimit(e.$buttonCode.checkGrTaskList)?a("el-button",{attrs:{"limit-code":e.$buttonCode.checkGrTaskList,type:"text"},on:{click:function(a){return e.showDetail(t.row)}}},[e._v("查看详情")]):e._e()]}}])}):e._e()],1),e._v(" "),0!=e.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("el-pagination",{attrs:{background:"","current-page":e.pageParams.pageNum,"page-sizes":[20,40,60,80],"page-size":e.pageParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)])])])])])])},staticRenderFns:[]};var p=a("VU/8")(c,d,!1,function(e){a("JAuA")},"data-v-0463732d",null);t.default=p.exports}});
\ No newline at end of file
webpackJsonp([119],{"92mS":function(t,e){},zHtI:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l={name:"input-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,i=0;i<t.length;i++){null!=t.charAt(i).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},a={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:[2==t.childItem.type?"h-66":""]},[9!=t.childItem.type?i("div",{class:["opencard-item-title",t.getZhLen(t.childItem.title)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.title))]):t._e(),t._v(" "),i("div",{staticClass:"draged-item-show"},[i("span",{staticClass:"show-warm-text show-warm-text-flag",style:{"padding-left":9==t.childItem.type?"15px":"0"}},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":""))])]),t._v(" "),10==t.childItem.type&&t.childItem.openCapitalize?i("div",{staticClass:"show-capitalize font-12 color-909399 p-l-10 border-box"},[t._v("大写:壹万元整(示例)")]):t._e()])},staticRenderFns:[]};var c=i("VU/8")(l,a,!1,function(t){i("92mS")},"data-v-17b428fa",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([120],{Dqgq:function(e,t){},zYBJ:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("P9l9"),s=a("3E4D"),r=a("Ch4/"),o=a("9F6+"),i={props:{},comments:{NotManager:o.default},data:function(){return{wxEnterpriseId:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[],isManager:!1}},methods:{changeRoute:function(){this.$router.push("/contactsList")},goto:function(){window.open("https://www.yuque.com/docs/share/89a899fe-caae-41b3-86ea-2435a8066418?#")},changeToggle:function(e){e.expand=!e.expand},getData:function(e){var t=this,a={wxEnterpriseId:this.wxEnterpriseId};Object(n.b)("/haoban-manage3-web/admin-list",a).then(function(e){var a=e.data;1==a.errorCode&&(a.result&&a.result.length&&a.result.forEach(function(e){e.expand=!1}),t.roleList=[],a.result.forEach(function(e){e.roleUser.length&&(t.roleList=t.roleList.concat(e.roleUser))})),t.isManager=10030!=a.errorCode,r.a.errorMsg(a)}).catch(function(e){this.$message.error({duration:1e3,message:e.message})})},refresh:function(){var e=this;Object(n.b)("/haoban-manage3-web/sync-qywx",{}).then(function(t){s.a.showmsg("刷新成功","success"),e.getData()})}},watch:{},mounted:function(){this.getData()},components:{NotManager:o.default}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"daily-set-wrap "},[e.isManager?a("div",{staticClass:"daily-set-content border-box"},[a("div",{staticClass:"company-title m-b-20 m-t-26 flex flex-space-between flex-align-center"},[a("div",{staticClass:"el-alert el-alert--info",attrs:{role:"alert"}},[a("i",{staticClass:"el-alert__icon el-icon-info"}),e._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title"},[e._v("1.好办管理后台管理员需在企业微信后台添加,"),a("el-button",{staticStyle:{"font-size":"13px"},attrs:{type:"text"},on:{click:e.goto}},[e._v("详情请见")]),e._v(" "),a("br"),e._v("\n 2.企业微信后台新增管理员后,请点击右侧【刷新】按钮刷新企业成员,否则不会同步到好办管理员列表。\n ")],1)])]),e._v(" "),e.$getButtonLimit(e.$buttonCode.refreshAdminList)?a("el-button",{attrs:{"limit-code":e.$buttonCode.refreshAdminList,type:"primary"},on:{click:e.refresh}},[e._v("刷新")]):e._e()],1),e._v(" "),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:e.roleList}},[a("el-table-column",{attrs:{prop:"userName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"userPhone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"departmentName",label:"部门"}})],1)],1):a("not-manager")],1)},staticRenderFns:[]};var c=a("VU/8")(i,l,!1,function(e){a("Dqgq")},"data-v-17197ffc",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([120],{CTf4:function(e,t,n){"use strict";Object.defineProperty(t,"__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(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"},[t("div",{staticClass:"content",attrs:{id:"content"}},[t("div",{staticClass:"content-body"},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("rDhf")},"data-v-041782e5",null);t.default=i.exports},rDhf:function(e,t){}});
\ No newline at end of file
webpackJsonp([121],{"+qr5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("mvHQ"),o=r.n(a),n=r("PI0u"),s=r("Ch4/"),c=r("3E4D"),l=r("P9l9"),i={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{tableH:window.screen.availHeight-464-126,activeBrand:this.brandId,operationStaffName:sessionStorage.getItem("userInfos")?JSON.parse(sessionStorage.getItem("userInfos")).staffName:"",tableData:[],performanceSum:"0.00",clerkObj:{storeId:"",storeName:"",yearMonth:"",settingAble:1,storePerformance:""},equalFlag:!0}},computed:{},methods:{objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex;if(2===e.columnIndex)return 0==t?{rowspan:this.tableData.length,colspan:1}:{rowspan:0,colspan:0}},inputPerformance:function(e,t,r){r.clerkPerformance=Number(r.clerkPerformance.replace(/[^\d.]/g,""))?r.clerkPerformance.replace(/[^\d+(.\d+)]/g,""):"",r.clerkPerformance=Number(r.clerkPerformance).toFixed(2);var a=0;this.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),this.performanceSum=Number(a).toFixed(2),this.diffData()},inputValue:function(e,t){t.performanceValue=Number(String(e).replace(/[^\d.]/g,""))?String(e).replace(/[^\d+(.\d+)]/g,""):"";var r=0;this.tableData.forEach(function(e){r+=Number(e.performanceValue)}),this.performanceSum=Number(r).toFixed(2),this.diffData()},inputMonthPerformance:function(e){this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance.replace(/[^\d.]/g,""))?this.clerkObj.storePerformance.replace(/[^\d+(.\d+)]/g,""):"",this.clerkObj.storePerformance=Number(this.clerkObj.storePerformance).toFixed(2),this.diffData()},diffData:function(){var e=Number(this.performanceSum)==Number(this.clerkObj.storePerformance);return this.equalFlag=!!e,e},saveSet:Object(n.a)(function(){if(!this.diffData())return!1;if(""==this.clerkObj.storePerformance)return this.$message.error({duration:1e3,message:"请输入门店月指标"}),!1;var e={clerkPerformanceList:this.tableData,storePerformance:this.clerkObj.storePerformance,operationStaffName:this.operationStaffName};this.postSave(e)},500),postSave:function(e){var t=this,r={enterpriseId:t.activeBrand,storeId:t.clerkObj.storeId,yearMonth:t.clerkObj.yearMonth,performance:o()(e)};Object(l.g)("/haoban-app-performance-three-web/performance/save-clerk-month-performance",r).then(function(e){var t=e.data;1!=t.errorCode?s.a.errorMsg(t):c.a.showmsg("保存成功","success")}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this,t={enterpriseId:e.activeBrand,storeId:e.clerkObj.storeId,yearMonth:e.clerkObj.yearMonth};Object(l.g)("/haoban-app-performance-three-web/performance/query-clerk-month-performance",t).then(function(t){var r=t.data;if(1==r.errorCode){r.result.clerkPerformanceList&&r.result.clerkPerformanceList.length&&(r.result.clerkPerformanceList.forEach(function(e){e.clerkPerformance=Number(e.clerkPerformance).toFixed(2)}),e.tableData=r.result.clerkPerformanceList||[]),r.result.storePerformance=Number(r.result.storePerformance).toFixed(2),e.clerkObj=r.result;var a=0;return e.tableData.forEach(function(e){a+=Number(e.clerkPerformance)}),void(e.performanceSum=Number(a).toFixed(2))}s.a.errorMsg(r)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())}},mounted:function(){this.brandId&&(this.clerkObj.yearMonth=this.$route.query.yearMonth,this.clerkObj.storeId=this.$route.query.storeId,this.getData())},components:{}},f={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-detail-wrap common-right-wrap"},[r("div",{staticClass:"task-set-content border-box"},[r("div",{staticClass:"saler-set-title flex flex-space-between m-b-15"},[r("div",{staticClass:"saler-set-title_left"},[r("span",[e._v(e._s(e.clerkObj.yearMonth))]),r("span",{staticClass:"p-l-18"},[e._v(e._s(e.clerkObj.storeName)+"门店导购月指标详情")])])]),e._v(" "),r("div",{staticClass:"saler-set-table"},[r("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:e.tableH},attrs:{"span-method":e.objectSpanMethod,data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"导购"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.clerkName))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"月指标"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("el-input",{staticClass:"w-120 p-l-8",attrs:{maxlength:"12",placeholder:"请输入",disabled:0==e.clerkObj.settingAble||0==t.row.bindFlag},on:{blur:function(r){return e.inputPerformance(r,t.$index,t.row)},input:function(r){return e.inputValue(r,t.row)}},model:{value:t.row.clerkPerformance,callback:function(r){e.$set(t.row,"clerkPerformance",r)},expression:"scope.row.clerkPerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"12px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"总计=门店月指标",width:"418px"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.$index;return[r("div",{key:a},[r("span",{staticClass:"font-14 color-606266 text-left"},[e._v("总计")]),r("span",{staticClass:" p-l-175 font-14 color-606266 text-left"},[e._v("门店月指标")])]),e._v(" "),r("div",{staticStyle:{"margin-top":"4px"}},[r("el-input",{staticClass:"w-161",attrs:{disabled:""},model:{value:e.performanceSum,callback:function(t){e.performanceSum=t},expression:"performanceSum"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"10px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])]),e._v(" "),r("span",{staticClass:"p-l-10 p-r-10"},[e._v("=")]),e._v(" "),r("el-input",{staticClass:"w-161 p-l-8",attrs:{maxlength:"50",placeholder:"请输入指标值",disabled:0==e.clerkObj.settingAble},on:{blur:function(t){return e.inputMonthPerformance(t)}},model:{value:e.clerkObj.storePerformance,callback:function(t){e.$set(e.clerkObj,"storePerformance",t)},expression:"clerkObj.storePerformance"}},[r("i",{staticStyle:{"font-style":"normal",position:"absolute",top:"4px",left:"16px"},attrs:{slot:"prefix"},slot:"prefix"},[e._v("¥")])])],1)]}}])})],1)],1),e._v(" "),r("div",{staticClass:"task-set-save text-center m-t-30"},[1==e.clerkObj.settingAble?r("el-button",{attrs:{disabled:!e.equalFlag,type:"primary"},on:{click:e.saveSet}},[e._v("确认")]):e._e()],1)])])},staticRenderFns:[]};var u=r("VU/8")(i,f,!1,function(e){r("6zc5")},"data-v-12c51294",null);t.default=u.exports},"6zc5":function(e,t){}});
\ No newline at end of file
webpackJsonp([122],{"/pg7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("Dd8w"),m=r.n(a),o=r("1fzb"),s=r("znzC"),n=r("P9l9"),i={components:{setActCode:o.default,SelectClerk:s.default},data:function(){return{hmMemberNum:0,form:{hmId:"",hmGroupId:"",passFlag:1,welcomeId:"",hmType:1,name:"",memberLabelId:"",memberLabelName:"",memberLabelStatus:-1,clerkList:[],welcomeType:1,hmUserNum:null},memberType:1}},created:function(){this.getClerkNum()},methods:{radioChange:function(e){1==e&&(this.form.clerkList=[],this.form.hmUserNum=0)},getClerkNum:function(){var e=this;Object(n.b)("/haoban-manage3-web/hm/qrcode/getAddCount",{}).then(function(t){0==t.data.code&&(e.hmMemberNum=t.data.result||0)})},onChange:function(e){this.form.clerkList=e,this.form.hmUserNum=e.length},onSubmit:function(e){var t=this;1==this.memberType?(this.form.clerkIdList=["-1"],this.form.hmUserNum=this.hmMemberNum):this.form.clerkIdList=this.form.clerkList.map(function(e){return e.clerkId});var r=m()({},e,this.form);Object(n.f)("/haoban-manage3-web/hm/qrcode/addList",r).then(function(e){if(0!=e.data.code)return t.$refs.setActCodePage.saveLoading=!1,t.$message.error(e.data.message);setTimeout(function(){t.$refs.setActCodePage.saveLoading=!1,t.$router.go(-1)},1e3)})}}},l={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("setActCode",{ref:"setActCodePage",attrs:{actCodeData:e.form},on:{sumbit:e.onSubmit},scopedSlots:e._u([{key:"typeCode",fn:function(){return[r("el-form-item",{attrs:{label:"活码类型",rules:[{required:!0,message:"请选择活码类型",trigger:"blur"}]}},[r("el-radio-group",{model:{value:e.form.hmType,callback:function(t){e.$set(e.form,"hmType",t)},expression:"form.hmType"}},[r("el-radio",{attrs:{label:1}},[e._v("单人活码")])],1)],1)]},proxy:!0},{key:"member",fn:function(){return[r("el-form-item",{attrs:{label:"关联导购",rules:[{required:!0,message:"请选择使用成员",trigger:"blur"}]}},[r("el-radio-group",{on:{change:e.radioChange},model:{value:e.memberType,callback:function(t){e.memberType=t},expression:"memberType"}},[r("el-radio",{attrs:{label:1}},[e._v("全部成员")]),e._v(" "),r("el-radio",{attrs:{label:2}},[e._v("部分成员")])],1),e._v(" "),r("br"),e._v(" "),1==e.memberType?r("p",{staticClass:"tips"},[e._v("当前已选择 "+e._s(e.hmMemberNum)+" 个成员 "),r("span",[e._v("(活码名称默认为使用成员名称)")])]):e._e(),e._v(" "),2==e.memberType?r("select-clerk",{staticStyle:{"margin-top":"12px"},attrs:{"is-simple":!0,multiple:!0,data:e.form.clerkList},on:{change:e.onChange}}):e._e()],1)]},proxy:!0}])})],1)},staticRenderFns:[]};var u=r("VU/8")(i,l,!1,function(e){r("Bz9S")},"data-v-030e8f1b",null);t.default=u.exports},Bz9S:function(e,t){}});
\ No newline at end of file
webpackJsonp([122],{"2h90":function(e,t){},Z3Aa:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("P9l9"),n={name:"app-detail",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{wxEnterpriseRelatedId:JSON.parse(sessionStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:0,handoverFlag:0},loading:!1}},methods:{setData:function(){var e={enterpriseId:this.brandId,wxEnterpriseRelatedId:this.wxEnterpriseRelatedId};e.searchFlag=this.myCustomData.searchFlag,e.handoverFlag=this.myCustomData.handoverFlag,Object(o.g)("/haoban-app-customer-web/customer/save-customer-setting",e).then(function(e){var t=e.data;1!=t.errorCode?s.a.errorMsg(t):r.a.showmsg("保存成功","success")})},getCustomerSet:function(){var e=this,t={enterpriseId:this.brandId,wxEnterpriseRelatedId:this.wxEnterpriseRelatedId};Object(o.g)("/haoban-app-customer-web/customer/find-customer-setting",t).then(function(t){var a=t.data||{},r=a.errorCode,o=a.result;1!=r?s.a.errorMsg(t.data):o&&(e.myCustomData.searchFlag=o.searchFlag,e.myCustomData.handoverFlag=o.handoverFlag)})}},mounted:function(){this.getCustomerSet()}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-detail-wrap"},[a("el-form",[a("el-form-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.myCustomData.searchFlag,callback:function(t){e.$set(e.myCustomData,"searchFlag",t)},expression:"myCustomData.searchFlag"}},[e._v("允许全品牌搜索")])],1),e._v(" "),a("el-form-item",[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.myCustomData.handoverFlag,callback:function(t){e.$set(e.myCustomData,"handoverFlag",t)},expression:"myCustomData.handoverFlag"}},[e._v("离职继承")]),e._v(" "),a("div",{staticClass:"set-tip-text"},[e._v("保存勾选项后,店长可以选择离职的导购名下的好友会员,选择离职继承")])],1)],1),e._v(" "),a("div",{staticClass:"m-t-46"},[e.$getButtonLimit(e.$buttonCode.searchSetSave)?a("el-button",{attrs:{"limit-code":e.$buttonCode.searchSetSave,type:"primary",loading:e.loading},on:{click:e.setData}},[e._v("保 存")]):e._e()],1)],1)},staticRenderFns:[]};var i=a("VU/8")(n,l,!1,function(e){a("2h90")},"data-v-0bbbf2ac",null);t.default=i.exports}});
\ No newline at end of file
webpackJsonp([123],{"3Qek":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("woOf"),i=s.n(a),l=s("PI0u"),o=s("Ch4/"),n=s("3E4D"),r=s("P9l9"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeId:"1",activeBrand:this.brandId,options:[{label:"企业电话",value:"1",tooltips:["1.对接第三方呼叫中心,外呼显示第三方号码,可监控通话状态,免费保留3天的通话录音,费用结算存储于GIC计费中心;2.如果这个配置打开了,则商户好办端所有的话务任务都可以用企业电话,前提是企业电话对应账户不欠费;"]},{label:"私人电话",value:"2",tooltips:["导购手机呼叫,无法监控通话状态。呼叫结算费用由导购手机自费"]},{label:"企微会话",value:"3",tooltips:["通过企微会话完成任务,无法监控通话状态。不产生通话费用"]}],setObj:{taskCallTypes:[],taskType:1,overDayJudge:"",distributeTypeJudge:"",posDistributeJudge:"",giveUpJudge:"",relaxTaskJudge:!1},loadingBtn:!1}},computed:{},methods:{saveSet:Object(l.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e=this,s={taskCallTypes:e.setObj.taskCallTypes.join(","),enterpriseId:e.activeBrand,taskType:1,overDayJudge:e.setObj.overDayJudge,giveUpJudge:e.setObj.giveUpJudge,distributeTypeJudge:e.setObj.distributeTypeJudge,posDistributeJudge:e.setObj.posDistributeJudge,relaxTaskJudge:e.setObj.relaxTaskJudge?1:0};Object(r.g)("/haoban-app-tel-task-three-web/setting/save-task-setting",s).then(function(s){var a=s.data;if(e.loadingBtn=!1,1==a.errorCode)return n.a.showmsg("保存成功","success"),void t.getData();o.a.errorMsg(a)}).catch(function(t){e.loadingBtn=!1,e.$message.error({duration:1e3,message:t.message})})},getData:function(){var t=this,e={enterpriseId:t.activeBrand,taskType:1};Object(r.g)("/haoban-app-tel-task-three-web/setting/find-task-setting",e).then(function(e){var s=e.data;if(1!=s.errorCode)o.a.errorMsg(s);else{s.result.relaxTaskJudge=1==s.result.relaxTaskJudge;var a="string"==typeof s.result.taskCallTypes?s.result.taskCallTypes.split(","):[];t.setObj=i()({},s.result,{taskCallTypes:a})}}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(t,e){t&&(this.activeBrand=t,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","11"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},u={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-detail-wrap"},[s("div",{staticClass:"task-set-content boder-box"},[s("div",{staticClass:"task-set-cell"},[s("div",{staticClass:"set-line-item flex"},[t._m(0),t._v(" "),s("el-checkbox-group",{model:{value:t.setObj.taskCallTypes,callback:function(e){t.$set(t.setObj,"taskCallTypes",e)},expression:"setObj.taskCallTypes"}},t._l(t.options,function(e){return s("el-checkbox",{key:e.value,attrs:{label:e.value}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start","open-delay":200}},[s("template",{slot:"content"},t._l(e.tooltips,function(e){return s("p",{key:e},[t._v(t._s(e))])}),0),t._v(" "),s("i",{staticClass:"tooltips"},[t._v(t._s(e.label))])],2)],1)}),1)],1),t._v(" "),s("div",{staticClass:"set-line-item font-0"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("话务任务下发:")]),t._v(" "),s("div",{staticClass:"inline-block vertical-top"},[s("table",{staticClass:"font-14"},[s("tbody",[s("tr",{staticClass:"el-table__row"},[t._m(1),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.distributeTypeJudge,callback:function(e){t.$set(t.setObj,"distributeTypeJudge",e)},expression:"setObj.distributeTypeJudge"}},[t._v("分配给专属导购")])],1)])]),t._v(" "),s("tr",{staticClass:"el-table__row"},[t._m(2),t._v(" "),s("td",{staticClass:"el-table_3_column_8 ",attrs:{rowspan:"1",colspan:"1"}},[s("div",{staticClass:"cell"},[s("el-radio",{attrs:{label:0},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给主门店店长")]),t._v(" "),s("el-radio",{attrs:{label:1},model:{value:t.setObj.posDistributeJudge,callback:function(e){t.$set(t.setObj,"posDistributeJudge",e)},expression:"setObj.posDistributeJudge"}},[t._v("分配给专属导购")])],1)])])])])])]),t._v(" "),1==t.setObj.taskCallTypes.length&&1==t.setObj.taskCallTypes[0]?s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"},[t._v("话务任务条件:")]),s("span",{staticClass:"font-14 color-606266"},[t._v("话务任务下发后 ")]),t._v(" "),s("el-input-number",{staticClass:"w-100",attrs:{"controls-position":"right",placeholder:"请输入内容",step:1,"step-strictly":!0,min:0,max:99999999},model:{value:t.setObj.giveUpJudge,callback:function(e){t.$set(t.setObj,"giveUpJudge",e)},expression:"setObj.giveUpJudge"}}),s("span",{staticClass:"font-14 color-606266 p-l-10"},[t._v("次")]),t._v(" "),s("span",{staticClass:"font-14 color-606266"},[t._v("呼叫后无响应,导购可放弃该条话务任务")])],1):t._e(),t._v(" "),s("div",{staticClass:"set-line-item"},[s("span",{staticClass:"set-line-item_title font-14 color-606266 text-right"}),t._v(" "),t.$getButtonLimit(t.$buttonCode.saveTrafficTaskSet)?s("el-button",{attrs:{"limit-code":t.$buttonCode.saveTrafficTaskSet,type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保存")]):t._e()],1)]),t._v(" "),s("div",{staticClass:"task-set-save m-t-30"})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"set-line-item_title text-right"},[e("i",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","font-style":"normal","padding-bottom":"2px"}},[this._v("话务任务拨打")]),this._v(":")])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("微信会员")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"el-table_3_column_7 ",attrs:{rowspan:"1",colspan:"1"}},[e("div",{staticClass:"font-14 color-303133"},[this._v("POS会员")])])}]};var d=s("VU/8")(c,u,!1,function(t){s("kGJ4")},"data-v-00f23072",null);e.default=d.exports},kGJ4:function(t,e){}});
\ No newline at end of file
webpackJsonp([123],{"4Y5O":function(t,e){},mjMK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),i=a("Ch4/"),r={name:"authMerchant",data:function(){return{loading:!0,currentPage:1,pageSize:20,total:0,tableData:[],addShow:!1}},computed:{},filters:{wxEnterpriseTypeFilter:function(t){return 0==t?"总部":1==t?"代理":""}},methods:{AddAuthMerchant:function(t){t.enterpriseId?this.changeRoute("authMerchantForm?enterprise="+t.enterpriseId):this.changeRoute("authMerchantForm")},refreshData:function(t){if(this.addShow=!1,"close"==t)return!1;this.getTableList()},changeRoute:function(t){this.$router.push(t)},toStoreList:function(t){this.changeRoute("merchantStoreList?enterprise="+t.enterpriseId)},handleSizeChange:function(t){this.currentPage=1,this.pageSize=t,this.getTableList()},handleCurrentChange:function(t){this.currentPage=t,this.getTableList()},getTableList:function(t){var e=this;e.loading=!0;Object(n.b)("/haoban-manage3-web/wx-enterprise-list",{}).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.tableData=a.result||[],!1;i.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},refreshStoreBind:function(t){var e=this;e.$confirm("确认要刷新吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.loading=!0;var a={enterpriseId:t.enterpriseId};Object(n.b)("/haoban-manage3-web/flush-bind-store-list",a).then(function(t){e.loading=!1;var a=t.data;if(1==a.errorCode)return e.$message.success({duration:1e3,message:"刷新成功"}),!1;i.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})}).catch(function(){})},clerkEditFlagChange:function(t,e){var a=this,r=this;r.$confirm("是否确认修改导购编辑权限?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){r.loading=!0;var o={wxEnterprieseRelatedId:t.wxEnterpriseRelatedId,clerkEditFlag:r.tableData[e].clerkEditFlag?1:0};Object(n.b)("/haoban-manage3-web/set-clerk-edit",o).then(function(t){r.loading=!1;var e=t.data;if(1==e.errorCode)return r.$message.success({duration:1e3,message:"修改成功"}),a.getTableList(),!1;a.getTableList(),i.a.errorMsg(e)}).catch(function(t){r.loading=!1,r.$message.error({duration:1e3,message:t.message}),this.getTableList()})}).catch(function(){r.tableData[e].clerkEditFlag=r.tableData[e].clerkEditFlag?0:1})}},mounted:function(){this.getTableList()}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[a("div",{staticClass:"apps-content-right"},[a("div",{staticClass:"flex flex-space-between flex-align-center"},[a("el-alert",{staticStyle:{width:"300px"},attrs:{type:"info","show-icon":"",closable:!1,title:"如需新增商户,请联系达摩运营人员"}})],1),t._v(" "),a("div",{staticClass:"m-t-20"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"",label:"商户列表","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"ul-li-cell flex"},[a("div",{staticClass:"cell-img"},[a("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}})]),t._v(" "),a("div",{staticClass:"cell-info"},[a("div",{staticClass:"cell-info-name flex font-14 color-303133"},[a("span",{staticClass:"gic-name color-606266"},[t._v(t._s(e.row.enterpriseName||"--"))]),a("span",{staticClass:"gic-version color-606266"},[t._v(t._s(e.row.version||"3.0"))])]),t._v(" "),a("div",{staticClass:"cell-info-name flex font-14 color-606266"},[a("span",{staticClass:"gic-name"},[t._v(t._s(e.row.brandName||"--"))])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"企业类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(t._f("wxEnterpriseTypeFilter")(e.row.wxEnterpriseType)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"微信开放平台类型","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"color-606266"},[t._v(t._s(e.row.memberOpenCardFlag?"不同微信开放平台":"同一微信开放平台"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"完成时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),t._v(" "),a("div",{staticClass:"line-18 color-606266"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"",label:"操作","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$getButtonLimit(t.$buttonCode.checkAuth)?a("el-button",{attrs:{type:"text","limit-code":t.$buttonCode.checkAuth},on:{click:function(a){return t.AddAuthMerchant(e.row)}}},[t._v("查看授权设置")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.bindStoreList)?a("el-button",{attrs:{"limit-code":t.$buttonCode.bindStoreList,type:"text"},on:{click:function(a){return t.toStoreList(e.row)}}},[t._v("绑定门店列表")]):t._e(),t._v(" "),t.$getButtonLimit(t.$buttonCode.refreshStore)?a("el-button",{attrs:{"limit-code":t.$buttonCode.refreshStore,type:"text"},on:{click:function(a){return t.refreshStoreBind(e.row)}}},[t._v("刷新门店 ")]):t._e()]}}])})],1),t._v(" "),0!=t.tableData.length?a("div",{staticClass:"block common-wrap__page text-right m-t-24"},[a("dm-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[20,40,60,80],"page-size":t.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:8},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)])])])])])},staticRenderFns:[]};var s=a("VU/8")(r,o,!1,function(t){a("4Y5O")},"data-v-0860f8fe",null);e.default=s.exports}});
\ No newline at end of file
webpackJsonp([124],{"0/JE":function(e,l,n){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=n("VU/8")({name:"Refresh",created:function(){this.$router.go(-1)}},null,!1,null,null,null);l.default=t.exports}});
\ No newline at end of file
webpackJsonp([125],{"0/JE":function(e,l,n){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=n("VU/8")({name:"Refresh",created:function(){this.$router.go(-1)}},null,!1,null,null,null);l.default=t.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.
webpackJsonp([22,58,73],{"1I9l":function(t,e){},i0rV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("woOf"),n=a.n(i),l=a("P9l9"),s=a("Ch4/"),r={name:"GuideAuthSetting",data:function(){return{loading:!1,settingData:{editClerkFlag:0,addClerkFlag:0,delClerkFlag:0}}},created:function(){this.getSetting()},methods:{getSetting:function(){var t=this;Object(l.b)("/haoban-manage3-web/application-open-close-list",{}).then(function(e){var a=e.data||{},i=a.errorCode,l=a.result;if(1!=i)return s.a.errorMsg(e.data);var r=(l||{}).clerkEditInfo;n()(t.settingData,r)})},onSave:function(){var t=this;this.loading=!0;var e=this.settingData,a={editClerkFlag:e.editClerkFlag,addClerkFlag:e.addClerkFlag,delClerkFlag:e.delClerkFlag};Object(l.g)("/haoban-manage3-web/save-clerk-edit-flag",a).then(function(e){if(1!=(e.data||{}).errorCode)return s.a.errorMsg(e.data);t.$message.success("保存成功")}).finally(function(){setTimeout(function(){return t.loading=!1},100)})}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"guide-setting"},[a("div",{staticClass:"guide-auth-list"},[a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许编辑导购信息")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.editClerkFlag,callback:function(e){t.$set(t.settingData,"editClerkFlag",e)},expression:"settingData.editClerkFlag"}})],1),t._v(" "),a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许店长添加导购")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.addClerkFlag,callback:function(e){t.$set(t.settingData,"addClerkFlag",e)},expression:"settingData.addClerkFlag"}})],1),t._v(" "),a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许店长删除导购")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.delClerkFlag,callback:function(e){t.$set(t.settingData,"delClerkFlag",e)},expression:"settingData.delClerkFlag"}})],1)]),t._v(" "),t.$getButtonLimit(t.$buttonCode.saveGuideSetting)?a("el-button",{staticClass:"save-btn",attrs:{"limit-code":t.$buttonCode.saveGuideSetting,loading:t.loading,type:"primary"},on:{click:t.onSave}},[t._v("保存")]):t._e()],1)},staticRenderFns:[]};var o=a("VU/8")(r,c,!1,function(t){a("ih88")},"data-v-9518b3c2",null);e.default=o.exports},ih88:function(t,e){},tPY2:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("i0rV"),n=a("w5vQ"),l={name:"GuideSetting",components:{GuideAuthSetting:i.default,AppVisibleSetting:n.default},data:function(){return{activeName:"first"}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"导购操作权限设置",name:"first"}},[a("guide-auth-setting")],1),t._v(" "),a("el-tab-pane",{attrs:{label:"应用可见权限设置",name:"second"}},[a("app-visible-setting")],1)],1)],1)},staticRenderFns:[]},r=a("VU/8")(l,s,!1,null,null,null);e.default=r.exports},w5vQ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("mvHQ"),n=a.n(i),l=a("P9l9"),s=a("Ch4/"),r={name:"AppVisibleSetting",data:function(){return{loading:!1,settingData:{checked:[]},allApps:[]}},created:function(){this.getSetting()},methods:{getSetting:function(){var t=this;Object(l.b)("/haoban-manage3-web/application-open-close-list",{}).then(function(e){var a=e.data||{},i=a.errorCode,n=a.result;if(1!=i)return s.a.errorMsg(e.data);var l=(n||{}).allList;l=Array.isArray(l)?l:[],t.allApps=l,t.settingData.checked=l.filter(function(t){return 1==t.openFlag}).map(function(t){return t.applicationId})})},onSave:function(){var t=this;this.loading=!0;var e=this.settingData.checked,a=this.allApps.map(function(t){return{applicationId:t.applicationId,openFlag:e.includes(t.applicationId)?1:0}}),i={dataJson:n()(a)};Object(l.g)("/haoban-manage3-web/open-or-close",i).then(function(e){if(1!=(e.data||{}).errorCode)return s.a.errorMsg(e.data);t.$message.success("保存成功")}).finally(function(){setTimeout(function(){return t.loading=!1},100)})}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"guide-setting"},[a("p",{staticClass:"app-auth-tip"},[t._v("设置导购可见应用")]),t._v(" "),a("el-checkbox-group",{model:{value:t.settingData.checked,callback:function(e){t.$set(t.settingData,"checked",e)},expression:"settingData.checked"}},t._l(t.allApps,function(e){return a("el-checkbox",{key:e.applicationId,staticStyle:{"margin-left":"0"},attrs:{label:e.applicationId}},[t._v(t._s(e.applicationName))])}),1),t._v(" "),t.$getButtonLimit(t.$buttonCode.saveAppsVisible)?a("el-button",{staticClass:"save-btn",attrs:{"limit-code":t.$buttonCode.saveAppsVisible,loading:t.loading,type:"primary"},on:{click:t.onSave}},[t._v("保存")]):t._e()],1)},staticRenderFns:[]};var o=a("VU/8")(r,c,!1,function(t){a("1I9l")},"data-v-5d9db47e",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([24,73,117],{"7koN":function(t,e){},ZEf4:function(t,e){},i0rV:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("woOf"),n=a.n(i),l=a("P9l9"),s=a("Ch4/"),r={name:"GuideAuthSetting",data:function(){return{loading:!1,settingData:{editClerkFlag:0,addClerkFlag:0,delClerkFlag:0}}},created:function(){this.getSetting()},methods:{getSetting:function(){var t=this;Object(l.b)("/haoban-manage3-web/application-open-close-list",{}).then(function(e){var a=e.data||{},i=a.errorCode,l=a.result;if(1!=i)return s.a.errorMsg(e.data);var r=(l||{}).clerkEditInfo;n()(t.settingData,r)})},onSave:function(){var t=this;this.loading=!0;var e=this.settingData,a={editClerkFlag:e.editClerkFlag,addClerkFlag:e.addClerkFlag,delClerkFlag:e.delClerkFlag};Object(l.g)("/haoban-manage3-web/save-clerk-edit-flag",a).then(function(e){if(1!=(e.data||{}).errorCode)return s.a.errorMsg(e.data);t.$message.success("保存成功")}).finally(function(){setTimeout(function(){return t.loading=!1},100)})}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"guide-setting"},[a("div",{staticClass:"guide-auth-list"},[a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许编辑导购信息")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.editClerkFlag,callback:function(e){t.$set(t.settingData,"editClerkFlag",e)},expression:"settingData.editClerkFlag"}})],1),t._v(" "),a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许店长添加导购")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.addClerkFlag,callback:function(e){t.$set(t.settingData,"addClerkFlag",e)},expression:"settingData.addClerkFlag"}})],1),t._v(" "),a("div",{staticClass:"guide-auth-item"},[a("span",{staticClass:"auth-item-label"},[t._v("允许店长删除导购")]),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.settingData.delClerkFlag,callback:function(e){t.$set(t.settingData,"delClerkFlag",e)},expression:"settingData.delClerkFlag"}})],1)]),t._v(" "),t.$getButtonLimit(t.$buttonCode.saveGuideSetting)?a("el-button",{staticClass:"save-btn",attrs:{"limit-code":t.$buttonCode.saveGuideSetting,loading:t.loading,type:"primary"},on:{click:t.onSave}},[t._v("保存")]):t._e()],1)},staticRenderFns:[]};var o=a("VU/8")(r,c,!1,function(t){a("7koN")},"data-v-18cf3981",null);e.default=o.exports},tPY2:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("i0rV"),n=a("w5vQ"),l={name:"GuideSetting",components:{GuideAuthSetting:i.default,AppVisibleSetting:n.default},data:function(){return{activeName:"first"}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"导购操作权限设置",name:"first"}},[a("guide-auth-setting")],1),t._v(" "),a("el-tab-pane",{attrs:{label:"应用可见权限设置",name:"second"}},[a("app-visible-setting")],1)],1)],1)},staticRenderFns:[]},r=a("VU/8")(l,s,!1,null,null,null);e.default=r.exports},w5vQ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("mvHQ"),n=a.n(i),l=a("P9l9"),s=a("Ch4/"),r={name:"AppVisibleSetting",data:function(){return{loading:!1,settingData:{checked:[]},allApps:[]}},created:function(){this.getSetting()},methods:{getSetting:function(){var t=this;Object(l.b)("/haoban-manage3-web/application-open-close-list",{}).then(function(e){var a=e.data||{},i=a.errorCode,n=a.result;if(1!=i)return s.a.errorMsg(e.data);var l=(n||{}).allList;l=Array.isArray(l)?l:[],t.allApps=l,t.settingData.checked=l.filter(function(t){return 1==t.openFlag}).map(function(t){return t.applicationId})})},onSave:function(){var t=this;this.loading=!0;var e=this.settingData.checked,a=this.allApps.map(function(t){return{applicationId:t.applicationId,openFlag:e.includes(t.applicationId)?1:0}}),i={dataJson:n()(a)};Object(l.g)("/haoban-manage3-web/open-or-close",i).then(function(e){if(1!=(e.data||{}).errorCode)return s.a.errorMsg(e.data);t.$message.success("保存成功")}).finally(function(){setTimeout(function(){return t.loading=!1},100)})}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"guide-setting"},[a("p",{staticClass:"app-auth-tip"},[t._v("设置导购可见应用")]),t._v(" "),a("el-checkbox-group",{model:{value:t.settingData.checked,callback:function(e){t.$set(t.settingData,"checked",e)},expression:"settingData.checked"}},t._l(t.allApps,function(e){return a("el-checkbox",{key:e.applicationId,staticStyle:{"margin-left":"0"},attrs:{label:e.applicationId}},[t._v(t._s(e.applicationName))])}),1),t._v(" "),t.$getButtonLimit(t.$buttonCode.saveAppsVisible)?a("el-button",{staticClass:"save-btn",attrs:{"limit-code":t.$buttonCode.saveAppsVisible,loading:t.loading,type:"primary"},on:{click:t.onSave}},[t._v("保存")]):t._e()],1)},staticRenderFns:[]};var o=a("VU/8")(r,c,!1,function(t){a("ZEf4")},"data-v-7a74d96c",null);e.default=o.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.
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