Commit 731b943d by 无尘

fix: 修改选择商户

parent ef0c67c2
.nav-wrap[data-v-11a7d042]{height:48px;line-height:48px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.nav-wrap .el-breadcrumb[data-v-11a7d042]{line-height:48px}.el-breadcrumb__inner.is-link[data-v-11a7d042]:hover,.el-breadcrumb__inner a[data-v-11a7d042]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-11a7d042],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-11a7d042]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-11a7d042],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-11a7d042]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.tab-left-list .tab-left-list-cell[data-v-51e072e6]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .tab-left-list-cell .iconActive[data-v-51e072e6]{color:#2f54eb}.tab-left-list .tab-left-list-cell[data-v-51e072e6]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell:hover i[data-v-51e072e6]{color:#2f54eb}.tab-left-list .tab-left-list-cell.active-tab[data-v-51e072e6]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell.active-tab i[data-v-51e072e6]{color:#2f54eb}.tab-left-list .child-tab-left-list[data-v-51e072e6]{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.tab-left-list .child-tab-left-list li[data-v-51e072e6]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .child-tab-left-list li[data-v-51e072e6]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li:hover i[data-v-51e072e6]{color:#2f54eb}.tab-left-list .child-tab-left-list li.active-tab[data-v-51e072e6]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li.active-tab i[data-v-51e072e6]{color:#2f54eb}.line-h-18[data-v-26752997]{line-height:18px}.my-customer-wrap[data-v-26752997]{height:100%}.my-customer-wrap .move-row-cell .icontuozhuaiopen[data-v-26752997]{display:none}.my-customer-wrap .move-row-cell.show-icon .icontuozhuaiopen[data-v-26752997],.my-customer-wrap .move-row-cell:hover .icontuozhuaiopen[data-v-26752997]{display:inline-block;vertical-align:middle}.right-content[data-v-26752997]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-26752997]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-left[data-v-26752997]{min-width:205px;height:100%;background:#fff;overflow-x:hidden;overflow-y:auto}.right-content .right-box .apps-content .apps-content-right[data-v-26752997]{width:calc(100% - 205px);padding-left:10px;background:#f0f2f5}.right-content .right-box .apps-content .apps-content-right .common-app-right[data-v-26752997]{height:100%;padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff} .nav-wrap[data-v-3c6cb7c4]{height:48px;line-height:48px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.nav-wrap .el-breadcrumb[data-v-3c6cb7c4]{line-height:48px}.el-breadcrumb__inner.is-link[data-v-3c6cb7c4]:hover,.el-breadcrumb__inner a[data-v-3c6cb7c4]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-3c6cb7c4],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-3c6cb7c4]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-3c6cb7c4],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-3c6cb7c4]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.tab-left-list .tab-left-list-cell[data-v-51e072e6]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .tab-left-list-cell .iconActive[data-v-51e072e6]{color:#2f54eb}.tab-left-list .tab-left-list-cell[data-v-51e072e6]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell:hover i[data-v-51e072e6]{color:#2f54eb}.tab-left-list .tab-left-list-cell.active-tab[data-v-51e072e6]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell.active-tab i[data-v-51e072e6]{color:#2f54eb}.tab-left-list .child-tab-left-list[data-v-51e072e6]{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.tab-left-list .child-tab-left-list li[data-v-51e072e6]{position:relative;text-align:left;height:40px;line-height:40px;white-space:nowrap;overflow:hidden;cursor:pointer}.tab-left-list .child-tab-left-list li[data-v-51e072e6]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li:hover i[data-v-51e072e6]{color:#2f54eb}.tab-left-list .child-tab-left-list li.active-tab[data-v-51e072e6]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li.active-tab i[data-v-51e072e6]{color:#2f54eb}.line-h-18[data-v-6873d81c]{line-height:18px}.my-customer-wrap[data-v-6873d81c]{height:100%}.my-customer-wrap .move-row-cell .icontuozhuaiopen[data-v-6873d81c]{display:none}.my-customer-wrap .move-row-cell.show-icon .icontuozhuaiopen[data-v-6873d81c],.my-customer-wrap .move-row-cell:hover .icontuozhuaiopen[data-v-6873d81c]{display:inline-block;vertical-align:middle}.right-content[data-v-6873d81c]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-6873d81c]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-left[data-v-6873d81c]{min-width:205px;height:100%;background:#fff;overflow-x:hidden;overflow-y:auto}.right-content .right-box .apps-content .apps-content-right[data-v-6873d81c]{width:calc(100% - 205px);padding-left:10px;background:#f0f2f5}.right-content .right-box .apps-content .apps-content-right .common-app-right[data-v-6873d81c]{height:100%;padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-17fa8d1e"],{"0ef2":function(t,e,a){"use strict";var n=a("50e5"),r=a.n(n);r.a},"3a2b":function(t,e,a){},"503e":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"p-t-12"},[a("ul",{staticClass:"tab-left-list"},[t._l(t.tabData,(function(e,n){return[a("li",{key:n,class:["tab-left-list-cell color-303133 font-14 border-box p-l-14",e.menuUrl!=t.activeTab||e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,!1,n)}}},[a("i",{class:["p-r-10 color-303133 iconfont",e.iconUrl,(e.onlyIconActive,"")]}),t._v(t._s(e.tabName)+"\n ")]),a("ul",{key:"childitem"+n,staticClass:"child-tab-left-list"},[t._l(e.children,(function(e,r){return[a("li",{key:r,class:["tab-left-list-cell color-303133 font-14 border-box p-l-40",e.menuUrl!=t.activeTab||e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,"child",n)}}},[t._v(t._s(e.tabName))]),a("ul",{key:"thirditem"+r,staticClass:"third-tab-left-list"},[t._l(e.children,(function(e,r){return[a("li",{key:r,class:["tab-left-list-cell color-303133 font-14 border-box p-l-60",e.menuUrl!=t.activeTab||e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,"child",n)}}},[t._v(t._s(e.tabName))])]}))],2)]}))],2)]}))],2)])},r=[],i=(a("ac6a"),a("c5f6"),{name:"CommonDetailLeft",props:{appName:{type:String,default:function(){return""}},activeSelTab:{type:[String,Number],default:function(){return""}},tabListData:{type:[Array,Object],default:function(){return[]}}},data:function(){return{projectName:"",activeTab:"1",tabData:this.tabListData,collapsFlag:!0}},mounted:function(){this.activeTab=this.activeSelTab},methods:{returnBack:function(){var t=this;t.$router.push("appcenter")},selectTab:function(t,e,a){var n=this;if(e?n.tabData[a].onlyIconActive=!0:(n.tabData.forEach((function(t){t.onlyIconActive=!1})),t.hasOwnProperty("children")&&t.children.length&&(n.collapsFlag=!(n.collapsFlag&&t.hasOwnProperty("children")&&t.children.length))),t.hasOwnProperty("children")&&t.children.length)return n.tabData[a].onlyIconActive=!0,t.children[0]&&t.children[0].hasOwnProperty("children")&&t.children[0].children.length?(n.activeTab=t.children[0].children[0].menuUrl,n.$emit("setSelectTab",t.children[0].children[0]),!1):(n.activeTab=t.children[0].menuUrl,n.$emit("setSelectTab",t.children[0]),!1);n.activeTab=t.menuUrl,n.$emit("setSelectTab",t)}},watch:{tabListData:function(t,e){var a=this;a.tabData=t},activeSelTab:function(t,e){var a=this;a.activeTab=t}}}),c=i,o=(a("0ef2"),a("2877")),l=Object(o["a"])(c,n,r,!1,null,"51e072e6",null);e["a"]=l.exports},"50e5":function(t,e,a){},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("ac6a"),a("456d");var n=a("b775");function r(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var r=t[a];"string"===typeof r&&(r={url:r}),r.url="".concat(e).concat(r.url),t[a]=function(t){return Object(n["a"])(r,t)}})),t}},"96b6":function(t,e,a){"use strict";var n=a("71f6"),r={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list"};r=Object(n["a"])(r,"/hb-manage-web"),e["a"]=r},a629:function(t,e,a){"use strict";var n=a("3a2b"),r=a.n(n);r.a},c3d9:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{"tab-list-data":t.tabListData,"active-sel-tab":t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{"brand-id":t.activeBrand,"active-group-id":t.activeGroup,"tab-type":t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])],1)},r=[],i=(a("ac6a"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box flex flex-space-between"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2),a("div",{staticClass:"my-customer-brand"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("授权商户名称 ")])]),a("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(e){t.activeBrand=e},expression:"activeBrand"}},t._l(t.brandListData,(function(t){return a("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})})),1)],1)],1)}),c=[],o=a("96b6"),l=o["a"].getWxEnterprise,s={name:"NavAppPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"haoban",activeBrand:"",brandListData:[]}},mounted:function(){var t=this;t.getBrandData()},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)},changeSelect:function(t){var e=this,a="";e.brandListData.forEach((function(e){e.enterpriseId==t&&(a=e.enterpriseId)})),e.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;l({}).then((function(e){if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.enterpriseId)return t.activeBrand=t.$route.query.enterpriseId,t.$emit("selectBrandId",t.$route.query.enterpriseId),!1;t.activeBrand=t.brandListData[0].enterpriseId,t.$emit("selectBrandId",t.brandListData[0].enterpriseId,t.brandListData[0].enterpriseId)}})).catch((function(t){}))}},watch:{brandId:function(t,e){var a=this;a.getBrandData()}}},u=s,d=(a("a629"),a("2877")),h=Object(d["a"])(u,i,c,!1,null,"11a7d042",null),b=h.exports,f=a("503e"),p={name:"Reviewed",components:{navCrumb:b,commonDetailLeft:f["a"]},data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",menuName:"顾客数据维度",iconUrl:"iconjichushezhi",menuUrl:""},{tabId:"2",menuName:"顾客展示",iconUrl:"icongukeguanliicon",menuUrl:""}],activeBrand:"",activeGroup:""}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{changeRoute:function(t){this.$router.push(t)},setSelectTab:function(t){var e=this;e.activeTab=t.menuUrl,1==t.target?-1!=t.menuUrl.indexOf("http")?window.open(t.menuUrl):window.open("/haoban-4/#".concat(t.menuUrl)):e.$router.push(t.menuUrl)},showTab:function(t){var e=this;e.activeTab=t,e.activeSelTab=t,e.tabListData.forEach((function(e){e.menuUrl==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach((function(a){a.menuUrl==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach((function(a){a.menuUrl==t&&(e.onlyIconActive=!0)}))}))}))}},watch:{activeBrand:function(t,e){var a=this;a.activeBrand=t},activeGroup:function(t,e){var a=this;a.activeGroup=t}}},v=p,m=(a("e31a"),Object(d["a"])(v,n,r,!1,null,"26752997",null));e["default"]=m.exports},ce61:function(t,e,a){},e31a:function(t,e,a){"use strict";var n=a("ce61"),r=a.n(n);r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5bf2d65e"],{"0ef2":function(t,e,a){"use strict";var n=a("50e5"),r=a.n(n);r.a},"31f3":function(t,e,a){},4900:function(t,e,a){"use strict";var n=a("bbe8"),r=a.n(n);r.a},"4eb1":function(t,e,a){"use strict";var n=a("31f3"),r=a.n(n);r.a},"503e":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"p-t-12"},[a("ul",{staticClass:"tab-left-list"},[t._l(t.tabData,(function(e,n){return[a("li",{key:n,class:["tab-left-list-cell color-303133 font-14 border-box p-l-14",e.menuUrl!=t.activeTab||e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,!1,n)}}},[a("i",{class:["p-r-10 color-303133 iconfont",e.iconUrl,(e.onlyIconActive,"")]}),t._v(t._s(e.tabName)+"\n ")]),a("ul",{key:"childitem"+n,staticClass:"child-tab-left-list"},[t._l(e.children,(function(e,r){return[a("li",{key:r,class:["tab-left-list-cell color-303133 font-14 border-box p-l-40",e.menuUrl!=t.activeTab||e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,"child",n)}}},[t._v(t._s(e.tabName))]),a("ul",{key:"thirditem"+r,staticClass:"third-tab-left-list"},[t._l(e.children,(function(e,r){return[a("li",{key:r,class:["tab-left-list-cell color-303133 font-14 border-box p-l-60",e.menuUrl!=t.activeTab||e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,"child",n)}}},[t._v(t._s(e.tabName))])]}))],2)]}))],2)]}))],2)])},r=[],i=(a("ac6a"),a("c5f6"),{name:"CommonDetailLeft",props:{appName:{type:String,default:function(){return""}},activeSelTab:{type:[String,Number],default:function(){return""}},tabListData:{type:[Array,Object],default:function(){return[]}}},data:function(){return{projectName:"",activeTab:"1",tabData:this.tabListData,collapsFlag:!0}},mounted:function(){this.activeTab=this.activeSelTab},methods:{returnBack:function(){var t=this;t.$router.push("appcenter")},selectTab:function(t,e,a){var n=this;if(e?n.tabData[a].onlyIconActive=!0:(n.tabData.forEach((function(t){t.onlyIconActive=!1})),t.hasOwnProperty("children")&&t.children.length&&(n.collapsFlag=!(n.collapsFlag&&t.hasOwnProperty("children")&&t.children.length))),t.hasOwnProperty("children")&&t.children.length)return n.tabData[a].onlyIconActive=!0,t.children[0]&&t.children[0].hasOwnProperty("children")&&t.children[0].children.length?(n.activeTab=t.children[0].children[0].menuUrl,n.$emit("setSelectTab",t.children[0].children[0]),!1):(n.activeTab=t.children[0].menuUrl,n.$emit("setSelectTab",t.children[0]),!1);n.activeTab=t.menuUrl,n.$emit("setSelectTab",t)}},watch:{tabListData:function(t,e){var a=this;a.tabData=t},activeSelTab:function(t,e){var a=this;a.activeTab=t}}}),c=i,o=(a("0ef2"),a("2877")),l=Object(o["a"])(c,n,r,!1,null,"51e072e6",null);e["a"]=l.exports},"50e5":function(t,e,a){},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("ac6a"),a("456d");var n=a("b775");function r(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var r=t[a];"string"===typeof r&&(r={url:r}),r.url="".concat(e).concat(r.url),t[a]=function(t){return Object(n["a"])(r,t)}})),t}},"96b6":function(t,e,a){"use strict";var n=a("71f6"),r={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list"};r=Object(n["a"])(r,"/hb-manage-web"),e["a"]=r},bbe8:function(t,e,a){},c3d9:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("div",{staticClass:"apps-content-left w-157",staticStyle:{"min-height":"calc(100vh - 112px)"}},[a("common-detail-left",{attrs:{"tab-list-data":t.tabListData,"active-sel-tab":t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{"brand-id":t.activeBrand,"active-group-id":t.activeGroup,"tab-type":t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])],1)},r=[],i=(a("ac6a"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box flex flex-space-between"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2),a("div",{staticClass:"my-customer-brand"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"不同商户的工作台可分别进行管理。点击后切换,可以管理不同商户下的应用",placement:"top-start"}},[a("span",{staticClass:"font-14 color-606266",staticStyle:{cursor:"pointer","padding-bottom":"2px","border-bottom":"1px dashed #2F54EB"}},[t._v("授权商户名称 ")])]),a("el-select",{staticClass:"p-l-10",attrs:{placeholder:"请选择"},on:{change:t.changeSelect},model:{value:t.activeBrand,callback:function(e){t.activeBrand=e},expression:"activeBrand"}},t._l(t.brandListData,(function(t){return a("el-option",{key:t.enterpriseId,attrs:{label:t.enterpriseName,value:t.enterpriseId}})})),1)],1)],1)}),c=[],o=a("96b6"),l=o["a"].getWxEnterprise,s={name:"NavAppPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"haoban",wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",activeBrand:"",brandListData:[]}},mounted:function(){var t=this;t.getBrandData()},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)},changeSelect:function(t){var e=this,a="";e.brandListData.forEach((function(e){e.enterpriseId==t&&(a=e.enterpriseId)})),e.$emit("selectBrandId",t,a)},getBrandData:function(){var t=this;l({wxEnterpriseId:t.wxEnterpriseId}).then((function(e){if(e.result&&e.result.length){if(t.brandListData=e.result,t.$route.query.enterpriseId)return t.activeBrand=t.$route.query.enterpriseId,t.$emit("selectBrandId",t.$route.query.enterpriseId),!1;t.activeBrand=t.brandListData[0].enterpriseId,t.$emit("selectBrandId",t.brandListData[0].enterpriseId,t.brandListData[0].enterpriseId)}})).catch((function(t){}))}},watch:{brandId:function(t,e){var a=this;a.getBrandData()}}},u=s,d=(a("4900"),a("2877")),h=Object(d["a"])(u,i,c,!1,null,"3c6cb7c4",null),b=h.exports,f=a("503e"),p={name:"Reviewed",components:{navCrumb:b,commonDetailLeft:f["a"]},data:function(){return{bgHeight:window.screen.availHeight-380+"px",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",menuName:"顾客数据维度",iconUrl:"iconjichushezhi",menuUrl:""},{tabId:"2",menuName:"顾客展示",iconUrl:"icongukeguanliicon",menuUrl:""}],activeBrand:"",activeGroup:""}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},methods:{selectBrandId:function(t,e){var a=this;a.activeBrand=t,a.activeGroup=e},changeRoute:function(t){this.$router.push(t)},setSelectTab:function(t){var e=this;e.activeTab=t.menuUrl,1==t.target?-1!=t.menuUrl.indexOf("http")?window.open(t.menuUrl):window.open("/haoban-4/#".concat(t.menuUrl)):e.$router.push(t.menuUrl)},showTab:function(t){var e=this;e.activeTab=t,e.activeSelTab=t,e.tabListData.forEach((function(e){e.menuUrl==t&&(e.onlyIconActive=!1),e.children&&e.children.forEach((function(a){a.menuUrl==t&&(e.onlyIconActive=!0),a.children&&a.children.forEach((function(a){a.menuUrl==t&&(e.onlyIconActive=!0)}))}))}))}},watch:{activeBrand:function(t,e){var a=this;a.activeBrand=t},activeGroup:function(t,e){var a=this;a.activeGroup=t}}},v=p,m=(a("4eb1"),Object(d["a"])(v,n,r,!1,null,"6873d81c",null));e["default"]=m.exports}}]);
\ No newline at end of file
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