Commit c5194612 by crushh

update: dist

parents b3d04c26 4397d279
<!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_kcme8v8q3t.css><script src=//at.alicdn.com/t/font_1628375_kcme8v8q3t.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.57a7d3e367da9c48ce686f5aa45f91f8.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_5ghlvsafe8j.css><script src=//at.alicdn.com/t/font_1628375_5ghlvsafe8j.js></script><link rel="shortcut icon" href=./favicon.ico><link href=./static/css/app.0fce5b9a629457e1d36282c4417ca396.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.3d3322dfc391fad9ec00.js></script><script type=text/javascript src=./static/js/vendor.57a829648edc61c88775.js></script><script type=text/javascript src=./static/js/app.5b0ec334229366e9bc24.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.bafce29a1512dd4b612c.js></script><script type=text/javascript src=./static/js/vendor.57a829648edc61c88775.js></script><script type=text/javascript src=./static/js/app.e5ca0c9ccb77ed8edd06.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.
webpackJsonp([42],{PlbV:function(e,a){},odfG:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t("3E4D"),o=t("Ch4/"),l=t("PI0u"),i=t("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,showFreezeFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1,faceOpenFlag:!1,handoverFlag:!1},loading:!1}},methods:{submit:Object(l.a)(function(e){this.loading=!0,this.setData(e)},500),setData:function(e){var a=this,t={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId},l=void 0;"showFlag"!=e?(t[e]=a.myCustomData[e]?1:0,l="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-customer-web/customer/save-customer-setting")):(t.mainStoreFlag=a.myCustomData.mainStoreFlag?1:0,t.minorStoreFlag=a.myCustomData.minorStoreFlag?1:0,t.openCardStoreFlag=a.myCustomData.openCardStoreFlag?1:0,t.clerkSeeOtherFlag=a.myCustomData.clerkSeeOtherFlag?1:0,t.allowGuideContact=a.myCustomData.allowGuideContact?1:0,t.allowGuideMobile=a.myCustomData.allowGuideMobile?1:0,t.allowGuideMessage=a.myCustomData.allowGuideMessage?1:0,t.allowGuideOnlineChat=a.myCustomData.allowGuideOnlineChat?1:0,t.showFreezeFlag=a.myCustomData.showFreezeFlag?1:0,t.isSeeAuthMember=a.myCustomData.isSeeAuthMember?1:0,t.faceOpenFlag=a.myCustomData.faceOpenFlag?1:0,t.handoverFlag=a.myCustomData.handoverFlag?1:0,t.chatFlag=a.myCustomData.chatFlag,t.isMessageRemind=a.myCustomData.isMessageRemind,t.messageRemindTime=a.myCustomData.messageRemindTime,t.isTemplateMessage=a.myCustomData.isTemplateMessage,t.isImgMessage=a.myCustomData.isImgMessage,t.isGoodMessage=a.myCustomData.isGoodMessage,t.isIntegralGoodMessage=a.myCustomData.isIntegralGoodMessage,l="/haoban-app-customer-web/customer/save-member-show-setting"),Object(i.f)(l,t).then(function(e){var t=e.data;if(a.loading=!1,1==t.errorCode)return s.a.showmsg("保存成功","success"),void a.getShowSet();o.a.errorMsg(t)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})},changeAllowGuide:function(e){this.myCustomData.allowGuideMobile=e,this.myCustomData.allowGuideMessage=e,this.myCustomData.allowGuideOnlineChat=e},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getShowSet:function(e){var a=this,t={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(i.f)("/haoban-app-customer-web/customer/find-member-show-setting",t).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):t.result&&(t.result.mainStoreFlag=1==t.result.mainStoreFlag,t.result.minorStoreFlag=1==t.result.minorStoreFlag,t.result.openCardStoreFlag=1==t.result.openCardStoreFlag,t.result.clerkSeeOtherFlag=1==t.result.clerkSeeOtherFlag,t.result.allowGuideContact=1==t.result.allowGuideContact,t.result.allowGuideMobile=1==t.result.allowGuideMobile,t.result.allowGuideMessage=1==t.result.allowGuideMessage,t.result.allowGuideOnlineChat=1==t.result.allowGuideOnlineChat,t.result.showFreezeFlag=1==t.result.showFreezeFlag,t.result.isSeeAuthMember=1==t.result.isSeeAuthMember,t.result.faceOpenFlag=1==t.result.faceOpenFlag,t.result.searchFlag=1==t.result.searchFlag,t.result.handoverFlag=1==t.result.handoverFlag,a.myCustomData=t.result)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,a){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},n={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"app-detail-wrap"},[t("div",{staticClass:"app-detail-pane border-box p-20"},[t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.mainStoreFlag,callback:function(a){e.$set(e.myCustomData,"mainStoreFlag",a)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.minorStoreFlag,callback:function(a){e.$set(e.myCustomData,"minorStoreFlag",a)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.openCardStoreFlag,callback:function(a){e.$set(e.myCustomData,"openCardStoreFlag",a)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.showFreezeFlag,callback:function(a){e.$set(e.myCustomData,"showFreezeFlag",a)},expression:"myCustomData.showFreezeFlag"}},[e._v("展示冻结会员")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店冻结会员")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.isSeeAuthMember,callback:function(a){e.$set(e.myCustomData,"isSeeAuthMember",a)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(a){e.$set(e.myCustomData,"clerkSeeOtherFlag",a)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.faceOpenFlag,callback:function(a){e.$set(e.myCustomData,"faceOpenFlag",a)},expression:"myCustomData.faceOpenFlag"}},[e._v("展示人脸识别模块")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,会员基础信息将展示人脸识别相关内容。消费订单取当天数据进行匹配。如果录单时间是隔天的,不会产生消费订单通知,即不会产生人脸匹配通知")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.handoverFlag,callback:function(a){e.$set(e.myCustomData,"handoverFlag",a)},expression:"myCustomData.handoverFlag"}},[e._v("离职继承")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,店长可以选择离职的导购名下的好友会员,选择离职继承")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"注:开启后,可选择导购在 < 我的客户 > 中是否通过以下方式联系客户",placement:"top-start"}},[t("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购联系客户方式:")])]),e._v(" "),t("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMobile,callback:function(a){e.$set(e.myCustomData,"allowGuideMobile",a)},expression:"myCustomData.allowGuideMobile"}},[e._v("电话")]),e._v(" "),t("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMessage,callback:function(a){e.$set(e.myCustomData,"allowGuideMessage",a)},expression:"myCustomData.allowGuideMessage"}},[e._v("短信")]),e._v(" "),t("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideOnlineChat,callback:function(a){e.$set(e.myCustomData,"allowGuideOnlineChat",a)},expression:"myCustomData.allowGuideOnlineChat"}},[e._v("添加客户/发消息")])],1),e._v(" "),t("div",{staticClass:"m-t-46"},[t("el-button",{attrs:{type:"primary",loading:e.loading,disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var m=t("VU/8")(r,n,!1,function(e){t("PlbV")},"data-v-f578f5f2",null);a.default=m.exports}});
\ No newline at end of file
webpackJsonp([44],{"8dpP":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"image-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)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"image-com 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:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont-hb3 icon-icon"})])])}]};var c=a("VU/8")(i,s,!1,function(t){a("ut2q")},"data-v-e9ece5a0",null);e.default=c.exports},ut2q:function(t,e){}});
\ No newline at end of file
webpackJsonp([43],{"8dpP":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={name:"image-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)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"image-com 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:"must"},[t._v(t._s(t.childItem.isMust?"(必填)":""))]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"draged-item-show"},[e("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[e("i",{staticClass:"iconfont-hb3 icon-icon"})])])}]};var c=a("VU/8")(i,s,!1,function(t){a("ut2q")},"data-v-e9ece5a0",null);e.default=c.exports},ut2q:function(t,e){}});
\ No newline at end of file
webpackJsonp([45],{"4O7P":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.a)("/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("4O7P")},"data-v-e847b13c",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([44],{"4O7P":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.a)("/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("4O7P")},"data-v-e847b13c",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([47],{"+QEf":function(e,t){},ak3k:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("2eFk"),n=a("Ke24"),r=a("fPyK"),i=a("P9l9"),l=a("Ch4/"),s=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!1,tableH:window.screen.availHeight-464-126+"px",topMenuData:[{id:"1",name:"自定义报表"}],activeId:"1",activeTab:"1",activeBrand:"1",tableData:[],multipleSelection:[]}},computed:{},methods:{changeRouter:function(e){this.$router.push(e)},setSelectTab:function(e){this.activeTab=e.tabId},handlePreview:function(e,t){var a=window.location.origin+"/office-mobile/#/defineTemplate?templateId="+t.dailyReportTemplateId;this.$refs.qrcodePreview.qrcode(a,"daily-preview"),this.dialogVisible=!0},toCustomSet:function(){this.changeRouter("/customReportSet")},handleCopy:function(e,t){this.changeRouter("/customReportSet?templateId="+t.dailyReportTemplateId+"&type=copy")},handleEdit:function(e,t){this.changeRouter("/customReportSet?&templateId="+t.dailyReportTemplateId+"&type=edit")},handleDelete:function(e,t){var a=this;a.$confirm("一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.deleteTemplate(e,t)}).catch(function(){})},deleteTemplate:function(e,t){var a=this;Object(i.f)("/haoban-app-daily-three-web/daily/del-define-template",{templateId:t.dailyReportTemplateId}).then(function(t){var o=t.data;if(1==o.errorCode)return s.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);l.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this;Object(i.f)("/haoban-app-daily-three-web/daily/list-define-template",{enterpriseId:e.brandId}).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=[],void(a.result&&a.result.length&&(e.tableData=a.result));l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","32"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:o.a,commonDetailTop:n.a,qrcodeDialog:r.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-set-wrap"},[a("div",{staticClass:"custom-set-content border-box"},[a("div",{staticClass:"flex flex-space-between flex-pack-center m-b-23"},[e._m(0),e._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.toCustomSet("")}}},[e._v("新建模板")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.title))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"模板描述","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.description))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"门店类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.storeType?a("span",[e._v("自营门店")]):e._e(),e._v(" "),1==t.row.storeType?a("span",[e._v("联营门店")]):e._e(),e._v(" "),2==t.row.storeType?a("span",[e._v("代理门店")]):e._e(),e._v(" "),3==t.row.storeType?a("span",[e._v("代销门店")]):e._e(),e._v(" "),4==t.row.storeType?a("span",[e._v("托管门店")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleCopy(t.$index,t.row)}}},[e._v("复制")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleDelete(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"custom-set-title flex flex-pack-center"},[t("span",{staticClass:"font-14 color-909399"},[this._v("注:创建自定义日报后才能触发并下发日报")])])}]};var u=a("VU/8")(c,d,!1,function(e){a("+QEf")},"data-v-db6b48ba",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([45],{"+QEf":function(e,t){},ak3k:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("2eFk"),n=a("Ke24"),r=a("fPyK"),i=a("P9l9"),l=a("Ch4/"),s=a("3E4D"),c={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{dialogVisible:!1,tableH:window.screen.availHeight-464-126+"px",topMenuData:[{id:"1",name:"自定义报表"}],activeId:"1",activeTab:"1",activeBrand:"1",tableData:[],multipleSelection:[]}},computed:{},methods:{changeRouter:function(e){this.$router.push(e)},setSelectTab:function(e){this.activeTab=e.tabId},handlePreview:function(e,t){var a=window.location.origin+"/office-mobile/#/defineTemplate?templateId="+t.dailyReportTemplateId;this.$refs.qrcodePreview.qrcode(a,"daily-preview"),this.dialogVisible=!0},toCustomSet:function(){this.changeRouter("/customReportSet")},handleCopy:function(e,t){this.changeRouter("/customReportSet?templateId="+t.dailyReportTemplateId+"&type=copy")},handleEdit:function(e,t){this.changeRouter("/customReportSet?&templateId="+t.dailyReportTemplateId+"&type=edit")},handleDelete:function(e,t){var a=this;a.$confirm("一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.deleteTemplate(e,t)}).catch(function(){})},deleteTemplate:function(e,t){var a=this;Object(i.f)("/haoban-app-daily-three-web/daily/del-define-template",{templateId:t.dailyReportTemplateId}).then(function(t){var o=t.data;if(1==o.errorCode)return s.a.showmsg("删除成功","success"),void a.tableData.splice(e,1);l.a.errorMsg(o)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})},getData:function(){var e=this;Object(i.f)("/haoban-app-daily-three-web/daily/list-define-template",{enterpriseId:e.brandId}).then(function(t){var a=t.data;if(1==a.errorCode)return e.tableData=[],void(a.result&&a.result.length&&(e.tableData=a.result));l.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(e,t){e&&(this.activeBrand=e,this.getData())}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5",this.$emit("showTab","32"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:o.a,commonDetailTop:n.a,qrcodeDialog:r.a}},d={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"custom-set-wrap"},[a("div",{staticClass:"custom-set-content border-box"},[a("div",{staticClass:"flex flex-space-between flex-pack-center m-b-23"},[e._m(0),e._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.toCustomSet("")}}},[e._v("新建模板")])],1)]),e._v(" "),a("el-table",{ref:"multipleTable",staticClass:"select-table",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"模板名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.title))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",label:"模板描述","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.description))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"address",label:"门店类型","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.storeType?a("span",[e._v("自营门店")]):e._e(),e._v(" "),1==t.row.storeType?a("span",[e._v("联营门店")]):e._e(),e._v(" "),2==t.row.storeType?a("span",[e._v("代理门店")]):e._e(),e._v(" "),3==t.row.storeType?a("span",[e._v("代销门店")]):e._e(),e._v(" "),4==t.row.storeType?a("span",[e._v("托管门店")]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleCopy(t.$index,t.row)}}},[e._v("复制")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleEdit(t.$index,t.row)}}},[e._v("编辑")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handleDelete(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1),e._v(" "),a("qrcode-dialog",{ref:"qrcodePreview",model:{value:e.dialogVisible,callback:function(t){e.dialogVisible=t},expression:"dialogVisible"}})],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"custom-set-title flex flex-pack-center"},[t("span",{staticClass:"font-14 color-909399"},[this._v("注:创建自定义日报后才能触发并下发日报")])])}]};var u=a("VU/8")(c,d,!1,function(e){a("+QEf")},"data-v-db6b48ba",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([46],{bHfC:function(t,e){},xWf4:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("P9l9"),a=i("PI0u"),l={props:{},data:function(){return{friendSettingTypeOption:[{label:2,content:"发送【好办欢迎语】+【带导购参数的公众号二维码】"},{label:1,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,l=n.friendSettingType;t.friendSettingId=a,t.type=l||1,t.friendSettingType=l}})},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,isDefalut:t.defaultWelcomeFlag}})},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,expression:"friendSettingType"}],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:"200","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":"","min-width":"200"},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:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[n.welcomeMediaList&&n.welcomeMediaList.length?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):i("div",[t._v("--")])]}}])}),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:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[n.defaultWelcomeFlag?i("div",[i("div",[t._v("全体成员")])]):i("div",[n.suitDepartmentName.join(",").length>40?i("div",{staticClass:"wrapText"},[t._v("\n "+t._s(n.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):i("div",{staticClass:"wrapText"},[t._v("\n "+t._s(n.suitDepartmentName.join(","))+"\n ")])])]}}])}),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天有效期,超期失效);"),e("br"),this._v("\n 6. 若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语。\n ")])])])])}]};var o=i("VU/8")(l,s,!1,function(t){i("bHfC")},"data-v-e5a6cde2",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([49],{"Jhz/":function(t,a){},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.a)("/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("Jhz/")},"data-v-d3ab38e0",null);a.default=l.exports}});
\ No newline at end of file
webpackJsonp([47],{"Jhz/":function(t,a){},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.a)("/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("Jhz/")},"data-v-d3ab38e0",null);a.default=l.exports}});
\ No newline at end of file
webpackJsonp([50],{QHTa:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Gu7T"),i=a.n(n),c=a("bzW+"),o=a("Qie6"),r=a("Z8ln"),s=a("Ch4/"),h=a("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"我的客户",path:"/memberShowSet"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"我的客户",path:"/memberShowSet"}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"客户展示设置",icon:""},{tabId:"12",tabName:"客户分组设置",icon:""},{tabId:"13",tabName:"客户搜索设置",icon:""},{tabId:"14",tabName:"客户详情设置",icon:""}]},{tabId:"2",tabName:"我的客户列表",icon:"icongukeguanliicon"}],navName:{1:"会员基础设置",11:"客户展示设置",12:"客户分组设置",13:"客户搜索设置",14:"客户详情设置",15:"客户标签设置",151:"同步记录",2:"我的客户列表"},navFrontPath:{11:"/memberShowSet",12:"/memberShowSet",13:"/memberShowSet",14:"/memberShowSet",15:"/memberShowSet",151:"/memberTagSet",2:"/memberShowSet",21:"/myCustomerList"},activeBrand:"",activeGroup:"",expiredFlag:!1,loading:!0}},computed:{},methods:{checkTagTab:function(){var e=this;this.loading=!0;var t={enterpriseId:this.activeBrand},a=[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"客户展示设置",icon:""},{tabId:"12",tabName:"客户分组设置",icon:""},{tabId:"13",tabName:"客户搜索设置",icon:""},{tabId:"14",tabName:"客户详情设置",icon:""}]},{tabId:"2",tabName:"我的客户列表",icon:"icongukeguanliicon"}];Object(h.a)("/haoban-app-customer-web/tag/open-tag",t).then(function(t){t.data.result?a[0].children[4]={tabId:"15",tabName:"客户标签设置",icon:""}:"/memberTagSet"===e.$route.path&&e.$router.replace("memberShowSet"),e.$nextTick(function(){e.tabListData=[].concat(a)})}).finally(function(t){return e.loading=!1})},getExpired:function(){var e=this,t={enterpriseId:e.activeBrand};Object(h.a)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.expiredFlag=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeRoute:function(e){this.$router.push(e)},selectBrandId:function(e,t){this.activeBrand=e,this.activeGroup=t,this.getExpired(),this.checkTagTab()},setSelectTab:function(e){switch(this.activeTab=e.tabId,e.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet");break;case"14":this.changeRoute("memberDetailSet");break;case"15":this.changeRoute("memberTagSet");break;case"2":this.changeRoute("myCustomerList")}},showTab:function(e){var t=this,a=[].concat(Array.prototype.slice.call(arguments));this.activeTab=e,this.activeSelTab=e,this.navpath=[].concat(i()(this.defaultNavpath)),a.length&&a.map(function(e){t.navpath[t.navpath.length-1].path=t.navFrontPath[e],t.navpath.push({name:t.navName[e],path:""})})}},watch:{activeBrand:function(e,t){this.activeBrand=e},activeGroup:function(e,t){this.activeGroup=e}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath},on:{selectBrandId:e.selectBrandId}}),e._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],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)"}},[e.loading?e._e():a("common-detail-left",{attrs:{tabListData:e.tabListData,activeSelTab:e.activeSelTab},on:{setSelectTab:e.setSelectTab}})],1),e._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[e.activeBrand?a("router-view",{attrs:{brandId:e.activeBrand,activeGroupId:e.activeGroup,tabType:e.activeTab},on:{showTab:e.showTab}}):e._e()],1)],1)])])]),e._v(" "),e.expiredFlag?a("expired-dialog"):e._e()],1)},staticRenderFns:[]};var b=a("VU/8")(d,m,!1,function(e){a("S/p6")},"data-v-d377b818",null);t.default=b.exports},"S/p6":function(e,t){}});
\ No newline at end of file
webpackJsonp([48],{QHTa:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("Gu7T"),i=a.n(n),c=a("bzW+"),o=a("Qie6"),r=a("Z8ln"),s=a("Ch4/"),h=a("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"11",activeTab:"11",navpath:[{name:"首页",path:"/index"},{name:"我的客户",path:"/memberShowSet"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"我的客户",path:"/memberShowSet"}],tabListData:[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"客户展示设置",icon:""},{tabId:"12",tabName:"客户分组设置",icon:""},{tabId:"13",tabName:"客户搜索设置",icon:""},{tabId:"14",tabName:"客户详情设置",icon:""}]},{tabId:"2",tabName:"我的客户列表",icon:"icongukeguanliicon"}],navName:{1:"会员基础设置",11:"客户展示设置",12:"客户分组设置",13:"客户搜索设置",14:"客户详情设置",15:"客户标签设置",151:"同步记录",2:"我的客户列表"},navFrontPath:{11:"/memberShowSet",12:"/memberShowSet",13:"/memberShowSet",14:"/memberShowSet",15:"/memberShowSet",151:"/memberTagSet",2:"/memberShowSet",21:"/myCustomerList"},activeBrand:"",activeGroup:"",expiredFlag:!1,loading:!0}},computed:{},methods:{checkTagTab:function(){var e=this;this.loading=!0;var t={enterpriseId:this.activeBrand},a=[{tabId:"1",tabName:"会员基础设置",icon:"iconjichushezhi",onlyIconActive:!1,children:[{tabId:"11",tabName:"客户展示设置",icon:""},{tabId:"12",tabName:"客户分组设置",icon:""},{tabId:"13",tabName:"客户搜索设置",icon:""},{tabId:"14",tabName:"客户详情设置",icon:""}]},{tabId:"2",tabName:"我的客户列表",icon:"icongukeguanliicon"}];Object(h.a)("/haoban-app-customer-web/tag/open-tag",t).then(function(t){t.data.result?a[0].children[4]={tabId:"15",tabName:"客户标签设置",icon:""}:"/memberTagSet"===e.$route.path&&e.$router.replace("memberShowSet"),e.$nextTick(function(){e.tabListData=[].concat(a)})}).finally(function(t){return e.loading=!1})},getExpired:function(){var e=this,t={enterpriseId:e.activeBrand};Object(h.a)("/haoban-manage3-web/enterprise-is-over",t).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):e.expiredFlag=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeRoute:function(e){this.$router.push(e)},selectBrandId:function(e,t){this.activeBrand=e,this.activeGroup=t,this.getExpired(),this.checkTagTab()},setSelectTab:function(e){switch(this.activeTab=e.tabId,e.tabId){case"11":this.changeRoute("memberShowSet");break;case"12":this.changeRoute("memberGroupSet");break;case"13":this.changeRoute("memberSearchSet");break;case"14":this.changeRoute("memberDetailSet");break;case"15":this.changeRoute("memberTagSet");break;case"2":this.changeRoute("myCustomerList")}},showTab:function(e){var t=this,a=[].concat(Array.prototype.slice.call(arguments));this.activeTab=e,this.activeSelTab=e,this.navpath=[].concat(i()(this.defaultNavpath)),a.length&&a.map(function(e){t.navpath[t.navpath.length-1].path=t.navFrontPath[e],t.navpath.push({name:t.navName[e],path:""})})}},watch:{activeBrand:function(e,t){this.activeBrand=e},activeGroup:function(e,t){this.activeGroup=e}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:c.a,commonDetailLeft:o.a,expiredDialog:r.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath},on:{selectBrandId:e.selectBrandId}}),e._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],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)"}},[e.loading?e._e():a("common-detail-left",{attrs:{tabListData:e.tabListData,activeSelTab:e.activeSelTab},on:{setSelectTab:e.setSelectTab}})],1),e._v(" "),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[e.activeBrand?a("router-view",{attrs:{brandId:e.activeBrand,activeGroupId:e.activeGroup,tabType:e.activeTab},on:{showTab:e.showTab}}):e._e()],1)],1)])])]),e._v(" "),e.expiredFlag?a("expired-dialog"):e._e()],1)},staticRenderFns:[]};var b=a("VU/8")(d,m,!1,function(e){a("S/p6")},"data-v-d377b818",null);t.default=b.exports},"S/p6":function(e,t){}});
\ No newline at end of file
webpackJsonp([51],{RvMj:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),n=a("PI0u"),i=a("P9l9"),l={name:"evaluate-set",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{guideReplyFlag:0,allOrderFlag:0},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a=this.myCustomData,n=a.allOrderFlag,l=a.guideReplyFlag,o={enterpriseId:this.brandId,guideReplyFlag:l,allOrderFlag:n};Object(i.f)("/haoban-app-aggregation-web/order-evaluation-setting",o).then(function(t){var a=t.data;e.loading=!1,e.getCustomerSet(),1!=a.errorCode?r.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){this.loading=!1,this.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(i.a)("/haoban-app-aggregation-web/order-evaluation-find",a).then(function(t){var a=t.data;if(1!=a.errorCode)r.a.errorMsg(a);else if(a.result){var s=a.result,n=s.guideReplyFlag,i=s.allOrderFlag;e.myCustomData.guideReplyFlag=n,e.myCustomData.allOrderFlag=i}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getCustomerSet(this.brandId)},components:{}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("span",{staticClass:"font-14 p-r-10"}),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.myCustomData.guideReplyFlag,callback:function(e){t.$set(t.myCustomData,"guideReplyFlag",e)},expression:"myCustomData.guideReplyFlag"}}),t._v(" "),a("span",{staticClass:"p-r-10 font-14 color-303133"},[t._v("禁止订单关联导购回复评价")]),a("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,订单关联导购不可回复评价")])],1),t._v(" "),a("div",{staticClass:"m-b-20"},[a("span",{staticClass:"font-14 p-r-10"}),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.myCustomData.allOrderFlag,callback:function(e){t.$set(t.myCustomData,"allOrderFlag",e)},expression:"myCustomData.allOrderFlag"}}),t._v(" "),a("span",{staticClass:"p-r-10 font-14 color-303133"},[t._v("允许店员查看所有订单评价")])],1),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(e){return t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=a("VU/8")(l,o,!1,function(t){a("geZs")},"data-v-d1672ab8",null);e.default=d.exports},geZs:function(t,e){}});
\ No newline at end of file
webpackJsonp([49],{RvMj:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("3E4D"),r=a("Ch4/"),n=a("PI0u"),i=a("P9l9"),l={name:"evaluate-set",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",myCustomData:{guideReplyFlag:0,allOrderFlag:0},activeId:"1",loading:!1}},methods:{submit:Object(n.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a=this.myCustomData,n=a.allOrderFlag,l=a.guideReplyFlag,o={enterpriseId:this.brandId,guideReplyFlag:l,allOrderFlag:n};Object(i.f)("/haoban-app-aggregation-web/order-evaluation-setting",o).then(function(t){var a=t.data;e.loading=!1,e.getCustomerSet(),1!=a.errorCode?r.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(t){this.loading=!1,this.$message.error({duration:1e3,message:t.message})})},getCustomerSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(i.a)("/haoban-app-aggregation-web/order-evaluation-find",a).then(function(t){var a=t.data;if(1!=a.errorCode)r.a.errorMsg(a);else if(a.result){var s=a.result,n=s.guideReplyFlag,i=s.allOrderFlag;e.myCustomData.guideReplyFlag=n,e.myCustomData.allOrderFlag=i}}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){t&&this.getCustomerSet(this.brandId)}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getCustomerSet(this.brandId)},components:{}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("span",{staticClass:"font-14 p-r-10"}),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.myCustomData.guideReplyFlag,callback:function(e){t.$set(t.myCustomData,"guideReplyFlag",e)},expression:"myCustomData.guideReplyFlag"}}),t._v(" "),a("span",{staticClass:"p-r-10 font-14 color-303133"},[t._v("禁止订单关联导购回复评价")]),a("span",{staticClass:"font-12 color-909399 p-l-10"},[t._v("注:开启后,订单关联导购不可回复评价")])],1),t._v(" "),a("div",{staticClass:"m-b-20"},[a("span",{staticClass:"font-14 p-r-10"}),t._v(" "),a("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:t.myCustomData.allOrderFlag,callback:function(e){t.$set(t.myCustomData,"allOrderFlag",e)},expression:"myCustomData.allOrderFlag"}}),t._v(" "),a("span",{staticClass:"p-r-10 font-14 color-303133"},[t._v("允许店员查看所有订单评价")])],1),t._v(" "),a("div",{staticClass:"m-t-46"},[a("el-button",{attrs:{type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(e){return t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=a("VU/8")(l,o,!1,function(t){a("geZs")},"data-v-d1672ab8",null);e.default=d.exports},geZs:function(t,e){}});
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([52],{"7+du":function(t,a){},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""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.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.f)("/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.f)("/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.$emit("showTab","1"),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"},[e("el-button",{attrs:{type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(a){return t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("7+du")},"data-v-d0590c98",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([50],{"7+du":function(t,a){},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""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",wxEnterpriseRelatedId:localStorage.getItem("userInfos")?JSON.parse(localStorage.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.f)("/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.f)("/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.$emit("showTab","1"),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"},[e("el-button",{attrs:{type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(a){return t.submit("searchFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var d=e("VU/8")(l,i,!1,function(t){e("7+du")},"data-v-d0590c98",null);a.default=d.exports}});
\ No newline at end of file
webpackJsonp([54],{tIHq:function(t,e){},zYBJ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),s=a("3E4D"),o=a("Ch4/"),r={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[]}},methods:{changeRoute:function(){this.$router.push("/contactsList")},goto:function(){window.open("https://www.yuque.com/docs/share/89a899fe-caae-41b3-86ea-2435a8066418?#")},changeToggle:function(t){t.expand=!t.expand},getData:function(t){var e=this,a={wxEnterpriseId:this.wxEnterpriseId};Object(n.a)("/haoban-manage3-web/admin-list",a).then(function(t){var a=t.data;1==a.errorCode&&(a.result&&a.result.length&&a.result.forEach(function(t){t.expand=!1}),a.result.forEach(function(t){t.roleUser.length&&(e.roleList=e.roleList.concat(t.roleUser))})),o.a.errorMsg(a)}).catch(function(t){this.$message.error({duration:1e3,message:t.message})})},refresh:function(){var t=this;Object(n.a)("/haoban-manage3-web/sync-qywx",{}).then(function(e){s.a.showmsg("刷新成功","success"),t.getData()})}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[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"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title"},[t._v("1.好办管理后台管理员需在企业微信后台添加,"),a("el-button",{staticStyle:{"font-size":"13px"},attrs:{type:"text"},on:{click:t.goto}},[t._v("详情请见")]),t._v(" "),a("br"),t._v("\n 2.企业微信后台新增管理员后,请点击右侧【刷新】按钮刷新企业成员,否则不会同步到好办管理员列表。\n ")],1)])]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.refresh}},[t._v("刷新")])],1),t._v(" "),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:t.roleList}},[a("el-table-column",{attrs:{prop:"userName",label:"姓名"}}),t._v(" "),a("el-table-column",{attrs:{prop:"userPhone",label:"手机号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"departmentName",label:"部门"}})],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("tIHq")},"data-v-c94a8626",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([52],{tIHq:function(t,e){},zYBJ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),s=a("3E4D"),o=a("Ch4/"),r={props:{},data:function(){return{wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",roleList:[]}},methods:{changeRoute:function(){this.$router.push("/contactsList")},goto:function(){window.open("https://www.yuque.com/docs/share/89a899fe-caae-41b3-86ea-2435a8066418?#")},changeToggle:function(t){t.expand=!t.expand},getData:function(t){var e=this,a={wxEnterpriseId:this.wxEnterpriseId};Object(n.a)("/haoban-manage3-web/admin-list",a).then(function(t){var a=t.data;1==a.errorCode&&(a.result&&a.result.length&&a.result.forEach(function(t){t.expand=!1}),a.result.forEach(function(t){t.roleUser.length&&(e.roleList=e.roleList.concat(t.roleUser))})),o.a.errorMsg(a)}).catch(function(t){this.$message.error({duration:1e3,message:t.message})})},refresh:function(){var t=this;Object(n.a)("/haoban-manage3-web/sync-qywx",{}).then(function(e){s.a.showmsg("刷新成功","success"),t.getData()})}},watch:{},mounted:function(){this.$emit("showTab",2),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"daily-set-wrap "},[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"}),t._v(" "),a("div",{staticClass:"el-alert__content"},[a("span",{staticClass:"el-alert__title"},[t._v("1.好办管理后台管理员需在企业微信后台添加,"),a("el-button",{staticStyle:{"font-size":"13px"},attrs:{type:"text"},on:{click:t.goto}},[t._v("详情请见")]),t._v(" "),a("br"),t._v("\n 2.企业微信后台新增管理员后,请点击右侧【刷新】按钮刷新企业成员,否则不会同步到好办管理员列表。\n ")],1)])]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.refresh}},[t._v("刷新")])],1),t._v(" "),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:t.roleList}},[a("el-table-column",{attrs:{prop:"userName",label:"姓名"}}),t._v(" "),a("el-table-column",{attrs:{prop:"userPhone",label:"手机号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"departmentName",label:"部门"}})],1)],1)])},staticRenderFns:[]};var c=a("VU/8")(r,l,!1,function(t){a("tIHq")},"data-v-c94a8626",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([55],{F1Rz:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),i=a("P9l9"),n={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{wmOrderShow:0,damoOrderShow:0,integralOrderShow:0},loading:!1}},methods:{submit:Object(o.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,wmOrderShow:e.myCustomData.wmOrderShow,damoOrderShow:e.myCustomData.damoOrderShow,integralOrderShow:this.myCustomData.integralOrderShow};Object(i.f)("/haoban-app-customer-web/customer/save-consume-setting",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return r.a.showmsg("保存成功","success"),void e.getShowSet();s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},getShowSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(i.f)("/haoban-app-customer-web/customer/find-consume-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):a.result&&(e.myCustomData=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","14"),this.getShowSet(this.brandId)},components:{}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:t.myCustomData.wmOrderShow,callback:function(e){t.$set(t.myCustomData,"wmOrderShow",e)},expression:"myCustomData.wmOrderShow"}},[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.myCustomData.damoOrderShow,callback:function(e){t.$set(t.myCustomData,"damoOrderShow",e)},expression:"myCustomData.damoOrderShow"}},[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.myCustomData.integralOrderShow,callback:function(e){t.$set(t.myCustomData,"integralOrderShow",e)},expression:"myCustomData.integralOrderShow"}},[t._v("展示积分商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,客户详情 - 消费记录中将展示GIC积分商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[a("el-button",{attrs:{type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(e){return t.submit("showFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var l=a("VU/8")(n,d,!1,function(t){a("j70c")},"data-v-a29bfc66",null);e.default=l.exports},j70c:function(t,e){}});
\ No newline at end of file
webpackJsonp([53],{F1Rz:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("3E4D"),s=a("Ch4/"),o=a("PI0u"),i=a("P9l9"),n={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{wmOrderShow:0,damoOrderShow:0,integralOrderShow:0},loading:!1}},methods:{submit:Object(o.a)(function(t){this.loading=!0,this.setData(t)},500),setData:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId,wmOrderShow:e.myCustomData.wmOrderShow,damoOrderShow:e.myCustomData.damoOrderShow,integralOrderShow:this.myCustomData.integralOrderShow};Object(i.f)("/haoban-app-customer-web/customer/save-consume-setting",a).then(function(t){var a=t.data;if(e.loading=!1,1==a.errorCode)return r.a.showmsg("保存成功","success"),void e.getShowSet();s.a.errorMsg(a)}).catch(function(t){e.loading=!1,e.$message.error({duration:1e3,message:t.message})})},getShowSet:function(t){var e=this,a={enterpriseId:e.brandId,wxEnterpriseRelatedId:e.wxEnterpriseRelatedId};Object(i.f)("/haoban-app-customer-web/customer/find-consume-setting",a).then(function(t){var a=t.data;1!=a.errorCode?s.a.errorMsg(a):a.result&&(e.myCustomData=a.result)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{brandId:function(t,e){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","14"),this.getShowSet(this.brandId)},components:{}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"app-detail-pane border-box p-20"},[a("div",{staticClass:"m-b-20"},[a("el-checkbox",{staticClass:"w-195",attrs:{"true-label":1,"false-label":0},model:{value:t.myCustomData.wmOrderShow,callback:function(e){t.$set(t.myCustomData,"wmOrderShow",e)},expression:"myCustomData.wmOrderShow"}},[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.myCustomData.damoOrderShow,callback:function(e){t.$set(t.myCustomData,"damoOrderShow",e)},expression:"myCustomData.damoOrderShow"}},[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.myCustomData.integralOrderShow,callback:function(e){t.$set(t.myCustomData,"integralOrderShow",e)},expression:"myCustomData.integralOrderShow"}},[t._v("展示积分商城订单")]),t._v(" "),a("div",{staticClass:"font-14 color-909399 set-tip-item"},[t._v("注:保存勾选项后,客户详情 - 消费记录中将展示GIC积分商城交易成功的订单")])],1),t._v(" "),a("div",{staticClass:"m-t-46 m-l-25"},[a("el-button",{attrs:{type:"primary",loading:t.loading,disabled:t.$store.state.wxEnterpriseType},on:{click:function(e){return t.submit("showFlag")}}},[t._v("保 存")])],1)])])},staticRenderFns:[]};var l=a("VU/8")(n,d,!1,function(t){a("j70c")},"data-v-a29bfc66",null);e.default=l.exports},j70c:function(t,e){}});
\ No newline at end of file
webpackJsonp([56],{"FG/P":function(t,a){},nV1L:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),r=e("Qie6"),o=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),v={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"卡券赠送",activeSelTab:"1",activeTab:"1",defaultNavpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:"/cardList"}],navpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:"/cardList"}],navName:{1:"卡券列表",11:"编辑卡券",12:"新增卡券",2:"卡券记录"},navFrontPath:{1:"/cardList",11:"/cardList",12:"/cardList",2:"/cardList"},tabListData:[{tabId:"1",tabName:"卡券列表",icon:"iconqiaquan"},{tabId:"2",tabName:"卡券记录",icon:"iconwodeqiaquan-"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(d.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?s.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("cardList");break;case"2":this.changeRoute("cardRecord")}},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=a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{$route:{handler:function(t,a){},deep:!0},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:r.a,expiredDialog:o.a}},h={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")(v,h,!1,function(t){e("FG/P")},"data-v-9bc8e98c",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([54],{"FG/P":function(t,a){},nV1L:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),c=e("bzW+"),r=e("Qie6"),o=e("Z8ln"),s=e("Ch4/"),d=e("P9l9"),v={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"卡券赠送",activeSelTab:"1",activeTab:"1",defaultNavpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:"/cardList"}],navpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:"/cardList"}],navName:{1:"卡券列表",11:"编辑卡券",12:"新增卡券",2:"卡券记录"},navFrontPath:{1:"/cardList",11:"/cardList",12:"/cardList",2:"/cardList"},tabListData:[{tabId:"1",tabName:"卡券列表",icon:"iconqiaquan"},{tabId:"2",tabName:"卡券记录",icon:"iconwodeqiaquan-"}],activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(d.a)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?s.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("cardList");break;case"2":this.changeRoute("cardRecord")}},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=a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{$route:{handler:function(t,a){},deep:!0},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:r.a,expiredDialog:o.a}},h={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")(v,h,!1,function(t){e("FG/P")},"data-v-9bc8e98c",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([58],{"Hb/M":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("PI0u"),i=a("Ch4/"),n=a("3E4D"),o=a("P9l9"),l={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"任务下发设置"}],activeId:"1",setData:{status:!1,time:"12:00",releaseFlag:!1},loadingBtn:!1}},computed:{},methods:{saveSet:Object(s.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,status:t.setData.status?"1":"0",time:t.setData.time,releaseFlag:t.setData.releaseFlag?1:0};Object(o.f)("/haoban-app-daily-three-web/daily/create-setting",e).then(function(e){var a=e.data;t.loadingBtn=!1,1!=a.errorCode?i.a.errorMsg(a):n.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};Object(o.f)("/haoban-app-daily-three-web/daily/get-setting",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.setData.status=1==a.result.status,t.setData.releaseFlag=1==a.result.releaseFlag,void(t.setData.time=a.result.time);i.a.errorMsg(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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"task-set-content border-box"},[a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"},[t._v("日报开关设置:")]),t._v(" "),a("div",{staticClass:"inline-block font-14 "},[a("el-switch",{attrs:{"active-text":" ","inactive-text":" "},model:{value:t.setData.status,callback:function(e){t.$set(t.setData,"status",e)},expression:"setData.status"}})],1),t._v(" "),a("div",{staticClass:"inline-block m-l-10 font-14 color-606266 m-b-16"},[t._v("开启后,日报将定时发送")])]),t._v(" "),a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"}),t._v(" "),a("div",{staticClass:"inline-block m-l-10 vertical-top font-14 right-set-body"},[a("div",{staticClass:"font-14 color-606266 m-b-10 font-w-500"},[t._v("日报每日下发时间设置")]),t._v(" "),a("div",{staticClass:" font-14 color-606266 m-b-16"},[t._v("该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置")]),t._v(" "),a("div",[a("el-time-select",{staticClass:"w-118",attrs:{editable:!1,clearable:!1,"picker-options":{start:"00:00",step:"00:15",end:"23:45"},placeholder:"选择时间"},model:{value:t.setData.time,callback:function(e){t.$set(t.setData,"time",e)},expression:"setData.time"}})],1)])]),t._v(" "),a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"}),t._v(" "),a("div",{staticClass:"inline-block m-l-10 task-set-save m-t-50 font-14"},[a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保 存")])],1)])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(t){a("U7E0")},"data-v-946f66d8",null);e.default=c.exports},U7E0:function(t,e){}});
\ No newline at end of file
webpackJsonp([56],{"Hb/M":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("PI0u"),i=a("Ch4/"),n=a("3E4D"),o=a("P9l9"),l={name:"reviewed",props:{brandId:{type:String,default:function(){return""}}},data:function(){return{activeTab:"1",activeBrand:this.brandId,topMenuData:[{id:"1",name:"任务下发设置"}],activeId:"1",setData:{status:!1,time:"12:00",releaseFlag:!1},loadingBtn:!1}},computed:{},methods:{saveSet:Object(s.a)(function(){this.loadingBtn=!0,this.postSave()},500),postSave:function(){var t=this,e={enterpriseId:t.activeBrand,status:t.setData.status?"1":"0",time:t.setData.time,releaseFlag:t.setData.releaseFlag?1:0};Object(o.f)("/haoban-app-daily-three-web/daily/create-setting",e).then(function(e){var a=e.data;t.loadingBtn=!1,1!=a.errorCode?i.a.errorMsg(a):n.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};Object(o.f)("/haoban-app-daily-three-web/daily/get-setting",e).then(function(e){var a=e.data;if(1==a.errorCode)return t.setData.status=1==a.result.status,t.setData.releaseFlag=1==a.result.releaseFlag,void(t.setData.time=a.result.time);i.a.errorMsg(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","2"),this.brandId&&this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-detail-wrap"},[a("div",{staticClass:"task-set-content border-box"},[a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"},[t._v("日报开关设置:")]),t._v(" "),a("div",{staticClass:"inline-block font-14 "},[a("el-switch",{attrs:{"active-text":" ","inactive-text":" "},model:{value:t.setData.status,callback:function(e){t.$set(t.setData,"status",e)},expression:"setData.status"}})],1),t._v(" "),a("div",{staticClass:"inline-block m-l-10 font-14 color-606266 m-b-16"},[t._v("开启后,日报将定时发送")])]),t._v(" "),a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"}),t._v(" "),a("div",{staticClass:"inline-block m-l-10 vertical-top font-14 right-set-body"},[a("div",{staticClass:"font-14 color-606266 m-b-10 font-w-500"},[t._v("日报每日下发时间设置")]),t._v(" "),a("div",{staticClass:" font-14 color-606266 m-b-16"},[t._v("该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置")]),t._v(" "),a("div",[a("el-time-select",{staticClass:"w-118",attrs:{editable:!1,clearable:!1,"picker-options":{start:"00:00",step:"00:15",end:"23:45"},placeholder:"选择时间"},model:{value:t.setData.time,callback:function(e){t.$set(t.setData,"time",e)},expression:"setData.time"}})],1)])]),t._v(" "),a("div",{staticClass:"task-set-cell font-0"},[a("div",{staticClass:"inline-block font-14 color-606266 m-b-10 w-100"}),t._v(" "),a("div",{staticClass:"inline-block m-l-10 task-set-save m-t-50 font-14"},[a("el-button",{attrs:{type:"primary",loading:t.loadingBtn},on:{click:t.saveSet}},[t._v("保 存")])],1)])])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(t){a("U7E0")},"data-v-946f66d8",null);e.default=c.exports},U7E0:function(t,e){}});
\ No newline at end of file
webpackJsonp([58],{"0eo+":function(t,e){},xWf4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("P9l9"),i=a("PI0u"),o={props:{},data:function(){return{title:"",wxEnterpriseId:localStorage.getItem("userInfos")?JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId:"",type:1,friendSettingId:"",btnLoading:!1,iconType:{1:"iconwenjianleixingtupian",2:"iconwenjianleixingshipin",3:"iconwenjianleixing-wenjian",4:"iconwenjianleixing-lianjie"},tableData:[],loading:!1}},mounted:function(){this.$emit("showTab",4),document.documentElement.style.backgroundColor="#f0f2f5",this.getData()},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},computed:{},methods:{toInput:Object(i.a)(function(t,e){this.getData()},500),clearSearch:function(){this.getData()},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 a=e.data;0==a.code&&a.result&&t.$message.success(a.message)}).finally(function(){t.btnLoading=!1})},changeRoute:function(t){this.$router.push({path:"/salutatorySet",query:{id:t.welcomeId,type:this.friendSettingType,isDefalut:t.defaultWelcomeFlag}})},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 a=t.data;0==a.code&&a.result&&(e.$message.success("删除成功"),e.getData())})})},getData:function(){var t=this;this.loading=!0,Object(n.e)("/haoban-manage3-web/welcome/list",{title:this.title,wxEnterpriseId:this.wxEnterpriseId}).then(function(e){var a=e.data;0==a.code&&a.result&&(t.tableData=a.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})}).finally(function(){t.loading=!1})}},watch:{},components:{}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"daily-set-wrap"},[a("div",{staticClass:"daily-set-content border-box"},[t._m(0),t._v(" "),a("div",{staticClass:"flex flex-space-between m-b-20 m-t-20"},[a("el-input",{staticClass:"w-264",staticStyle:{width:"264px"},attrs:{placeholder:"请输入标题",maxlength:"50",clearable:""},on:{clear:t.clearSearch},nativeOn:{keyup:function(e){return a=e,t.toInput(a,t.searchInput);var a}},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}},[a("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.changeRoute}},[t._v("新建欢迎语")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",style:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{prop:"title",label:"标题",width:"200","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.title))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"welcomeContent",label:"内容","show-overflow-tooltip":"","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(a.welcomeContent))]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"附件",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[n.welcomeMediaList&&n.welcomeMediaList.length?a("el-popover",{attrs:{placement:"top-start",trigger:"hover"}},[t._l(n.welcomeMediaList,function(e){return a("div",{key:e.welcomeMediaId,staticClass:"flexBox"},[a("svg-icon",{staticStyle:{"margin-right":"13px"},attrs:{iconname:t.iconType[e.mediaType],size:"16"}}),t._v(" "),a("span",{staticClass:"popverText"},[t._v(t._s(e.mediaTitle))])],1)}),t._v(" "),n.welcomeMediaList&&n.welcomeMediaList.length?a("div",{staticClass:"flexBox",attrs:{slot:"reference"},slot:"reference"},[a("svg-icon",{staticStyle:{"margin-right":"10px"},attrs:{iconname:t.iconType[n.welcomeMediaList[0].mediaType],size:"40"}}),t._v(" "),a("span",{staticClass:"wrapText"},[t._v(" "+t._s(n.welcomeMediaList[0].mediaTitle))])],1):t._e()],2):a("div",[t._v("--")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"更新时间",width:"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._v(t._s(t._f("formatTimeStamp")(a.updateTime)))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"operatorName",label:"操作人",width:"120","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"suitDepartmentName",label:"适用范围",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[n.defaultWelcomeFlag?a("div",[a("div",[t._v("全体成员")])]):a("div",[n.suitDepartmentName.join(",").length>40?a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(n.suitDepartmentName.join(",").slice(0,40)+"...")+"\n ")]):a("div",{staticClass:"wrapText"},[t._v("\n "+t._s(n.suitDepartmentName.join(","))+"\n ")])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.changeRoute(n)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.remove(n)}}},[t._v("删除")])]}}])})],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天有效期,超期失效);"),e("br"),this._v("\n 6. 若某企微员工在多个企微部门,或者某企微部门配置了多条欢迎语,则仅发送“更新时间”最新的那条欢迎语。\n ")])])])])}]};var l=a("VU/8")(o,s,!1,function(t){a("0eo+")},"data-v-7865c2cb",null);e.default=l.exports}});
\ No newline at end of file
webpackJsonp([60],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("rU5F")},"data-v-785aa3f6",null);e.default=o.exports},rU5F:function(t,e){}});
\ No newline at end of file
webpackJsonp([59],{K1Vb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("rU5F")},"data-v-785aa3f6",null);e.default=o.exports},rU5F:function(t,e){}});
\ No newline at end of file
webpackJsonp([65],{fAFA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),i=a.n(o),s=a("Ch4/"),l=a("PI0u"),c=a("P9l9"),u={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota"},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],loading:!1,tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return i()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={enterpriseId:a.brandId},Object(c.a)("/haoban-app-performance-three-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):s.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return i()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(a=e).loading=!0,t.next=4,n={enterpriseId:e.brandId,year:e.year},Object(c.a)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 4:r=t.sent,o=r.data,a.loading=!1,1==o.errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 8:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getYearList()}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth)}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth)}}},[e._v("商户日权重")])]}}])})],2)],1)])},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(e){a("fni5")},"data-v-70988675",null);t.default=h.exports},fni5:function(e,t){}});
\ No newline at end of file
webpackJsonp([64],{fAFA:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),i=a.n(o),s=a("Ch4/"),l=a("PI0u"),c=a("P9l9"),u={components:{},props:{brandId:{type:String,default:""}},data:function(){return{activeId:"2",topMenuData:[{id:"1",name:"指标管理",path:"/quota"},{id:"2",name:"月指标",path:""}],yearList:[],year:"",tableList:[],loading:!1,tabelHeader:[{prop:"yearMonth",label:"月份"},{prop:"totalPerformance",label:"月指标累计"},{prop:"totalStore",label:"门店总数"},{prop:"totalComplete",label:"门店指标完善数"}],currentPage:1,pageSize:20,total:0}},watch:{brandId:function(e){e&&this.getYearList()}},methods:{handleSizeChange:function(e){this.currentPage=1,this.pageSize=e,this.apiMonthPerformanceList()},handleCurrentChange:function(e){this.currentPage=e,this.apiMonthPerformanceList()},changeYear:function(){this.currentPage=1,this.apiMonthPerformanceList()},getYearList:function(){var e=this;return i()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e,t.next=3,n={enterpriseId:a.brandId},Object(c.a)("/haoban-app-performance-three-web/performance/get-years",n);case 3:r=t.sent,1==(o=r.data).errorCode?(a.yearList=[],o.result&&o.result.length&&(o.result.forEach(function(e){a.yearList.push({id:e,label:e+"年"})}),a.year=o.result[0],a.apiMonthPerformanceList())):s.a.errorMsg(o);case 6:case"end":return t.stop()}var n},t,e)}))()},apiMonthPerformanceList:function(){var e=this;return i()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(a=e).loading=!0,t.next=4,n={enterpriseId:e.brandId,year:e.year},Object(c.a)("/haoban-app-performance-three-web/performance/query-month-performance",n);case 4:r=t.sent,o=r.data,a.loading=!1,1==o.errorCode&&(o.result.length&&o.result.forEach(function(e){e.totalPerformance=Object(l.c)(Number(e.totalPerformance).toFixed(2))}),a.tableList=o.result||[]);case 8:case"end":return t.stop()}var n},t,e)}))()}},mounted:function(){this.$emit("showTab","1"),this.brandId&&this.getYearList()}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"common-right-wrap"},[a("div",{staticClass:"p-20"},[a("el-select",{staticClass:"m-b-23 w-123",on:{change:e.changeYear},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}},[a("i",{staticClass:"el-input__icon el-icon-date",attrs:{slot:"prefix"},slot:"prefix"}),e._v(" "),e._l(e.yearList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.label}})})],2),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableList}},[e._l(e.tabelHeader,function(e,t){return a("el-table-column",{key:t,attrs:{label:e.label,prop:e.prop}})}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.settingStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.$router.push("/storeMonthTask?yearMonth="+t.row.yearMonth)}}},[e._v("门店月指标")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.$router.push("/companyDaySet?yearMonth="+t.row.yearMonth)}}},[e._v("商户日权重")])]}}])})],2)],1)])},staticRenderFns:[]};var h=a("VU/8")(u,p,!1,function(e){a("fni5")},"data-v-70988675",null);t.default=h.exports},fni5:function(e,t){}});
\ No newline at end of file
webpackJsonp([66],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
\ No newline at end of file
webpackJsonp([65],{"2WGr":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"date-range-com",props:{childItem:{type:[Object,Array],default:function(){return{}}}},methods:{getZhLen:function(t){for(var e=0,s=0;s<t.length;s++){null!=t.charAt(s).match(/[^\x00-\xff]/gi)?e+=1:e+=.5}return Math.ceil(e)}}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.startTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.startTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")),s("i",{staticClass:"el-icon-arrow-right"})])])]),t._v(" "),s("div",{staticClass:"b-t-1 flex"},[s("div",{class:["opencard-item-title",t.getZhLen(t.childItem.endTitle)>=6?"title-pre-wrap":""]},[t._v(t._s(t.childItem.endTitle))]),t._v(" "),s("div",{staticClass:"draged-item-show"},[s("span",{staticClass:"show-warm-text show-warm-text-flag select-flag"},[t._v(t._s(t.childItem.placeholder)+" "+t._s(t.childItem.isMust?"(必填)":"")+" "),s("i",{staticClass:"el-icon-arrow-right"})])])])])},staticRenderFns:[]};var l=s("VU/8")(a,i,!1,function(t){s("csI9")},"data-v-7040e068",null);e.default=l.exports},csI9:function(t,e){}});
\ No newline at end of file
webpackJsonp([67],{Tvq6: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)}}},c={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 i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([66],{Tvq6: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)}}},c={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 i=a("VU/8")(s,c,!1,function(t){a("Tvq6")},"data-v-67cc7786",null);e.default=i.exports}});
\ No newline at end of file
webpackJsonp([67],{"/EUo":function(e,a){},odfG:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t("3E4D"),o=t("Ch4/"),l=t("PI0u"),i=t("P9l9"),r={name:"app-detail",props:{brandId:{type:String,default:function(){return""}},tabType:{type:String,default:function(){return"1"}},activeGroupId:{type:String,default:function(){return""}}},data:function(){return{projectName:"",activeName:"first",activeGroup:this.activeGroupId,wxEnterpriseRelatedId:JSON.parse(localStorage.getItem("userInfos")).wxEnterpriseId,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,showFreezeFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1,faceOpenFlag:!1,handoverFlag:!1},loading:!1}},methods:{submit:Object(l.a)(function(e){this.loading=!0,this.setData(e)},500),setData:function(e){var a=this,t={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId},l=void 0;"showFlag"!=e?(t[e]=a.myCustomData[e]?1:0,l="/haoban-app-customer-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-customer-web/customer/save-customer-setting")):(t.mainStoreFlag=a.myCustomData.mainStoreFlag?1:0,t.minorStoreFlag=a.myCustomData.minorStoreFlag?1:0,t.openCardStoreFlag=a.myCustomData.openCardStoreFlag?1:0,t.clerkSeeOtherFlag=a.myCustomData.clerkSeeOtherFlag?1:0,t.allowGuideContact=a.myCustomData.allowGuideContact?1:0,t.allowGuideMobile=a.myCustomData.allowGuideMobile?1:0,t.allowGuideMessage=a.myCustomData.allowGuideMessage?1:0,t.allowGuideOnlineChat=a.myCustomData.allowGuideOnlineChat?1:0,t.showFreezeFlag=a.myCustomData.showFreezeFlag?1:0,t.isSeeAuthMember=a.myCustomData.isSeeAuthMember?1:0,t.faceOpenFlag=a.myCustomData.faceOpenFlag?1:0,t.handoverFlag=a.myCustomData.handoverFlag?1:0,t.chatFlag=a.myCustomData.chatFlag,t.isMessageRemind=a.myCustomData.isMessageRemind,t.messageRemindTime=a.myCustomData.messageRemindTime,t.isTemplateMessage=a.myCustomData.isTemplateMessage,t.isImgMessage=a.myCustomData.isImgMessage,t.isGoodMessage=a.myCustomData.isGoodMessage,t.isIntegralGoodMessage=a.myCustomData.isIntegralGoodMessage,l="/haoban-app-customer-web/customer/save-member-show-setting"),Object(i.f)(l,t).then(function(e){var t=e.data;if(a.loading=!1,1==t.errorCode)return s.a.showmsg("保存成功","success"),void a.getShowSet();o.a.errorMsg(t)}).catch(function(e){a.loading=!1,a.$message.error({duration:1e3,message:e.message})})},changeAllowGuide:function(e){this.myCustomData.allowGuideMobile=e,this.myCustomData.allowGuideMessage=e,this.myCustomData.allowGuideOnlineChat=e},changeContact:function(){this.myCustomData.allowGuideMobile||this.myCustomData.allowGuideMessage||this.myCustomData.allowGuideOnlineChat||(this.myCustomData.allowGuideContact=!1)},getShowSet:function(e){var a=this,t={enterpriseId:a.brandId,wxEnterpriseRelatedId:a.wxEnterpriseRelatedId};Object(i.f)("/haoban-app-customer-web/customer/find-member-show-setting",t).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):t.result&&(t.result.mainStoreFlag=1==t.result.mainStoreFlag,t.result.minorStoreFlag=1==t.result.minorStoreFlag,t.result.openCardStoreFlag=1==t.result.openCardStoreFlag,t.result.clerkSeeOtherFlag=1==t.result.clerkSeeOtherFlag,t.result.allowGuideContact=1==t.result.allowGuideContact,t.result.allowGuideMobile=1==t.result.allowGuideMobile,t.result.allowGuideMessage=1==t.result.allowGuideMessage,t.result.allowGuideOnlineChat=1==t.result.allowGuideOnlineChat,t.result.showFreezeFlag=1==t.result.showFreezeFlag,t.result.isSeeAuthMember=1==t.result.isSeeAuthMember,t.result.faceOpenFlag=1==t.result.faceOpenFlag,t.result.searchFlag=1==t.result.searchFlag,t.result.handoverFlag=1==t.result.handoverFlag,a.myCustomData=t.result)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})}},watch:{brandId:function(e,a){this.getShowSet(this.brandId)}},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},n={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"app-detail-wrap"},[t("div",{staticClass:"app-detail-pane border-box p-20"},[t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.mainStoreFlag,callback:function(a){e.$set(e.myCustomData,"mainStoreFlag",a)},expression:"myCustomData.mainStoreFlag"}},[e._v("展示服务门店客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为服务门店名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.minorStoreFlag,callback:function(a){e.$set(e.myCustomData,"minorStoreFlag",a)},expression:"myCustomData.minorStoreFlag"}},[e._v("展示协管门店客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为协管门店名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.openCardStoreFlag,callback:function(a){e.$set(e.myCustomData,"openCardStoreFlag",a)},expression:"myCustomData.openCardStoreFlag"}},[e._v("展示开卡门店客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店作为开卡门店名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.showFreezeFlag,callback:function(a){e.$set(e.myCustomData,"showFreezeFlag",a)},expression:"myCustomData.showFreezeFlag"}},[e._v("展示冻结会员")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店冻结会员")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.isSeeAuthMember,callback:function(a){e.$set(e.myCustomData,"isSeeAuthMember",a)},expression:"myCustomData.isSeeAuthMember"}},[e._v("展示已开卡会员")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员,不勾选将展示微信会员(即微信总量,含未开卡会员)及POS会员")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.clerkSeeOtherFlag,callback:function(a){e.$set(e.myCustomData,"clerkSeeOtherFlag",a)},expression:"myCustomData.clerkSeeOtherFlag"}},[e._v("允许导购查看其他导购客户")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下客户")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-checkbox",{staticClass:"w-195",model:{value:e.myCustomData.handoverFlag,callback:function(a){e.$set(e.myCustomData,"handoverFlag",a)},expression:"myCustomData.handoverFlag"}},[e._v("离职继承")]),e._v(" "),t("div",{staticClass:"font-14 color-909399 set-tip-item"},[e._v("注:保存勾选项后,店长可以选择离职的导购名下的好友会员,选择离职继承")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"注:开启后,可选择导购在 < 我的客户 > 中是否通过以下方式联系客户",placement:"top-start"}},[t("span",{staticClass:"font-14 color-606266 m-r-20",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[e._v("导购联系客户方式:")])]),e._v(" "),t("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMobile,callback:function(a){e.$set(e.myCustomData,"allowGuideMobile",a)},expression:"myCustomData.allowGuideMobile"}},[e._v("电话")]),e._v(" "),t("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideMessage,callback:function(a){e.$set(e.myCustomData,"allowGuideMessage",a)},expression:"myCustomData.allowGuideMessage"}},[e._v("短信")]),e._v(" "),t("el-checkbox",{on:{change:e.changeContact},model:{value:e.myCustomData.allowGuideOnlineChat,callback:function(a){e.$set(e.myCustomData,"allowGuideOnlineChat",a)},expression:"myCustomData.allowGuideOnlineChat"}},[e._v("添加客户/发消息")])],1),e._v(" "),t("div",{staticClass:"m-t-46"},[t("el-button",{attrs:{type:"primary",loading:e.loading,disabled:e.$store.state.wxEnterpriseType},on:{click:function(a){return e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var m=t("VU/8")(r,n,!1,function(e){t("/EUo")},"data-v-67648510",null);a.default=m.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:"4c1d832f8910c244320c",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:"737e44801e570fb6e5f3",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:"3071f4d07ea4eeb293c2",47:"9b660cc896530a89ac01",48:"f0691f3a683752ad4784",49:"3b4d62ebc8783e976331",50:"f4eecb49bf11ebac203f",51:"c0f93185111f9288cca0",52:"2f34abd30b4702a6dd20",53:"9cc448f337b03a3f7d70",54:"27cf0b8b33310c2f66c1",55:"a0160767e8ec8b2380bd",56:"fcdea69ea72f3aab2657",57:"0e42bdd7394f191fac34",58:"caaba8ee0c08c902cbb3",59:"5557d9fd4bb4abc1af86",60:"4c5a527a33889ead899e",61:"97a0a48860bba3d3af7d",62:"0d61323e03655bc9e812",63:"fd1d9edbe65e3b568fb9",64:"864f46d7a7de9ec00fe9",65:"d8cb6383ff269cc5bbed",66:"ef9b45f25efacaeb2a6e",67:"2c46e3d1f4d1fb88d2f8",68:"87393519c0dc17c5c150",69:"6508b958089b8e1c6886",70:"0ea7d765231fc04aaebf",71:"bc27c55dc23895286132",72:"b88dade8d03805e3b11d",73:"efb87ef1971be5ff6ed8",74:"45dc6bfbdca877cbb481",75:"38adabf8f823813ded28",76:"a546d5623dfd04d7eb9e",77:"93e78ef4eeeb91af0896",78:"45f83001940afd9cb558",79:"9395a19e36c02712a089",80:"e63d42932d5186ba29d6",81:"d35a1a35efa32ee8b132",82:"6882bfb1a014d4bf66d5",83:"167fddce4689ce8d326c",84:"83821c48947127ebd9e3",85:"dfdcd1cf45359255e73a",86:"4cf3b774fab6733e4014",87:"2a605257c583f1752ed4",88:"622bb868c4f5f2fbed2a",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:"be5da1f508f0c95877fc",1:"80ec7107adf684998411",2:"ee081d25258cd1ccd634",3:"5e8e614074ce4fb58e13",4:"6842094a08d6e8314bcc",5:"5105ec04ec89bb9f208c",6:"c0a5fb9f2c1756efba10",7:"5b0cb1142f1c4271f665",8:"76b4075e487820f802a9",9:"324497f9abcac3bf1421",10:"72e0fcbbbfae5460f741",11:"089a5d7389f666b3a424",12:"7e6336c9427f8f852664",13:"f4060b4675a6e8087d70",14:"2cb043e938404fb9b8f7",15:"587aceeafd49cbcc8d73",16:"f179f2ff52a9f86e96cb",17:"a29f23f6fbc17bef81c7",18:"3c110189c58f9362b010",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:"549ebc9f461ac74f1108",43:"72473b9f3342aba9a66d",44:"0c4428ec4007cd453dc2",45:"a257f1f62b1bbf34736a",46:"ed32e9b462c408616230",47:"c50962d5e5459b0c5a47",48:"65d7fde1f30383c80d79",49:"0348339b6d9afabebcc8",50:"d7064e56ad97db1ba8e7",51:"8656870ae33dd1020dde",52:"2dde3800371c229a9b41",53:"9a6c2699f0c450545827",54:"85f6983dbdb64c3375b6",55:"c018049809f20f09a50e",56:"52db974ecf3f4ebe7690",57:"eeacca78370ddcdc6bfe",58:"aff7ae8d8130f06ec397",59:"c28752d0234c9c700c8e",60:"bb76a745c4bb599d309f",61:"3747a600569e95523f9b",62:"81110b3692cf11009820",63:"5a4dc099be9ee92ad1f0",64:"91d8817d8d2aaaa32d9e",65:"2d167cdd8558c117e2ef",66:"2b5e6cf2c08b7ab6b4b3",67:"20386f46086e14479f5c",68:"87393519c0dc17c5c150",69:"6508b958089b8e1c6886",70:"0ea7d765231fc04aaebf",71:"bc27c55dc23895286132",72:"b88dade8d03805e3b11d",73:"efb87ef1971be5ff6ed8",74:"45dc6bfbdca877cbb481",75:"38adabf8f823813ded28",76:"a546d5623dfd04d7eb9e",77:"93e78ef4eeeb91af0896",78:"45f83001940afd9cb558",79:"9395a19e36c02712a089",80:"e63d42932d5186ba29d6",81:"d35a1a35efa32ee8b132",82:"6882bfb1a014d4bf66d5",83:"167fddce4689ce8d326c",84:"83821c48947127ebd9e3",85:"dfdcd1cf45359255e73a",86:"4cf3b774fab6733e4014",87:"2a605257c583f1752ed4",88:"622bb868c4f5f2fbed2a",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,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
......@@ -14,8 +14,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_kcme8v8q3t.css" /> <!--好办后台3.0-->
<script src="//at.alicdn.com/t/font_1628375_kcme8v8q3t.js"></script>
<link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_1628375_5ghlvsafe8j.css" /> <!--好办后台3.0-->
<script src="//at.alicdn.com/t/font_1628375_5ghlvsafe8j.js"></script>
</head>
<body style="min-width: 1400px;" class="damolish">
......
......@@ -64,7 +64,6 @@ Vue.axios.interceptors.request.use(
Vue.axios.interceptors.response.use(
data => {
removePending(data.config); //在一个ajax响应后再执行一下取消操作,把已经完成的请求从pending中移除
// console.log(data);
if (data.status && data.status == 200 && data.data.errorCode != 1) {
if (data.data.errorCode == 4) {
if (window.location.href.indexOf('gic-error') != -1) {
......
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘
* @LastEditTime: 2020-08-26 09:55:33
-->
<!--
<material-record
:detailShow="detailShow"
@hideDetailDialog="hideDetailDialog">
</material-record>
import materialRecord from '@/components/app/material/material-record.vue'
-->
<template>
<div v-show="customDialog">
<el-dialog class="edit-dialog" title="记录" :visible.sync="customDialog" width="739px" :before-close="handleClose">
<div class="edit-dialog-body">
<el-tabs v-model="activeName" type="card" @tab-click="handleTab">
<el-tab-pane label="点赞记录" name="first">
<div class="m-b-20 flex">
<el-input placeholder="请输入姓名/手机号/code" maxlength="50" prefix-icon="el-icon-search" v-model="conditionObj.searchInput" class="w-223" @keyup.native="value => toInput(value, conditionObj.searchInput)" clearable @clear="clearInput"> </el-input>
<span class="p-l-10 l-h-32">{{ total }}条点赞记录</span>
</div>
<el-table :data="tableData" style="width: 100%" height="332">
<el-table-column label="点赞人" width="150" show-overflow-tooltip>
<template slot-scope="scope">
<div class="flex">
<div class="flex flex-align-center flex-pack-center bg-82C5FF table-head-pic">
<i v-if="!scope.row.headImg" class="iconfont-hb3 icon-yewuduanmorentouxian"></i>
<img v-else :src="scope.row.headImg" alt="img" />
</div>
<div class="flex flex-column apply-info">
<span class="text-ellipsis">{{ scope.row.userName }}</span>
<span class="font-13 text-ellipsis">{{ scope.row.storeName }}</span>
</div>
</div>
</template>
</el-table-column>
<el-table-column label="手机号" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.phoneNumber || '--' }}
</template>
</el-table-column>
<el-table-column label="点赞时间" show-overflow-tooltip>
<template slot-scope="scope">
<div class="color-606266 line-18">{{ scope.row.createTime | timeStampToYmd }}</div>
<div class="color-606266 line-18">{{ scope.row.createTime | timeStampToHms }}</div>
</template>
</el-table-column>
</el-table>
</el-tab-pane>
<el-tab-pane label="转发记录" name="second">
<div class="m-b-20 flex">
<el-input placeholder="请输入姓名/手机号/code" maxlength="50" prefix-icon="el-icon-search" v-model="conditionObj.searchInput" class="w-223" @keyup.native="value => toInput(value, conditionObj.searchInput)" clearable @clear="clearInput"> </el-input>
<span class="p-l-10 l-h-32">共{{ total }}条转发记录</span>
</div>
<el-table :data="tableData" style="width: 100%" height="332">
<el-table-column label="转发人" width="150" show-overflow-tooltip>
<template slot-scope="scope">
<div class="flex">
<div class="flex flex-align-center flex-pack-center bg-82C5FF table-head-pic">
<i v-if="!scope.row.headImg" class="iconfont-hb3 icon-yewuduanmorentouxian"></i>
<img v-else :src="scope.row.headImg" alt="img" />
</div>
<div class="flex flex-column apply-info">
<span class="text-ellipsis">{{ scope.row.userName || '--' }}</span>
<span class="font-13 text-ellipsis">{{ scope.row.storeName || '--' }}</span>
</div>
</div>
</template>
</el-table-column>
<el-table-column label="手机号" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.phoneNumber || '--' }}
</template>
</el-table-column>
<el-table-column label="转发时间" show-overflow-tooltip>
<template slot-scope="scope">
<div class="color-606266 line-18">{{ scope.row.createTime | timeStampToYmd }}</div>
<div class="color-606266 line-18">{{ scope.row.createTime | timeStampToHms }}</div>
</template>
</el-table-column>
</el-table>
</el-tab-pane>
</el-tabs>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0">
<dm-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-size="pageSize" layout="prev, pager, next" :total="total"> </dm-pagination>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
import { getRequest } from '@/api/api';
import errMsg from '@/common/js/error';
import { _debounce } from '@/common/js/public';
export default {
name: 'material-record',
props: {
detailShow: {
type: Boolean,
default: false
},
materialId: {
type: String,
default: ''
}
},
data() {
return {
customDialog: false, // 弹框显示
activeName: 'first',
tableData: [],
conditionObj: {
searchInput: '',
materialId: this.materialId
},
// 分页参数
currentPage: 1,
pageSize: 5,
total: 0
};
},
methods: {
/**
* 切换tab
*/
handleTab() {
const that = this;
that.conditionObj.searchInput = '';
that.currentPage = 1;
that.getTableList();
},
/**
* 输入
*/
toInput: _debounce(function(e, value) {
const that = this;
that.currentPage = 1;
that.getTableList();
}, 500),
// 搜索清除
clearInput() {
const that = this;
that.currentPage = 1;
that.getTableList();
},
/**
* 分页---页码变化
* @param {Number} val
*/
handleSizeChange(val) {
const that = this;
that.currentPage = 1;
that.pageSize = val;
that.getTableList();
},
/**
* 分页---当前页变化
* @param {Number} val
*/
handleCurrentChange(val) {
const that = this;
that.currentPage = val;
that.getTableList();
},
/**
* 关闭
*/
handleClose(done) {
const that = this;
done();
that.hideDialog();
},
/**
* 取消
*/
customCancel() {
const that = this;
that.hideDialog();
},
hideDialog() {
const that = this;
that.customDialog = false;
that.$emit('hideDetailDialog');
},
/**
* 获取列表数据
*/
getTableList(val) {
const that = this;
let para = {
materialId: that.conditionObj.materialId,
imgTextTitle: that.conditionObj.searchInput || '', // 搜索字段
relatedType: that.activeName == 'first' ? 2 : 1,
pageNum: that.currentPage, // 当前页
pageSize: that.pageSize, // 一页显示个数
brandId: that.activeBrand
};
getRequest('/haoban-app-material-web/material-log', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
that.tableData = resData.result.list || [];
that.total = resData.result.total;
return false;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {
detailShow: function(newData, oldData) {
const that = this;
that.customDialog = newData;
},
materialId: function(newData, oldData) {
const that = this;
if (newData) {
that.conditionObj.materialId = newData;
that.currentPage = 1;
that.getTableList();
}
}
},
/* 接收数据 */
mounted() {
const that = this;
that.customDialog = that.detailShow;
if (that.materialId) {
that.conditionObj.materialId = that.materialId;
that.currentPage = 1;
that.getTableList();
}
}
};
</script>
<style lang="scss" scoped>
.bg-82C5FF {
background: #82c5ff;
}
.w-223 {
width: 223px;
}
.l-h-32 {
line-height: 32px;
}
.table-head-pic {
width: 35px;
height: 35px;
padding: 10px;
border-radius: 4px;
i {
font-size: 20px;
color: #e5f3ff;
}
img {
max-width: 35px;
max-height: 35px;
}
}
.apply-info {
margin-left: 15px;
line-height: 18px;
.text-ellipsis {
display: block;
width: 96px;
max-width: 96px;
overflow: hidden;
text-overflow: ellipsis;
}
}
.edit-dialog {
>>> .el-dialog__body {
padding: 25px 20px 17px 20px;
min-height: 352px;
}
>>> .el-dialog__footer {
border: none;
padding-top: 3px;
}
&__title {
width: 100%;
height: 38px;
padding: 12px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(235, 238, 245, 1);
}
.el-alert--info {
width: 400px;
font-size: 14px;
color: #606266;
background: #e6f7ff;
border: 1px solid rgba(145, 213, 255, 1);
}
.el-icon-info {
width: 12px;
font-size: 12px;
color: #2f54eb;
}
.el-form {
margin-top: 40px;
}
}
</style>
<!--
* @Descripttion: 当前组件信息
* @version: 1.0.0
* @Author: 无尘
* @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘
* @LastEditTime: 2020-08-26 09:55:52
-->
<!--
<use-record
:detailShow="detailShow"
@hideDetailDialog="hideDetailDialog">
</use-record>
import useRecord from '@/components/app/material/use-record.vue'
-->
<template>
<div v-show="customDialog">
<el-dialog class="edit-dialog" title="记录" :visible.sync="customDialog" width="739px" :before-close="handleClose">
<div class="edit-dialog-body">
<div class="m-b-20 flex">
<el-input placeholder="请输入标题" maxlength="50" prefix-icon="el-icon-search" v-model="conditionObj.searchInput" class="w-203" @keyup.native="value => toInput(value, conditionObj.searchInput)" clearable @clear="clearInput"> </el-input>
<!-- <span class="p-l-10 l-h-32">{{ total }}条点赞记录</span> -->
</div>
<el-table :data="tableData" style="width: 100%" height="332">
<el-table-column label="发布人" width="150" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.userName || '--' }}
</template>
</el-table-column>
<el-table-column label="标题" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.imgTextTitle || '--' }}
</template>
</el-table-column>
<el-table-column label="发布时间" show-overflow-tooltip>
<template slot-scope="scope">
<div class="color-606266 line-18">{{ scope.row.createTime | timeStampToYmd }}</div>
<div class="color-606266 line-18">{{ scope.row.createTime | timeStampToHms }}</div>
</template>
</el-table-column>
</el-table>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData.length != 0">
<dm-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-size="pageSize" layout=" prev, pager, next" :total="total"> </dm-pagination>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
import { getRequest } from '@/api/api';
import errMsg from '@/common/js/error';
import { _debounce } from '@/common/js/public';
export default {
name: 'use-record',
props: {
detailShow: {
type: Boolean,
default: false
},
materialId: {
type: String,
default: ''
}
},
data() {
return {
customDialog: false, // 弹框显示
activeName: 'first',
tableData: [],
conditionObj: {
searchInput: '',
materialId: this.materialId
},
// 分页参数
currentPage: 1,
pageSize: 5,
total: 0
};
},
methods: {
/**
* 输入
*/
toInput: _debounce(function(e, value) {
const that = this;
that.currentPage = 1;
that.getTableList();
}, 500),
// 搜索清除
clearInput() {
const that = this;
that.currentPage = 1;
that.getTableList();
},
/**
* 分页---页码变化
* @param {Number} val
*/
handleSizeChange(val) {
const that = this;
that.currentPage = 1;
that.pageSize = val;
that.getTableList();
},
/**
* 分页---当前页变化
* @param {Number} val
*/
handleCurrentChange(val) {
const that = this;
that.currentPage = val;
that.getTableList();
},
/**
* 关闭
*/
handleClose(done) {
const that = this;
done();
that.hideDialog();
},
/**
* 取消
*/
customCancel() {
const that = this;
that.hideDialog();
},
hideDialog() {
const that = this;
that.customDialog = false;
that.$emit('hideDetailDialog');
},
/**
* 获取列表数据
*/
getTableList(val) {
const that = this;
let para = {
imgTextMaterialId: that.conditionObj.materialId,
imgTextTitle: that.conditionObj.searchInput || '', // 搜索字段
relatedType: 4,
pageNum: that.currentPage, // 当前页
pageSize: that.pageSize, // 一页显示个数
brandId: that.activeBrand
};
getRequest('/haoban-app-material-web/material-log', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
that.tableData = resData.result.list || [];
that.total = resData.result.total;
return false;
}
errMsg.errorMsg(resData);
})
.catch(function(error) {
that.$message.error({
duration: 1000,
message: error.message
});
});
}
},
watch: {
detailShow: function(newData, oldData) {
const that = this;
that.customDialog = newData;
},
materialId: function(newData, oldData) {
const that = this;
if (newData) {
that.conditionObj.materialId = newData;
that.currentPage = 1;
that.getTableList();
}
}
},
/* 接收数据 */
mounted() {
const that = this;
that.customDialog = that.detailShow;
if (that.materialId) {
that.conditionObj.materialId = that.materialId;
that.currentPage = 1;
that.getTableList();
}
}
};
</script>
<style lang="scss" scoped>
.bg-82C5FF {
background: #82c5ff;
}
.w-203 {
width: 203px;
}
.l-h-32 {
line-height: 32px;
}
.table-head-pic {
width: 35px;
height: 35px;
padding: 10px;
border-radius: 4px;
i {
font-size: 20px;
color: #e5f3ff;
}
img {
max-width: 35px;
max-height: 35px;
}
}
.apply-info {
margin-left: 15px;
line-height: 18px;
.text-ellipsis {
display: block;
width: 96px;
max-width: 96px;
overflow: hidden;
text-overflow: ellipsis;
}
}
.edit-dialog {
>>> .el-dialog__body {
padding: 25px 20px 17px 20px;
min-height: 352px;
}
>>> .el-dialog__footer {
border: none;
padding-top: 3px;
}
&__title {
width: 100%;
height: 38px;
padding: 12px 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(235, 238, 245, 1);
}
.el-alert--info {
width: 400px;
font-size: 14px;
color: #606266;
background: #e6f7ff;
border: 1px solid rgba(145, 213, 255, 1);
}
.el-icon-info {
width: 12px;
font-size: 12px;
color: #2f54eb;
}
.el-form {
margin-top: 40px;
}
}
</style>
......@@ -38,10 +38,10 @@
<el-checkbox class="w-195" v-model="myCustomData.clerkSeeOtherFlag">允许导购查看其他导购客户</el-checkbox>
<div class="font-14 color-909399 set-tip-item">注:保存勾选项后,门店导购可查看本门店其他导购名下客户</div>
</div>
<div class="m-b-20">
<!-- <div class="m-b-20">
<el-checkbox class="w-195" v-model="myCustomData.faceOpenFlag">展示人脸识别模块</el-checkbox>
<div class="font-14 color-909399 set-tip-item">注:保存勾选项后,会员基础信息将展示人脸识别相关内容。消费订单取当天数据进行匹配。如果录单时间是隔天的,不会产生消费订单通知,即不会产生人脸匹配通知</div>
</div>
</div> -->
<div class="m-b-20">
<el-checkbox class="w-195" v-model="myCustomData.handoverFlag">离职继承</el-checkbox>
<div class="font-14 color-909399 set-tip-item">注:保存勾选项后,店长可以选择离职的导购名下的好友会员,选择离职继承</div>
......
......@@ -214,7 +214,7 @@
</div>
</div>
</div>
<div class="company-set-content border-box">
<div class="company-set-content border-box" v-if="false">
<div class="company-title m-b-20 m-t-26 flex flex-space-between flex-align-center">
<p class="color-303133 font-14 font-w-600">授权配置</p>
</div>
......
<template>
<div>
<div class="warp">
<!-- <div class="warp">
<h2>加好友配置</h2>
<span class="echoData" v-show="friendSettingType">{{ echoFriendData }}</span>
<el-button type="text" style="margin-left: 20px;" @click="openDialog">去配置</el-button>
</div>
</div> -->
<div class="daily-set-wrap">
<div class="daily-set-content border-box">
<div class="admin-tip-body">
......@@ -26,7 +26,7 @@
<el-input placeholder="请输入标题" maxlength="50" v-model="title" class="w-264" style="width: 264px;" @keyup.native="value => toInput(value, searchInput)" clearable @clear="clearSearch"> <i slot="prefix" class="el-input__icon el-icon-search"></i> </el-input>
<el-button type="primary" @click="changeRoute">新建欢迎语</el-button>
</div>
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%' }">
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" :style="{ width: '100%' }" v-loading="loading">
<el-table-column prop="title" label="标题" width="200" show-overflow-tooltip>
<template slot-scope="{ row }">{{ row.title }}</template>
</el-table-column>
......@@ -70,13 +70,13 @@
<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)" v-if="row.defaultWelcomeFlag != 1">删除</el-button>
<el-button type="text" @click="remove(row)">删除</el-button>
</template>
</el-table-column>
</el-table>
</div>
</div>
<el-dialog title="加好友配置" :visible.sync="dialogVisible" width="590px" :before-close="handleClose">
<!-- <el-dialog title="加好友配置" :visible.sync="dialogVisible" width="590px" :before-close="handleClose">
<span class="tips">好办欢迎语支持文字、图片、视频、文件、链接</span>
<el-form label-width="100px" style="margin-top:20px">
<el-form-item label="加好友配置">
......@@ -90,7 +90,7 @@
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" :loading="btnLoading" @click="saveSetting">确 定</el-button>
</span>
</el-dialog>
</el-dialog> -->
</div>
</template>
<script>
......@@ -100,24 +100,25 @@ export default {
props: {},
data() {
return {
friendSettingTypeOption: [
{ label: 2, content: '发送【好办欢迎语】+【带导购参数的公众号二维码】' },
{ label: 1, content: '发送【好办欢迎语】+【带导购参数的会员小程序卡片】' }
],
// friendSettingTypeOption: [
// { label: 2, content: '发送【好办欢迎语】+【带导购参数的公众号二维码】' },
// { label: 1, content: '发送【好办欢迎语】+【带导购参数的会员小程序卡片】' }
// ],
title: '',
wxEnterpriseId: localStorage.getItem('userInfos') ? JSON.parse(localStorage.getItem('userInfos')).wxEnterpriseId : '',
friendSettingType: '',
// friendSettingType: '',
type: 1,
friendSettingId: '',
btnLoading: false,
dialogVisible: false,
// dialogVisible: false,
iconType: {
1: 'iconwenjianleixingtupian',
2: 'iconwenjianleixingshipin',
3: 'iconwenjianleixing-wenjian',
4: 'iconwenjianleixing-lianjie'
},
tableData: []
tableData: [],
loading: false
};
},
mounted() {
......@@ -125,19 +126,19 @@ export default {
that.$emit('showTab', 4);
document.documentElement.style.backgroundColor = '#f0f2f5';
that.getData();
this.getSetting();
// this.getSetting();
},
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;
}
// echoFriendData() {
// let content = '';
// if (this.friendSettingType) {
// content = this.friendSettingTypeOption.filter(item => item.label == this.friendSettingType)[0].content;
// }
// return content;
// }
},
methods: {
/**
......@@ -152,20 +153,20 @@ export default {
clearSearch() {
this.getData();
},
openDialog() {
this.dialogVisible = true;
},
getSetting() {
getRequest('/haoban-manage3-web/welcome/get/friend-setting', { wxEnterpriseId: this.wxEnterpriseId }).then(res => {
let resData = res.data;
if (resData.code == 0 && resData.result) {
const { friendSettingId, friendSettingType } = resData.result;
this.friendSettingId = friendSettingId;
this.type = friendSettingType ? friendSettingType : 1;
this.friendSettingType = friendSettingType;
}
});
},
// openDialog() {
// this.dialogVisible = true;
// },
// getSetting() {
// getRequest('/haoban-manage3-web/welcome/get/friend-setting', { wxEnterpriseId: this.wxEnterpriseId }).then(res => {
// let resData = res.data;
// if (resData.code == 0 && resData.result) {
// const { friendSettingId, friendSettingType } = resData.result;
// this.friendSettingId = friendSettingId;
// this.type = friendSettingType ? friendSettingType : 1;
// this.friendSettingType = friendSettingType;
// }
// });
// },
saveSetting() {
let data = {
friendSettingId: this.friendSettingId,
......@@ -179,8 +180,8 @@ export default {
let resData = res.data;
if (resData.code == 0 && resData.result) {
this.$message.success(resData.message);
this.dialogVisible = false;
this.getSetting();
// this.dialogVisible = false;
// this.getSetting();
}
})
.finally(() => {
......@@ -212,6 +213,7 @@ export default {
* 获取数据
*/
getData() {
this.loading = true;
postJsonRequest('/haoban-manage3-web/welcome/list', { title: this.title, wxEnterpriseId: this.wxEnterpriseId })
.then(res => {
let resData = res.data;
......@@ -232,6 +234,9 @@ export default {
duration: 1000,
message: error.message
});
})
.finally(() => {
this.loading = false;
});
}
},
......
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