Commit 88f0347d by fairyly

feat: 添加事件

parent f90254ed
<!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.24.css><link href=./static/css/app.6dc4ed7ab826b6d02ba40f4078336017.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.d79a5ac7c12d9e0096f2.js></script><script type=text/javascript src=./static/js/vendor.2cff6c68669f76f7bb26.js></script><script type=text/javascript src=./static/js/app.87e7b9460693e89d3c4c.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.24.css><link href=./static/css/app.9f2c1003a9f937b118e057f335d23c58.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.d3aab09d3b0c81a51cc3.js></script><script type=text/javascript src=./static/js/vendor.2cff6c68669f76f7bb26.js></script><script type=text/javascript src=./static/js/app.57aa8ec70f22ce42fb4e.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([13],{"0wxq":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"),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,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1},topMenuData:[{id:"1",name:"会员搜索设置"}],activeId:"1",overTimeSeeFlag:"",conditionObj:{searchInput:"",classifyName:"",effectiveStatus:""},groupListData:[],classifyList:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},syncDate:""}},methods:{submit:Object(l.a)(function(e){this.setData(e)},500),setData:function(e){var a=this,t={brandId:a.brandId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId},l=void 0;"showFlag"!=e?(t[e]=a.myCustomData[e]?1:0,l="/haoban-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-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.isSeeAuthMember=a.myCustomData.isSeeAuthMember?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-web/customer/save-member-show-setting"),Object(i.b)(l,t).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(e){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={brandId:e};Object(i.b)("/haoban-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.isSeeAuthMember=1==t.result.isSeeAuthMember,t.result.searchFlag=1==t.result.searchFlag,a.myCustomData=t.result)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},r={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("span",{staticClass:"font-14 color-909399"},[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("span",{staticClass:"font-14 color-909399"},[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("span",{staticClass:"font-14 color-909399"},[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("span",{staticClass:"font-14 color-909399"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员")]),e._v(" "),t("br"),e._v(" "),t("span",{staticClass:"p-l-199 font-14 color-909399"},[e._v("不勾选将展示微信会员(即微信总量,含未开卡会员)及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("span",{staticClass:"font-14 color-909399"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下会员")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:e.changeAllowGuide},model:{value:e.myCustomData.allowGuideContact,callback:function(a){e.$set(e.myCustomData,"allowGuideContact",a)},expression:"myCustomData.allowGuideContact"}}),t("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("允许导购主动联系会员")]),t("span",{staticClass:"font-14 color-909399 p-l-38"},[e._v("注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员")])],1),e._v(" "),e.myCustomData.allowGuideContact?t("div",[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._e(),e._v(" "),t("div",{staticClass:"m-t-46"},[t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var u=t("VU/8")(n,r,!1,function(e){t("0wxq")},"data-v-7e34f40f",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([13],{"98ug":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"),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,myCustomData:{searchFlag:!1,chatFlag:!1,mainStoreFlag:!1,minorStoreFlag:!1,openCardStoreFlag:!1,clerkSeeOtherFlag:!1,isSeeAuthMember:!1,allowGuideContact:!1,allowGuideMobile:!1,allowGuideMessage:!1,allowGuideOnlineChat:!1},topMenuData:[{id:"1",name:"会员搜索设置"}],activeId:"1",overTimeSeeFlag:"",conditionObj:{searchInput:"",classifyName:"",effectiveStatus:""},groupListData:[],classifyList:[],currentPage:1,pageSize:20,total:0,appScene:2,defaultStoreList:[],storeTreeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},syncDate:""}},methods:{submit:Object(l.a)(function(e){this.setData(e)},500),setData:function(e){var a=this,t={brandId:a.brandId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId},l=void 0;"showFlag"!=e?(t[e]=a.myCustomData[e]?1:0,l="/haoban-app-member-web/customer/save-online-chat-setting","searchFlag"===e&&(l="/haoban-app-member-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.isSeeAuthMember=a.myCustomData.isSeeAuthMember?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-member-web/customer/save-member-show-setting"),Object(i.b)(l,t).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(e){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={brandId:e};Object(i.b)("/haoban-app-member-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.isSeeAuthMember=1==t.result.isSeeAuthMember,t.result.searchFlag=1==t.result.searchFlag,a.myCustomData=t.result)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab","11"),this.getShowSet(this.brandId)},components:{}},r={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("span",{staticClass:"font-14 color-909399"},[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("span",{staticClass:"font-14 color-909399"},[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("span",{staticClass:"font-14 color-909399"},[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("span",{staticClass:"font-14 color-909399"},[e._v("注:保存勾选项后,门店导购和店长可查看本门店微信会员(不含未开卡会员)及POS会员")]),e._v(" "),t("br"),e._v(" "),t("span",{staticClass:"p-l-199 font-14 color-909399"},[e._v("不勾选将展示微信会员(即微信总量,含未开卡会员)及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("span",{staticClass:"font-14 color-909399"},[e._v("注:保存勾选项后,门店导购可查看本门店其他导购名下会员")])],1),e._v(" "),t("div",{staticClass:"m-b-20"},[t("el-switch",{attrs:{"active-text":"","inactive-text":""},on:{change:e.changeAllowGuide},model:{value:e.myCustomData.allowGuideContact,callback:function(a){e.$set(e.myCustomData,"allowGuideContact",a)},expression:"myCustomData.allowGuideContact"}}),t("span",{staticClass:"font-14 color-606266 p-l-10"},[e._v("允许导购主动联系会员")]),t("span",{staticClass:"font-14 color-909399 p-l-38"},[e._v("注:开启后,可选择导购在 < 我的顾客 > 中是否通过以下方式联系会员")])],1),e._v(" "),e.myCustomData.allowGuideContact?t("div",[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._e(),e._v(" "),t("div",{staticClass:"m-t-46"},[t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.submit("showFlag")}}},[e._v("保 存")])],1)])])},staticRenderFns:[]};var u=t("VU/8")(n,r,!1,function(e){t("98ug")},"data-v-62998bdd",null);a.default=u.exports}});
\ No newline at end of file
webpackJsonp([15],{BMVD:function(t,e){},JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mvHQ"),o=a.n(s),i=a("NKg7"),n=a("P9l9"),r=a("Ch4/"),c={name:"index",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",purchaseApp:[{applicationId:1,applicationUrl:"https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png",applicationName:"我的顾客",versionName:"基础版",date:(new Date).getTime(),describe:"应用描述应用描述应用描述应用描述应用描述"}],noPurchaseApp:[{applicationId:1,applicationUrl:"https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png",applicationName:"测试应用",describe:"应用描述应用描述应用描述应用描述应用描述"}],versionData:{id:1,name:"基础版",date:(new Date).getTime(),storeNum:100,storeAllNum:150},helpList:[{id:1,name:"测试帮助中心"}]}},methods:{changeRoute:function(t){this.$router.push(t)},toOverStore:function(){this.changeRoute("/overStoreList")},toAppView:function(t){this.changeRoute(""+t.path)},goShopping:function(t){this.changeRoute("/")},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getEnterpriseData:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.balance=Number(a.result.balance).toFixed(2),0==a.result.yesterdayUseNumber&&(a.result.yesterdayUseNumber=String(a.result.yesterdayUseNumber)),t.companyObj=a.result,void t.$nextTick(function(){t.getUserData()});r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;Object(n.a)("/haoban-manage-web/emp/get-user-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return localStorage.setItem("userInfo",o()(a.result)),void t.$nextTick(function(){t.$refs.headerMenu.getHeaderMenu()});t.$message.error({duration:1e3,message:a.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={type:t};Object(n.a)("/haoban-web/application-list",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):e.dataOverview=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px"},components:{vueOfficeHeader:i.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已订购的应用")]),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,s){return a("li",{key:s+"app",staticClass:"border-box",on:{click:function(a){return t.toAppView(e)}}},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-version font-12 color-909399"},[t._v(t._s(e.versionName))]),t._v(" "),a("div",{staticClass:"app-date font-12 color-909399"},[t._v(t._s(t._f("timeStampToYmd")(e.date)))])])])])])}),0)]),t._v(" "),a("div",{staticClass:"index-body-left_bottom border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("未订购的应用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,s){return a("li",{key:s+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-describe font-12 color-909399"},[t._v(t._s(e.describe))])])])])])}),0)])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.name))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("到期时间")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t._f("timeStampToYmd")(t.versionData.date)))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("门店容量")]),t._v(" "),a("span",{staticClass:"font-14 color-303133 cursor-pointer",on:{click:t.toOverStore}},[t._v(t._s(t.versionData.storeAllNum)+"/"+t._s(t.versionData.storeNum))]),t.versionData.storeAllNum>t.versionData.storeNum?a("span",{staticClass:"font-12 p-l-10 color-f5222d"},[t._v("("+t._s(t.versionData.storeAllNum-t.versionData.storeNum)+"家门店溢出)")]):t._e()]),t._v(" "),a("div",{staticClass:"serve-btn text-center m-t-30"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goShopping}},[t._v("前往订购")])],1)])]),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box m-t-10"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list"},t._l(t.helpList,function(e,s){return a("li",{key:s+"help",staticClass:"font-14 color-606266"},[t._v("\n "+t._s(e.name)+"\n ")])}),0)])])])]),t._v(" "),a("vue-gic-footer")],1)],1)},staticRenderFns:[]};var p=a("VU/8")(c,l,!1,function(t){a("BMVD")},"data-v-413260be",null);e.default=p.exports}});
\ No newline at end of file
webpackJsonp([16],{Z3Aa:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t("3E4D"),o=t("Ch4/"),i=t("PI0u"),m=t("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:"",myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(i.a)(function(e){this.setData(e)},500),setData:function(e){var a=this,t={brandId:a.brandId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId},i=void 0;"showFlag"!=e?(t[e]=a.myCustomData[e]?1:0,i="/haoban-app-member-web/customer/save-online-chat-setting","searchFlag"===e&&(i="/haoban-app-member-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.isSeeAuthMember=a.myCustomData.isSeeAuthMember?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,i="/haoban-app-member-web/customer/save-member-show-setting"),Object(m.b)(i,t).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(e){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)},getCustomerSet:function(e){var a=this,t={brandId:e};Object(m.b)("/haoban-app-member-web/customer/find-customer-setting",t).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):t.result&&(a.myCustomData.searchFlag=!!t.result.searchFlag)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},r={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("el-checkbox",{model:{value:e.myCustomData.searchFlag,callback:function(a){e.$set(e.myCustomData,"searchFlag",a)},expression:"myCustomData.searchFlag"}},[e._v("允许全品牌搜索")]),e._v(" "),t("div",{staticClass:"m-t-46"},[t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.submit("searchFlag")}}},[e._v("保 存")])],1)],1)])},staticRenderFns:[]};var u=t("VU/8")(n,r,!1,function(e){t("kMf0")},"data-v-215f2191",null);a.default=u.exports},kMf0:function(e,a){}});
\ No newline at end of file
webpackJsonp([16],{Z3Aa:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=t("3E4D"),o=t("Ch4/"),i=t("PI0u"),n=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:"",myCustomData:{searchFlag:!1},activeId:"1"}},methods:{submit:Object(i.a)(function(e){this.setData(e)},500),setData:function(e){var a=this,t={brandId:a.brandId,enterpriseId:JSON.parse(localStorage.getItem("userInfo")).enterpriseId},i=void 0;"showFlag"!=e?(t[e]=a.myCustomData[e]?1:0,i="/haoban-web/customer/save-online-chat-setting","searchFlag"===e&&(i="/haoban-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.isSeeAuthMember=a.myCustomData.isSeeAuthMember?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,i="/haoban-web/customer/save-member-show-setting"),Object(n.b)(i,t).then(function(e){var a=e.data;1!=a.errorCode?o.a.errorMsg(a):s.a.showmsg("保存成功","success")}).catch(function(e){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)},getCustomerSet:function(e){var a=this,t={brandId:e};Object(n.b)("/haoban-web/customer/find-customer-setting",t).then(function(e){var t=e.data;1!=t.errorCode?o.a.errorMsg(t):t.result&&(a.myCustomData.searchFlag=!!t.result.searchFlag)}).catch(function(e){a.$message.error({duration:1e3,message:e.message})})}},watch:{},mounted:function(){this.$emit("showTab","13"),this.getCustomerSet(this.brandId)},components:{}},m={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("el-checkbox",{model:{value:e.myCustomData.searchFlag,callback:function(a){e.$set(e.myCustomData,"searchFlag",a)},expression:"myCustomData.searchFlag"}},[e._v("允许全品牌搜索")]),e._v(" "),t("div",{staticClass:"m-t-46"},[t("el-button",{attrs:{type:"primary"},on:{click:function(a){return e.submit("searchFlag")}}},[e._v("保 存")])],1)],1)])},staticRenderFns:[]};var u=t("VU/8")(r,m,!1,function(e){t("hIOp")},"data-v-392e8106",null);a.default=u.exports},hIOp:function(e,a){}});
\ No newline at end of file
webpackJsonp([15],{BgBI:function(t,e){},Y55K:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("BgBI")},"data-v-30d200c5",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([17],{BgBI:function(t,e){},Y55K:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={name:"enterprise",components:{vueOfficeHeader:n("NKg7").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"enterprise-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"enterprise-wrap__body"},[e("div",{staticClass:"content",attrs:{id:"content"}},[e("div",{staticClass:"content-body",style:{height:this.contentHeight}},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])])],1)},staticRenderFns:[]};var o=n("VU/8")(a,i,!1,function(t){n("BgBI")},"data-v-30d200c5",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([17],{JXTs:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mvHQ"),o=a.n(s),i=a("NKg7"),n=a("P9l9"),r=a("Ch4/"),c={name:"index",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1,showCustomDialog:!1,customType:"",customTitle:"",purchaseApp:[{applicationId:1,applicationUrl:"https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png",applicationName:"我的顾客",versionName:"基础版",date:(new Date).getTime(),describe:"应用描述应用描述应用描述应用描述应用描述"}],noPurchaseApp:[{applicationId:1,applicationUrl:"https://hope.demogic.com/mobile-haoban-file/images/appicon/workbench/customer_center.png",applicationName:"测试应用",describe:"应用描述应用描述应用描述应用描述应用描述"}],versionData:{id:1,name:"基础版",date:(new Date).getTime(),storeNum:100,storeAllNum:150},helpList:[{id:1,name:"测试帮助中心"}]}},methods:{changeRoute:function(t){this.$router.push(t)},toRouterView:function(t){this.$router.push({path:t.path})},collapseTag:function(t){this.collapseFlag=t},toAlert:function(){this.$confirm("您所在企业尚未订购好办 ,请前往升级版本后继续使用。","提示",{confirmButtonText:"立即前往订购",cancelButtonText:"取消",type:"warning"}).then(function(){window.open("")})},toTip:function(){this.$confirm("您没有该功能的使用权限,请联系管理员授权后继续使用。","提示",{confirmButtonText:"知道了",type:"warning"}).then(function(){window.open("")})},getEnterpriseData:function(){var t=this;Object(n.a)("/haoban-manage-web/home/find-enterprise-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return a.result.balance=Number(a.result.balance).toFixed(2),0==a.result.yesterdayUseNumber&&(a.result.yesterdayUseNumber=String(a.result.yesterdayUseNumber)),t.companyObj=a.result,void t.$nextTick(function(){t.getUserData()});r.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getUserData:function(){var t=this;Object(n.a)("/haoban-manage-web/emp/get-user-info",{}).then(function(e){var a=e.data;if(1==a.errorCode)return localStorage.setItem("userInfo",o()(a.result)),void t.$nextTick(function(){t.$refs.headerMenu.getHeaderMenu()});t.$message.error({duration:1e3,message:a.message})}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})},getAppData:function(t){var e=this,a={type:t};Object(n.a)("/haoban-web/application-list",a).then(function(t){var a=t.data;1!=a.errorCode?r.a.errorMsg(a):e.dataOverview=a.result}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-204+"px"},components:{vueOfficeHeader:i.a}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("vue-office-header",{ref:"headerMenu",attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{minHeight:t.contentHeight}},[a("div",{staticClass:"index-body flex flex-row"},[a("div",{staticClass:"index-body-left"},[a("div",{staticClass:"index-body-left_top border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("已订购的应用")]),t._v(" "),a("ul",t._l(t.purchaseApp,function(e,s){return a("li",{key:s+"app",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-version font-12 color-909399"},[t._v(t._s(e.versionName))]),t._v(" "),a("div",{staticClass:"app-date font-12 color-909399"},[t._v(t._s(t._f("timeStampToYmd")(e.date)))])])])])])}),0)]),t._v(" "),a("div",{staticClass:"index-body-left_bottom border-box"},[a("div",{staticClass:"app-title font-16 color-303133"},[t._v("未订购的应用")]),t._v(" "),a("ul",t._l(t.noPurchaseApp,function(e,s){return a("li",{key:s+"appno",staticClass:"border-box"},[a("div",{staticClass:"app-li-cell border-box flex"},[a("div",{staticClass:"app-cell-left"},[a("img",{attrs:{src:e.applicationUrl,alt:"img"}})]),t._v(" "),a("div",{staticClass:"app-cell-right"},[a("div",{staticClass:"app-name font-14 color-303133"},[t._v(t._s(e.applicationName))]),t._v(" "),a("div",{staticClass:"app-info"},[a("div",{staticClass:"app-describe font-12 color-909399"},[t._v(t._s(e.describe))])])])])])}),0)])]),t._v(" "),a("div",{staticClass:"index-body-right"},[a("div",{staticClass:"index-body-right_top border-box"},[a("div",{staticClass:"serve-info"},[a("div",{staticClass:"serve-version flex"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("版本")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.name))])]),t._v(" "),a("div",{staticClass:"serve-date flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("到期时间")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t._f("timeStampToYmd")(t.versionData.date)))])]),t._v(" "),a("div",{staticClass:"serve-store flex m-t-20"},[a("span",{staticClass:"w-86 font-14 color-909399 text-left"},[t._v("门店容量")]),t._v(" "),a("span",{staticClass:"font-14 color-303133"},[t._v(t._s(t.versionData.storeAllNum)+"/"+t._s(t.versionData.storeNum))]),t.versionData.storeAllNum>t.versionData.storeNum?a("span",{staticClass:"font-12 p-l-10 color-f5222d"},[t._v("("+t._s(t.versionData.storeAllNum-t.versionData.storeNum)+"家门店溢出)")]):t._e()]),t._v(" "),a("div",{staticClass:"serve-btn text-center m-t-30"},[a("el-button",{attrs:{type:"primary"}},[t._v("前往订购")])],1)])]),t._v(" "),a("div",{staticClass:"index-body-right_bottom border-box m-t-10"},[a("div",{staticClass:"help-title font-16 color-303133 font-w-600"},[t._v("帮助中心")]),t._v(" "),a("ul",{staticClass:"help-list"},t._l(t.helpList,function(e,s){return a("li",{key:s+"help",staticClass:"font-14 color-606266"},[t._v("\n "+t._s(e.name)+"\n ")])}),0)])])])]),t._v(" "),a("vue-gic-footer")],1)],1)},staticRenderFns:[]};var p=a("VU/8")(c,l,!1,function(t){a("m9rF")},"data-v-11a6fc0c",null);e.default=p.exports},m9rF:function(t,e){}});
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,o){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=a(a.s=o[u]);return i};var r={},t={21:0};function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,a){n=t[e]=[r,a]});n[2]=r;var c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,a.nc&&o.setAttribute("nonce",a.nc),o.src=a.p+"static/js/"+e+"."+{0:"0fcc671ed0af2b9ecfc9",1:"9a1776fdc262362d75b8",2:"68622a9ed4986b2b8923",3:"3201c6a17c59df472f26",4:"4740d3913fc2a140626e",5:"9a4a9a4fd418a3bd945f",6:"689a47e3c9b781d2fb24",7:"3b77345f789d55d5d92f",8:"729e6fa6fb32728e2c4d",9:"1e29ef199801738ed9ad",10:"de993e1c4bc498c9dbd6",11:"fdcc4372b9269461ec37",12:"c2c5c88553e84a30639e",13:"0baa2397a6dc4cb67ab3",14:"fc67d019ef3aaa404021",15:"1ce54fa5e48e4508b743",16:"5a2c5aa7760e3a7528fe",17:"30b2bb1593a5d6e55f0a",18:"b918fbf8403d96eac90a"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,c.appendChild(o),r},a.m=e,a.c=r,a.d=function(e,n,r){a.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="./",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,o,a){for(var f,d,i,u=0,s=[];u<n.length;u++)d=n[u],r[d]&&s.push(r[d][0]),r[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(c&&c(n,o,a);s.length;)s.shift()();if(a)for(u=0;u<a.length;u++)i=t(t.s=a[u]);return i};var n={},r={21:0};function t(c){if(n[c])return n[c].exports;var r=n[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var c=r[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var n=new Promise(function(n,t){c=r[e]=[n,t]});c[2]=n;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"0fcc671ed0af2b9ecfc9",1:"9a1776fdc262362d75b8",2:"68622a9ed4986b2b8923",3:"3201c6a17c59df472f26",4:"6e2e5ecefc8766fb5243",5:"c42bfcc79c8784a23577",6:"689a47e3c9b781d2fb24",7:"3b77345f789d55d5d92f",8:"729e6fa6fb32728e2c4d",9:"1e29ef199801738ed9ad",10:"de993e1c4bc498c9dbd6",11:"fdcc4372b9269461ec37",12:"c2c5c88553e84a30639e",13:"c3c113c93ed82eefb90e",14:"fc67d019ef3aaa404021",15:"89399cc39e2d9c7281b6",16:"59fd6d0260af71e60a28",17:"481ba436c1d2f3ea2423",18:"b918fbf8403d96eac90a"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),n},t.m=e,t.c=n,t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -166,7 +166,7 @@ export default {
let para = {
brandId: that.brandId || brandId
};
postRequest('/haoban-app-member-web/memberGroup/get-group_last_syn_time', para)
postRequest('/haoban-web/memberGroup/get-group_last_syn_time', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -190,7 +190,7 @@ export default {
let para = {
brandId: that.brandId
};
postRequest('/haoban-app-member-web/memberGroup/syn-group', para)
postRequest('/haoban-web/memberGroup/syn-group', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -228,7 +228,7 @@ export default {
let para = {
brandId: brandId
};
postRequest('/haoban-app-member-web/memberGroup/get-member-group-setting', para)
postRequest('/haoban-web/memberGroup/get-member-group-setting', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -253,7 +253,7 @@ export default {
brandId: that.brandId,
overTimeSeeFlag: that.overTimeSeeFlag == true ? 1 : 0
};
postRequest('/haoban-app-member-web/memberGroup/save-member-group-setting', para)
postRequest('/haoban-web/memberGroup/save-member-group-setting', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -296,7 +296,7 @@ export default {
let para = {
brandId: brandId
};
postRequest('/haoban-app-member-web/memberGroup/get-member-class-list', para)
postRequest('/haoban-web/memberGroup/get-member-class-list', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -328,7 +328,7 @@ export default {
brandId: that.brandId,
memberTagGroupId: that.memberTagGroupId
};
postRequest('/haoban-app-member-web/memberGroup/find-gorup-see-range', para)
postRequest('/haoban-web/memberGroup/find-gorup-see-range', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -381,7 +381,7 @@ export default {
groupList: storeGroups || [],
storeList: filterStoreIds || []
};
postRequest('/haoban-app-member-web/memberGroup/save-gorup-see-range', para)
postRequest('/haoban-web/memberGroup/save-gorup-see-range', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -409,7 +409,7 @@ export default {
memberTagGroupId: row.memberTagGroupId,
isSendTemplate: row.isSendTemplate == true ? 1 : 0
};
postRequest('/haoban-app-member-web/memberGroup/save-member-group-is-template-message', para)
postRequest('/haoban-web/memberGroup/save-member-group-is-template-message', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -461,7 +461,7 @@ export default {
pageNum: that.currentPage,
pageSize: that.pageSize
};
postRequest('/haoban-app-member-web/memberGroup/member-tag-group-list', para)
postRequest('/haoban-web/memberGroup/member-tag-group-list', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......
......@@ -78,9 +78,9 @@ export default {
let url;
if (type != 'showFlag') {
para[type] = !!that.myCustomData[type] ? 1 : 0;
url = '/haoban-app-member-web/customer/save-online-chat-setting';
url = '/haoban-web/customer/save-online-chat-setting';
if (type === 'searchFlag') {
url = '/haoban-app-member-web/customer/save-customer-setting';
url = '/haoban-web/customer/save-customer-setting';
}
} else {
para['mainStoreFlag'] = !!that.myCustomData['mainStoreFlag'] ? 1 : 0;
......@@ -99,7 +99,7 @@ export default {
para.isImgMessage = that.myCustomData.isImgMessage; // 图文
para.isGoodMessage = that.myCustomData.isGoodMessage;
para.isIntegralGoodMessage = that.myCustomData.isIntegralGoodMessage;
url = '/haoban-app-member-web/customer/save-member-show-setting';
url = '/haoban-web/customer/save-member-show-setting';
}
postRequest(url, para)
.then(res => {
......@@ -145,7 +145,7 @@ export default {
let para = {
brandId: brandId
};
postRequest('/haoban-app-member-web/customer/find-customer-setting', para)
postRequest('/haoban-web/customer/find-customer-setting', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......
......@@ -145,9 +145,9 @@ export default {
let url;
if (type != 'showFlag') {
para[type] = !!that.myCustomData[type] ? 1 : 0;
url = '/haoban-app-member-web/customer/save-online-chat-setting';
url = '/haoban-web/customer/save-online-chat-setting';
if (type === 'searchFlag') {
url = '/haoban-app-member-web/customer/save-customer-setting';
url = '/haoban-web/customer/save-customer-setting';
}
} else {
para['mainStoreFlag'] = !!that.myCustomData['mainStoreFlag'] ? 1 : 0;
......@@ -166,7 +166,7 @@ export default {
para.isImgMessage = that.myCustomData.isImgMessage; // 图文
para.isGoodMessage = that.myCustomData.isGoodMessage;
para.isIntegralGoodMessage = that.myCustomData.isIntegralGoodMessage;
url = '/haoban-app-member-web/customer/save-member-show-setting';
url = '/haoban-web/customer/save-member-show-setting';
}
postRequest(url, para)
.then(res => {
......@@ -213,7 +213,7 @@ export default {
let para = {
brandId: brandId
};
postRequest('/haoban-app-member-web/customer/find-member-show-setting', para)
postRequest('/haoban-web/customer/find-member-show-setting', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors : 无尘
* @LastEditTime : 2020-02-12 20:40:28
* @LastEditTime : 2020-02-18 15:29:20
-->
<template>
<div id="index">
......@@ -16,7 +16,7 @@
<div class="index-body-left_top border-box">
<div class="app-title font-16 color-303133">已订购的应用</div>
<ul>
<li class="border-box" v-for="(item, index) in purchaseApp" :key="index + 'app'">
<li class="border-box" v-for="(item, index) in purchaseApp" :key="index + 'app'" @click="toAppView(item)">
<div class="app-li-cell border-box flex">
<div class="app-cell-left">
<img :src="item.applicationUrl" alt="img" />
......@@ -64,11 +64,11 @@
</div>
<div class="serve-store flex m-t-20">
<span class="w-86 font-14 color-909399 text-left">门店容量</span>
<span class="font-14 color-303133">{{ versionData.storeAllNum }}/{{ versionData.storeNum }}</span
<span class="font-14 color-303133 cursor-pointer" @click="toOverStore">{{ versionData.storeAllNum }}/{{ versionData.storeNum }}</span
><span v-if="versionData.storeAllNum > versionData.storeNum" class="font-12 p-l-10 color-f5222d">({{ versionData.storeAllNum - versionData.storeNum }}家门店溢出)</span>
</div>
<div class="serve-btn text-center m-t-30">
<el-button type="primary">前往订购</el-button>
<el-button type="primary" @click="goShopping">前往订购</el-button>
</div>
</div>
</div>
......@@ -146,6 +146,29 @@ export default {
},
/**
* 跳转溢出门店
*/
toOverStore() {
const that = this;
that.changeRoute('/overStoreList');
},
/**
* 跳转应用
*/
toAppView(item) {
const that = this;
that.changeRoute(`${item.path}`);
},
/**
* 跳转购买
*/
goShopping(item) {
const that = this;
that.changeRoute(`/`);
},
/**
* 处理路由跳转
*/
toRouterView(val) {
......@@ -272,7 +295,7 @@ export default {
mounted() {
const that = this;
/* that.getAppData(1);
that.getAppData(2); */
that.getAppData(2); */
that.contentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 204 + 'px';
},
components: {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors : 无尘
* @LastEditTime : 2020-02-13 10:17:55
* @LastEditTime : 2020-02-18 15:16:21
-->
<template>
<div class="login-wrap">
......@@ -56,10 +56,10 @@ export default {
// 企业列表
enterpriseList: [
/*{
enterpriseId : '1231',
logoUrl: require("../../assets/logo.png"),
enterpriseName: '达摩网络'
},*/
enterpriseId : '1231',
logoUrl: require("../../assets/logo.png"),
enterpriseName: '达摩网络'
},*/
],
// 登录
......@@ -167,7 +167,7 @@ export default {
enterpriseId: that.enterpriseId,
userId: that.userId
};
postRequest('/haoban-manage-web/login', para)
postRequest('/haoban-web/login', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -201,7 +201,7 @@ export default {
let para = {
qrcode: that.qrcodeNum
};
postRequest('/haoban-manage-web/login-check', para)
postRequest('/haoban-web/login-check', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -317,6 +317,7 @@ export default {
font-weight: 600;
color: #fff;
font-size: 18px;
padding-top: 5px;
}
}
}
......
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