Commit b8980fe5 by crushh

update: dist

parents 63387669 67ea1822
<!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.69.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1628375_b9ejwjvcr7.css><script src=//at.alicdn.com/t/font_1628375_b9ejwjvcr7.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.1ed6210166623b48ef5b8bb7189545f1.css rel=stylesheet></head><body style="min-width: 1400px;" 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.69.css><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1628375_b9ejwjvcr7.css><script src=//at.alicdn.com/t/font_1628375_b9ejwjvcr7.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.215390e5bd6433fa404d327e14dcd30b.css rel=stylesheet></head><body style="min-width: 1400px;" 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 ? 'gicdev.demogic.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.5e7cc6f0258bf4673cb0.js></script><script type=text/javascript src=./static/js/vendor.57a829648edc61c88775.js></script><script type=text/javascript src=./static/js/app.4fdae33d241da4b0e9f5.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.d9a04b4db9fe7d3bb286.js></script><script type=text/javascript src=./static/js/vendor.57a829648edc61c88775.js></script><script type=text/javascript src=./static/js/app.e3ec00a234861e3f2cdc.js></script></body></html>
\ No newline at end of file
webpackJsonp([88],{jgyj:function(t,e){},xWf4:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("P9l9"),a=i("PI0u"),o={props:{},data:function(){return{friendSettingTypeOption:{1:"发送【好办欢迎语】+【带导购参数的会员小程序卡片】",2:"发送【好办欢迎语】+【带导购参数的公众号二维码】",3:"发送【好办欢迎语】"},title:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingType:"",type:1,friendSettingId:"",btnLoading:!1,dialogVisible:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie"},tableData:[]}},mounted:function(){this.$emit("showTab",4),document.documentElement.style.backgroundColor="#f0f2f5",this.getData(),this.getSetting()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{toInput:Object(a.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},openDialog:function(){this.dialogVisible=!0},getSetting:function(){var t=this;Object(n.a)("/haoban-manage3-web/welcome/get/friend-setting",{wxEnterpriseId:this.wxEnterpriseId}).then(function(e){var i=e.data;if(0==i.code&&i.result){var n=i.result,a=n.friendSettingId,o=n.friendSettingType;t.friendSettingId=a,t.type=o,t.friendSettingType=o}})},saveSetting:function(){var t=this,e={friendSettingId:this.friendSettingId,wxEnterpriseId:this.wxEnterpriseId,friendSettingType:this.type};this.btnLoading=!0,Object(n.e)("/haoban-manage3-web/welcome/save/friend-setting",e).then(function(e){console.log(e);var i=e.data;0==i.code&&i.result&&(t.$message.success(i.message),t.dialogVisible=!1,t.getSetting())}).finally(function(){t.btnLoading=!1})},changeRoute:function(t){this.$router.push({path:"/salutatorySet",query:{id:t.welcomeId,type:this.friendSettingType}})},remove:function(t){var e=this;this.$confirm(" 是否删除本条欢迎语?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.a)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){var i=t.data;0==i.code&&i.result&&(e.$message.success("删除成功"),e.getData())})})},getData:function(){var t=this;Object(n.e)("/haoban-manage3-web/welcome/list",{title:this.title,wxEnterpriseId:this.wxEnterpriseId}).then(function(e){var i=e.data;0==i.code&&i.result&&(t.tableData=i.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},components:{}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"warp"},[i("h2",[t._v("加好友配置")]),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.friendSettingType&&4!=t.friendSettingType,expression:"friendSettingType && friendSettingType != 4"}],staticClass:"echoData"},[t._v(t._s(t.friendSettingTypeOption[t.friendSettingType]))]),t._v(" "),i("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"text"},on:{click:t.openDialog}},[t._v("去配置")])],1),t._v(" "),i("div",{staticClass:"daily-set-wrap"},[i("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),i("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[i("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return i=e,t.toInput(i,t.searchInput);var i}},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:t.changeRoute}},[t._v("新建欢迎语")])],1),t._v(" "),i("el-table",{ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[i("el-table-column",{attrs:{prop:"title",label:"标题",width:"220","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(i.title))]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(i.welcomeContent))]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"附件"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[i("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(n.welcomeMediaList,function(e){return i("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[i("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),i("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),n.welcomeMediaList&&n.welcomeMediaList.length?i("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[i("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[n.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),i("span",{staticClass:"wrapText"},[t._v(" "+t._s(n.welcomeMediaList[0].mediaTitle))])],1):t._e()],2)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(t._f("formatTimeStamp")(i.updateTime)))]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"operatorName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),i("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(i.suitDepartmentName.join(",")))]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"操作",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[i("el-button",{attrs:{type:"text"},on:{click:function(e){return t.changeRoute(n)}}},[t._v("编辑")]),t._v(" "),i("el-button",{attrs:{type:"text"},on:{click:function(e){return t.remove(n)}}},[t._v("删除")])]}}])})],1)],1)]),t._v(" "),i("el-dialog",{attrs:{title:"加好友配置",visible:t.dialogVisible,width:"590px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("span",{staticClass:"tips"},[t._v("好办欢迎语支持文字、图片、视频、文件、链接及小程序")]),t._v(" "),i("el-form",{staticStyle:{"margin-top":"20px"},attrs:{"label-width":"100px"}},[i("el-form-item",{attrs:{label:"加好友配置"}},t._l(t.friendSettingTypeOption,function(e,n){return i("div",{key:n},[i("el-radio",{attrs:{label:Number(n)},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[t._v(t._s(e))]),t._v(" "),i("el-tag",{directives:[{name:"show",rawName:"v-show",value:2==n,expression:"key == 2"}],attrs:{size:"small"}},[t._v("推荐使用")])],1)}),0)],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),i("el-button",{attrs:{type:"primary",loading:t.btnLoading},on:{click:t.saveSetting}},[t._v("确 定")])],1)],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-tip-body"},[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("p",{staticClass:"el-alert__title"},[this._v("\n 1. 因企业微信接口限制,若在企微管理端为相关人员配置欢迎语,好办设置欢迎语不会生效;"),e("br"),this._v("\n 2. 若使用好办欢迎语,请关闭其他企业自建应用/第三方应用的欢迎语配置; "),e("br"),this._v("\n 3. 在此处所自定义配置的欢迎语基础上,系统将默认包含“带参会员小程序卡片”,以便门店员工添加客户好友后,引导客户进入带参会员小程序页面授权微信信息,进而使得系统将企业客户与GIC后台某客户对应起来;"),e("br"),this._v("\n 4. 如果导购没有绑定导购code,没有主门店信息,则无法发送好办欢迎语;\n ")])])])])}]};var l=i("VU/8")(o,s,!1,function(t){i("jgyj")},"data-v-1e35b364",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([90],{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([89],{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([91],{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.a)("/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([90],{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.a)("/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([92],{QZxC:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),i=a("3Xzz"),l=a("P9l9"),o=a("Ch4/"),r={name:"authMerchant",data:function(){return{bgHeight:window.screen.availHeight-104+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:"/authMerchant"},{name:"门店绑定列表",path:""}],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=n()({},this.pageParams);Object(l.a)("/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=[],o.a.errorMsg(s)}).catch(function(t){a.$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:i.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",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)])])])])],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 u=a("VU/8")(r,c,!1,function(t){a("lMNC")},"data-v-1132a12a",null);e.default=u.exports},lMNC:function(t,e){}});
\ No newline at end of file
webpackJsonp([91],{QZxC:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Dd8w"),n=a.n(s),i=a("3Xzz"),l=a("P9l9"),o=a("Ch4/"),r={name:"authMerchant",data:function(){return{bgHeight:window.screen.availHeight-104+"px",navpath:[{name:"首页",path:"/index"},{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:"/authMerchant"},{name:"门店绑定列表",path:""}],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=n()({},this.pageParams);Object(l.a)("/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=[],o.a.errorMsg(s)}).catch(function(t){a.$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:i.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",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)])])])])],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 u=a("VU/8")(r,c,!1,function(t){a("lMNC")},"data-v-1132a12a",null);e.default=u.exports},lMNC:function(t,e){}});
\ No newline at end of file
webpackJsonp([92],{gO8y:function(t,e){},xWf4:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("P9l9"),a=i("PI0u"),o={props:{},data:function(){return{friendSettingTypeOption:[{label:2,content:"发送【好办欢迎语】+【带导购参数的公众号二维码】"},{label:1,content:"发送【好办欢迎语】+【带导购参数的会员小程序卡片】"},{label:3,content:"发送【好办欢迎语】"}],title:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",friendSettingType:"",type:1,friendSettingId:"",btnLoading:!1,dialogVisible:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie"},tableData:[]}},mounted:function(){this.$emit("showTab",4),document.documentElement.style.backgroundColor="#f0f2f5",this.getData(),this.getSetting()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},computed:{echoFriendData:function(){var t=this,e="";return this.friendSettingType&&(e=this.friendSettingTypeOption.filter(function(e){return e.label==t.friendSettingType})[0].content),e}},methods:{toInput:Object(a.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},openDialog:function(){this.dialogVisible=!0},getSetting:function(){var t=this;Object(n.a)("/haoban-manage3-web/welcome/get/friend-setting",{wxEnterpriseId:this.wxEnterpriseId}).then(function(e){var i=e.data;if(0==i.code&&i.result){var n=i.result,a=n.friendSettingId,o=n.friendSettingType;t.friendSettingId=a,t.type=o,t.friendSettingType=o}})},saveSetting:function(){var t=this,e={friendSettingId:this.friendSettingId,wxEnterpriseId:this.wxEnterpriseId,friendSettingType:this.type};this.btnLoading=!0,Object(n.e)("/haoban-manage3-web/welcome/save/friend-setting",e).then(function(e){console.log(e);var i=e.data;0==i.code&&i.result&&(t.$message.success(i.message),t.dialogVisible=!1,t.getSetting())}).finally(function(){t.btnLoading=!1})},changeRoute:function(t){this.$router.push({path:"/salutatorySet",query:{id:t.welcomeId,type:this.friendSettingType}})},remove:function(t){var e=this;this.$confirm(" 是否删除本条欢迎语?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.a)("/haoban-manage3-web/welcome/remove",{welcomeId:t.welcomeId}).then(function(t){var i=t.data;0==i.code&&i.result&&(e.$message.success("删除成功"),e.getData())})})},getData:function(){var t=this;Object(n.e)("/haoban-manage3-web/welcome/list",{title:this.title,wxEnterpriseId:this.wxEnterpriseId}).then(function(e){var i=e.data;0==i.code&&i.result&&(t.tableData=i.result,t.tableData.forEach(function(t){t.suitDepartmentName=[],t.suitDepartmentList&&t.suitDepartmentList.length&&t.suitDepartmentList.forEach(function(e){t.suitDepartmentName.push(e.departmentName)})}))}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}},watch:{},components:{}},l={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"warp"},[i("h2",[t._v("加好友配置")]),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.friendSettingType&&4!=t.friendSettingType,expression:"friendSettingType && friendSettingType != 4"}],staticClass:"echoData"},[t._v(t._s(t.echoFriendData))]),t._v(" "),i("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"text"},on:{click:t.openDialog}},[t._v("去配置")])],1),t._v(" "),i("div",{staticClass:"daily-set-wrap"},[i("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),i("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[i("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return i=e,t.toInput(i,t.searchInput);var i}},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}},[i("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:t.changeRoute}},[t._v("新建欢迎语")])],1),t._v(" "),i("el-table",{ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[i("el-table-column",{attrs:{prop:"title",label:"标题",width:"220","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(i.title))]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(i.welcomeContent))]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"附件"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[i("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(n.welcomeMediaList,function(e){return i("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[i("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),i("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),n.welcomeMediaList&&n.welcomeMediaList.length?i("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[i("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[n.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),i("span",{staticClass:"wrapText"},[t._v(" "+t._s(n.welcomeMediaList[0].mediaTitle))])],1):t._e()],2)]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(t._f("formatTimeStamp")(i.updateTime)))]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"operatorName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),i("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[t._v(t._s(i.suitDepartmentName.join(",")))]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"操作",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[i("el-button",{attrs:{type:"text"},on:{click:function(e){return t.changeRoute(n)}}},[t._v("编辑")]),t._v(" "),1!=n.defaultWelcomeFlag?i("el-button",{attrs:{type:"text"},on:{click:function(e){return t.remove(n)}}},[t._v("删除")]):t._e()]}}])})],1)],1)]),t._v(" "),i("el-dialog",{attrs:{title:"加好友配置",visible:t.dialogVisible,width:"590px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[i("span",{staticClass:"tips"},[t._v("好办欢迎语支持文字、图片、视频、文件、链接及小程序")]),t._v(" "),i("el-form",{staticStyle:{"margin-top":"20px"},attrs:{"label-width":"100px"}},[i("el-form-item",{attrs:{label:"加好友配置"}},t._l(t.friendSettingTypeOption,function(e,n){return i("div",{key:n},[i("el-radio",{attrs:{label:e.label},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[t._v(t._s(e.content))]),t._v(" "),i("el-tag",{directives:[{name:"show",rawName:"v-show",value:2==e.label,expression:"val.label == 2"}],attrs:{size:"small"}},[t._v("推荐使用")])],1)}),0)],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),i("el-button",{attrs:{type:"primary",loading:t.btnLoading},on:{click:t.saveSetting}},[t._v("确 定")])],1)],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"admin-tip-body"},[e("div",{staticClass:"el-alert el-alert--info",staticStyle:{width:"860px"},attrs:{role:"alert"}},[e("i",{staticClass:"el-alert__icon el-icon-info"}),this._v(" "),e("div",{staticClass:"el-alert__content"},[e("p",{staticClass:"el-alert__title"},[this._v("\n 1. 因企业微信接口限制,若在企微管理后台为门店人员配置了欢迎语,此处好办配置的欢迎语不会生效;"),e("br"),this._v("\n 2. 若使用好办欢迎语,请关闭其他企业自建应用/第三方应用的欢迎语配置; "),e("br"),this._v("\n 3. 只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语,否则无法发送好办欢迎语;"),e("br"),this._v("\n 4. 支持按照企微不同的组织架构来分别配置不同的欢迎语,也即“多部门多欢迎语”;"),e("br"),this._v("\n 5.好办欢迎语支持“文案+带参小程序卡片/带参公众号二维码”,请根据需要进行配置(“带参公众号二维码”仅有30天有效期,超期失效);\n ")])])])])}]};var s=i("VU/8")(o,l,!1,function(t){i("gO8y")},"data-v-10c90b81",null);e.default=s.exports}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,d,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(f,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var f={},a={100:0};function b(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,b),a.l=!0,a.exports}b.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,b){c=a[e]=[f,b]});c[2]=f;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"ba8935214febdb7e3f9a",1:"80ec7107adf684998411",2:"ee081d25258cd1ccd634",3:"5e8e614074ce4fb58e13",4:"6842094a08d6e8314bcc",5:"5adf7669714c3151f3ca",6:"c0a5fb9f2c1756efba10",7:"5b0cb1142f1c4271f665",8:"76b4075e487820f802a9",9:"324497f9abcac3bf1421",10:"72e0fcbbbfae5460f741",11:"089a5d7389f666b3a424",12:"7e6336c9427f8f852664",13:"f4060b4675a6e8087d70",14:"7bbce9377a1fed3c0af6",15:"ab38868b5032b3b94bf3",16:"0f9cc160028e0334ee1e",17:"004ccbc0db12e8163c76",18:"a25282b7e61e5330f72b",19:"b144722dd27014fb4b87",20:"4e4af591a462a9da17d7",21:"7823a8dc3a15ab92fc9e",22:"b386b8bfcf9b6c244a0f",23:"124c9aa4f6c544149a49",24:"deb0966d158a04089b9d",25:"fb9c519070e24154d531",26:"98090da394d2fcd7acbd",27:"60cbe62de04ce9375d05",28:"73f70bbca04b559f281f",29:"a39cebd1ff1eb790b75c",30:"3d3e3c743671f9f88d14",31:"0d36905eeecb78bad936",32:"2b7e2b67b2e7f4a4b464",33:"74e6c489c2bea79419b4",34:"dd1b802f5bad99ff940f",35:"97e95ff48dd63032f03d",36:"546ab22af3493d7f37e1",37:"e280c9a7944c675f3c5b",38:"6d2c003b032c04d5650c",39:"f587fd58755b1c29a47a",40:"dfc358a663900d19c7d9",41:"e8542ea91426a5ccf742",42:"6ed15b5e37a76a84b352",43:"2617c5f690fbd1654f17",44:"16f634308d955a641c55",45:"36c47bd4c21659820df6",46:"044f982029d215c4a38b",47:"e1bec1dc867c51ec1654",48:"0f139d064381b6152781",49:"6c144a8bfa11df19a0bd",50:"9dff6fb19c61241ee438",51:"3cd3594654acce481c8c",52:"b7f1d41f623a27204d4c",53:"493d02fa18ce04c6064a",54:"0a03fc27632a66b14df1",55:"8e5a59b31576b8166215",56:"3da506cddbef31154d56",57:"e3ebde9ca08f2689bba0",58:"3db645a840f6fcea235e",59:"c28752d0234c9c700c8e",60:"bb76a745c4bb599d309f",61:"3747a600569e95523f9b",62:"81110b3692cf11009820",63:"5a4dc099be9ee92ad1f0",64:"91d8817d8d2aaaa32d9e",65:"2d167cdd8558c117e2ef",66:"2b5e6cf2c08b7ab6b4b3",67:"56a404cfb44ba6622364",68:"686dc9d1da7185fcc831",69:"7c41b2ea79ded11a4ebe",70:"d84e27f8f1e93fba812a",71:"13c258ef26dbcb0e1c79",72:"9e875a71a651c1a1c22d",73:"28fd871ddf97e6bb9700",74:"b3be80faca12bba133bd",75:"b3ab691b5b1add62e9d9",76:"300a8feda6c83418cd8c",77:"69f6b1f64144ec9aad9f",78:"dda1bc81dff2eba16d7e",79:"fd0862cb481edd3cfff2",80:"3af9d9bd890bec3861f6",81:"f7b049af20ab12f425ed",82:"93efef47626eea5c4f09",83:"94dccc13b0d140948625",84:"91b8081dd2299d954297",85:"c966f60dbf0ca187ee52",86:"39217bd3afefcdaa3e6b",87:"33b3082b840c07363e67",88:"d9a7ff8187d639f2a628",89:"20f514ee4bacc4c865fa",90:"8328de831fe7a4d46b88",91:"bfc1eeb7142540f32ff7",92:"105c7f4caa1707bb4c3b",93:"248172f2e0d80bf21a19",94:"129f5e5a05cd369f140a",95:"ddcc8a8ef5de55f41a95",96:"cdd46dcf886145ee6afb",97:"4c340ecc59a6a4a0ff4e"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),f},b.m=e,b.c=f,b.d=function(e,c,f){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="./",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},a={100:0};function d(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,d),a.l=!0,a.exports}d.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,d){c=a[e]=[f,d]});c[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"ba8935214febdb7e3f9a",1:"80ec7107adf684998411",2:"ee081d25258cd1ccd634",3:"5e8e614074ce4fb58e13",4:"6842094a08d6e8314bcc",5:"5adf7669714c3151f3ca",6:"c0a5fb9f2c1756efba10",7:"5b0cb1142f1c4271f665",8:"76b4075e487820f802a9",9:"324497f9abcac3bf1421",10:"72e0fcbbbfae5460f741",11:"089a5d7389f666b3a424",12:"7e6336c9427f8f852664",13:"f4060b4675a6e8087d70",14:"7bbce9377a1fed3c0af6",15:"ab38868b5032b3b94bf3",16:"0f9cc160028e0334ee1e",17:"004ccbc0db12e8163c76",18:"c2c5108ec21ee8b26e16",19:"b144722dd27014fb4b87",20:"4e4af591a462a9da17d7",21:"7823a8dc3a15ab92fc9e",22:"b386b8bfcf9b6c244a0f",23:"124c9aa4f6c544149a49",24:"deb0966d158a04089b9d",25:"fb9c519070e24154d531",26:"98090da394d2fcd7acbd",27:"60cbe62de04ce9375d05",28:"73f70bbca04b559f281f",29:"a39cebd1ff1eb790b75c",30:"3d3e3c743671f9f88d14",31:"0d36905eeecb78bad936",32:"2b7e2b67b2e7f4a4b464",33:"74e6c489c2bea79419b4",34:"dd1b802f5bad99ff940f",35:"97e95ff48dd63032f03d",36:"546ab22af3493d7f37e1",37:"e280c9a7944c675f3c5b",38:"6d2c003b032c04d5650c",39:"f587fd58755b1c29a47a",40:"dfc358a663900d19c7d9",41:"e8542ea91426a5ccf742",42:"6ed15b5e37a76a84b352",43:"2617c5f690fbd1654f17",44:"16f634308d955a641c55",45:"36c47bd4c21659820df6",46:"044f982029d215c4a38b",47:"e1bec1dc867c51ec1654",48:"0f139d064381b6152781",49:"6c144a8bfa11df19a0bd",50:"9dff6fb19c61241ee438",51:"3cd3594654acce481c8c",52:"b7f1d41f623a27204d4c",53:"493d02fa18ce04c6064a",54:"0a03fc27632a66b14df1",55:"8e5a59b31576b8166215",56:"3da506cddbef31154d56",57:"e3ebde9ca08f2689bba0",58:"3db645a840f6fcea235e",59:"c28752d0234c9c700c8e",60:"bb76a745c4bb599d309f",61:"3747a600569e95523f9b",62:"81110b3692cf11009820",63:"5a4dc099be9ee92ad1f0",64:"91d8817d8d2aaaa32d9e",65:"2d167cdd8558c117e2ef",66:"2b5e6cf2c08b7ab6b4b3",67:"56a404cfb44ba6622364",68:"686dc9d1da7185fcc831",69:"7c41b2ea79ded11a4ebe",70:"d84e27f8f1e93fba812a",71:"13c258ef26dbcb0e1c79",72:"9e875a71a651c1a1c22d",73:"28fd871ddf97e6bb9700",74:"b3be80faca12bba133bd",75:"b3ab691b5b1add62e9d9",76:"300a8feda6c83418cd8c",77:"69f6b1f64144ec9aad9f",78:"dda1bc81dff2eba16d7e",79:"fd0862cb481edd3cfff2",80:"3af9d9bd890bec3861f6",81:"f7b049af20ab12f425ed",82:"93efef47626eea5c4f09",83:"94dccc13b0d140948625",84:"91b8081dd2299d954297",85:"c966f60dbf0ca187ee52",86:"39217bd3afefcdaa3e6b",87:"33b3082b840c07363e67",88:"95af205d83d8fa262203",89:"0c8825a95fa739332497",90:"61c1d64e6b9742f21b75",91:"1638f320e7381528a85c",92:"c8d45b78881ad7d33bea",93:"248172f2e0d80bf21a19",94:"129f5e5a05cd369f140a",95:"ddcc8a8ef5de55f41a95",96:"cdd46dcf886145ee6afb",97:"4c340ecc59a6a4a0ff4e"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,c,f){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -2,20 +2,21 @@
<div>
<div class="warp">
<h2>加好友配置</h2>
<span class="echoData" v-show="friendSettingType && friendSettingType != 4">{{ friendSettingTypeOption[friendSettingType] }}</span>
<span class="echoData" v-show="friendSettingType && friendSettingType != 4">{{ echoFriendData }}</span>
<el-button type="text" style="margin-left: 20px;" @click="openDialog">去配置</el-button>
</div>
<div class="daily-set-wrap">
<div class="daily-set-content border-box">
<div class="admin-tip-body">
<div role="alert" class="el-alert el-alert--info">
<div role="alert" class="el-alert el-alert--info" style="width: 860px;">
<i class="el-alert__icon el-icon-info"></i>
<div class="el-alert__content">
<p class="el-alert__title">
1. 因企业微信接口限制,若在企微管理端为相关人员配置欢迎语,好办设置欢迎语不会生效;<br />
1. 因企业微信接口限制,若在企微管理后台为门店人员配置了欢迎语,此处好办配置的欢迎语不会生效;<br />
2. 若使用好办欢迎语,请关闭其他企业自建应用/第三方应用的欢迎语配置; <br />
3. 在此处所自定义配置的欢迎语基础上,系统将默认包含“带参会员小程序卡片”,以便门店员工添加客户好友后,引导客户进入带参会员小程序页面授权微信信息,进而使得系统将企业客户与GIC后台某客户对应起来;<br />
4. 如果导购没有绑定导购code,没有主门店信息,则无法发送好办欢迎语;
3. 只有关联了好办导购账号的企微员工在添加好友后才能触发欢迎语,否则无法发送好办欢迎语;<br />
4. 支持按照企微不同的组织架构来分别配置不同的欢迎语,也即“多部门多欢迎语”;<br />
5.好办欢迎语支持“文案+带参小程序卡片/带参公众号二维码”,请根据需要进行配置(“带参公众号二维码”仅有30天有效期,超期失效);
</p>
</div>
</div>
......@@ -55,7 +56,7 @@
<el-table-column label="操作" width="180">
<template slot-scope="{ row }">
<el-button type="text" @click="changeRoute(row)">编辑</el-button>
<el-button type="text" @click="remove(row)">删除</el-button>
<el-button type="text" @click="remove(row)" v-if="row.defaultWelcomeFlag != 1">删除</el-button>
</template>
</el-table-column>
</el-table>
......@@ -66,8 +67,8 @@
<el-form label-width="100px" style="margin-top:20px">
<el-form-item label="加好友配置">
<div v-for="(val, key) in friendSettingTypeOption" :key="key">
<el-radio :label="Number(key)" v-model="type">{{ val }}</el-radio>
<el-tag size="small" v-show="key == 2">推荐使用</el-tag>
<el-radio :label="val.label" v-model="type">{{ val.content }}</el-radio>
<el-tag size="small" v-show="val.label == 2">推荐使用</el-tag>
</div>
</el-form-item>
</el-form>
......@@ -85,11 +86,11 @@ export default {
props: {},
data() {
return {
friendSettingTypeOption: {
1: '发送【好办欢迎语】+【带导购参数的会员小程序卡片】',
2: '发送【好办欢迎语】+【带导购参数的公众号二维码】',
3: '发送【好办欢迎语】'
},
friendSettingTypeOption: [
{ label: 2, content: '发送【好办欢迎语】+【带导购参数的公众号二维码】' },
{ label: 1, content: '发送【好办欢迎语】+【带导购参数的会员小程序卡片】' },
{ label: 3, content: '发送【好办欢迎语】' }
],
title: '',
wxEnterpriseId: localStorage.getItem('userInfos') ? JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId : '',
friendSettingType: '',
......@@ -116,6 +117,15 @@ export default {
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
},
computed: {
echoFriendData() {
let content = '';
if (this.friendSettingType) {
content = this.friendSettingTypeOption.filter(item => item.label == this.friendSettingType)[0].content;
}
return content;
}
},
methods: {
/**
* 输入
......
......@@ -61,9 +61,6 @@
</el-form-item>
<el-form-item label="使用范围" required>
<div v-show="form.suitDepartmentAddList.length" class="scopeContainer">
<!-- <el-tag size="small" v-for="(item, index) in form.suitDepartmentAddList" closable @close="handleTagClose(index)" :key="item.departmentId">
{{ item.departmentName }}
</el-tag> -->
<div class="wwTag" v-for="(item, index) in form.suitDepartmentAddList" :key="item.departmentId">
<span class="font-14 color-2f54eb opacity80 iconfont-hb3 iconqiye-tianchong"></span>
{{ item.departmentName }}
......@@ -81,7 +78,6 @@
<img src="@/assets/head_default.jpg" />
</div>
<div class="textInfo">
<div class="content" style="font-size:14px;font-weight: 500;">{{ form.title }}</div>
<div class="content" v-html="form.welcomeContent"></div>
</div>
</div>
......@@ -193,7 +189,7 @@ export default {
label: 'departmentName'
},
form: {
title: '系统默认',
title: '',
welcomeContent: '你好,<微信昵称>',
welcomeMediaList: [],
suitDepartmentAddList: [],
......
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