Commit 8e06d80d by 无尘

fix: 设置应用菜单数据

parent b7386cc2
.nav-wrap[data-v-5ef3b5d2]{height:48px;line-height:48px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.nav-wrap .el-breadcrumb[data-v-5ef3b5d2]{line-height:48px}.el-breadcrumb__inner.is-link[data-v-5ef3b5d2]:hover,.el-breadcrumb__inner a[data-v-5ef3b5d2]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-5ef3b5d2],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-5ef3b5d2]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-5ef3b5d2],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-5ef3b5d2]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.tab-left-list .tab-left-list-cell[data-v-3b2caaed]{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-3b2caaed]{color:#2f54eb}.tab-left-list .tab-left-list-cell[data-v-3b2caaed]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell:hover i[data-v-3b2caaed]{color:#2f54eb}.tab-left-list .tab-left-list-cell.active-tab[data-v-3b2caaed]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell.active-tab i[data-v-3b2caaed]{color:#2f54eb}.tab-left-list .child-tab-left-list[data-v-3b2caaed]{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.tab-left-list .child-tab-left-list li[data-v-3b2caaed]{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-3b2caaed]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li:hover i[data-v-3b2caaed]{color:#2f54eb}.tab-left-list .child-tab-left-list li.active-tab[data-v-3b2caaed]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li.active-tab i[data-v-3b2caaed]{color:#2f54eb}.line-h-18[data-v-398c669f]{line-height:18px}.my-customer-wrap[data-v-398c669f]{height:100%}.my-customer-wrap .move-row-cell .icontuozhuaiopen[data-v-398c669f]{display:none}.my-customer-wrap .move-row-cell.show-icon .icontuozhuaiopen[data-v-398c669f],.my-customer-wrap .move-row-cell:hover .icontuozhuaiopen[data-v-398c669f]{display:inline-block;vertical-align:middle}.right-content[data-v-398c669f]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-398c669f]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-left[data-v-398c669f]{min-width:205px;height:100%;background:#fff;overflow-x:hidden;overflow-y:auto}.right-content .right-box .apps-content .apps-content-right[data-v-398c669f]{width:calc(100% - 205px);padding-left:10px;background:#f0f2f5}.right-content .right-box .apps-content .apps-content-right .common-app-right[data-v-398c669f]{height:100%;padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-app-right.no-padding[data-v-398c669f]{padding:0}.right-content .right-box .apps-content .apps-content-right .common-app-right .font-22[data-v-398c669f]{font-size:22px}
\ No newline at end of file
.nav-wrap[data-v-5ef3b5d2]{height:48px;line-height:48px;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.nav-wrap .el-breadcrumb[data-v-5ef3b5d2]{line-height:48px}.el-breadcrumb__inner.is-link[data-v-5ef3b5d2]:hover,.el-breadcrumb__inner a[data-v-5ef3b5d2]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-5ef3b5d2],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-5ef3b5d2]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-5ef3b5d2],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-5ef3b5d2]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.tab-left-list .tab-left-list-cell[data-v-7fec1c27]{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-7fec1c27]{color:#2f54eb}.tab-left-list .tab-left-list-cell[data-v-7fec1c27]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell:hover i[data-v-7fec1c27]{color:#2f54eb}.tab-left-list .tab-left-list-cell.active-tab[data-v-7fec1c27]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .tab-left-list-cell.active-tab i[data-v-7fec1c27]{color:#2f54eb}.tab-left-list .child-tab-left-list[data-v-7fec1c27]{-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.tab-left-list .child-tab-left-list li[data-v-7fec1c27]{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-7fec1c27]:hover{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li:hover i[data-v-7fec1c27]{color:#2f54eb}.tab-left-list .child-tab-left-list li.active-tab[data-v-7fec1c27]{color:#2f54eb;background:rgba(47,84,235,.05)}.tab-left-list .child-tab-left-list li.active-tab i[data-v-7fec1c27]{color:#2f54eb}.line-h-18[data-v-a392d8fe]{line-height:18px}.my-customer-wrap[data-v-a392d8fe]{height:100%}.my-customer-wrap .move-row-cell .icontuozhuaiopen[data-v-a392d8fe]{display:none}.my-customer-wrap .move-row-cell.show-icon .icontuozhuaiopen[data-v-a392d8fe],.my-customer-wrap .move-row-cell:hover .icontuozhuaiopen[data-v-a392d8fe]{display:inline-block;vertical-align:middle}.right-content[data-v-a392d8fe]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-a392d8fe]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-left[data-v-a392d8fe]{min-width:205px;height:100%;background:#fff;overflow-x:hidden;overflow-y:auto}.right-content .right-box .apps-content .apps-content-right[data-v-a392d8fe]{width:calc(100% - 205px);padding-left:10px;background:#f0f2f5}.right-content .right-box .apps-content .apps-content-right .common-app-right[data-v-a392d8fe]{height:100%;padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-app-right.no-padding[data-v-a392d8fe]{padding:0}.right-content .right-box .apps-content .apps-content-right .common-app-right .font-22[data-v-a392d8fe]{font-size:22px}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-08aad958"],{"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&&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||e.menuName)+"\n ")]),a("ul",{key:"childitem"+n,staticClass:"child-tab-left-list"},[t._l(e.children,(function(e,i){return[a("li",{key:i,class:["tab-left-list-cell color-303133 font-14 border-box p-l-40",e.menuUrl!=t.activeTab||e.children&&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"+i,staticClass:"third-tab-left-list"},[t._l(e.children,(function(e,i){return[a("li",{key:i,class:["tab-left-list-cell color-303133 font-14 border-box p-l-60",e.menuUrl!=t.activeTab||e.children&&e.children.length?"":"active-tab"],on:{click:function(a){return t.selectTab(e,"child",n)}}},[t._v(t._s(e.tabName))])]}))],2)]}))],2)]}))],2)])},i=[],r=(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=r,o=(a("f7a8"),a("2877")),l=Object(o["a"])(c,n,i,!1,null,"3b2caaed",null);e["a"]=l.exports},"52ac":function(t,e,a){},"5a68":function(t,e,a){},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));a("ac6a"),a("456d");var n=a("b775");function i(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var i=t[a];"string"===typeof i&&(i={url:i}),i.url="".concat(e).concat(i.url),t[a]=function(t){return Object(n["a"])(i,t)}})),t}},8530:function(t,e,a){"use strict";var n=a("52ac"),i=a.n(n);i.a},"89c8":function(t,e,a){"use strict";var n=a("b235"),i=a.n(n);i.a},"96b6":function(t,e,a){"use strict";var n=a("71f6"),i={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",getAuditGroupList:"/auditGroup/audit-group-list",delAuditGroup:"/auditGroup/del-audit-group",auditGroupDetail:"/auditGroup/audit-group-detail",editAuditGroup:{url:"/auditGroup/edit-audit-group",method:"post",useFormData:!0},addAuditGroup:{url:"/auditGroup/add-audit-group",method:"post",useFormData:!0},getAdminList:"/auditGroup/select-manager-list",auditItemList:"/auditGroup/audit-item-list",delAuditItem:"/auditGroup/del-audit-item",addAuditItem:"/auditGroup/add-audit-item",editAuditItem:"/auditGroup/edit-audit-item",auditItemDetail:"/auditGroup/audit-item-detail",findAuditSetting:"/audit/find-audit-setting",saveAuditSetting:"/audit/save-audit-setting"};i=Object(n["a"])(i,"/hb-manage-web"),e["a"]=i},b235: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)},i=[],r=(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,u={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()}}},s=u,d=(a("8530"),a("2877")),h=Object(d["a"])(s,r,c,!1,null,"5ef3b5d2",null),p=h.exports,m=a("503e"),b={name:"Reviewed",components:{navCrumb:p,commonDetailLeft:m["a"]},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",menuName:"顾客数据维度",iconUrl:"iconjichushezhi",menuUrl:"/data-dimension",children:[]},{tabId:"2",menuName:"场景人群",iconUrl:"icongukeguanliicon",menuUrl:"/crowd-scene",children:[]},{tabId:"3",menuName:"顾客数据",iconUrl:"icongukeguanliicon",menuUrl:"/customer-data-set",children:[]},{tabId:"4",menuName:"导购标签",iconUrl:"icongukeguanliicon",menuUrl:"/clerk-tag",children:[]},{tabId:"5",menuName:"顾客分配",iconUrl:"icongukeguanliicon",menuUrl:"/customer-assign",children:[]}],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}}},f=b,v=(a("89c8"),Object(d["a"])(f,n,i,!1,null,"398c669f",null));e["default"]=v.exports},f7a8:function(t,e,a){"use strict";var n=a("5a68"),i=a.n(n);i.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a726613"],{"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||e.menuName)+"\n ")]),a("ul",{key:"childitem"+n,staticClass:"child-tab-left-list"},[t._l(e.children,(function(e,i){return[a("li",{key:i,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"+i,staticClass:"third-tab-left-list"},[t._l(e.children,(function(e,i){return[a("li",{key:i,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)])},i=[],r=(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=r,o=(a("5cfb"),a("2877")),u=Object(o["a"])(c,n,i,!1,null,"7fec1c27",null);e["a"]=u.exports},"52ac":function(t,e,a){},"5cfb":function(t,e,a){"use strict";var n=a("79ad"),i=a.n(n);i.a},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));a("ac6a"),a("456d");var n=a("b775");function i(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var i=t[a];"string"===typeof i&&(i={url:i}),i.url="".concat(e).concat(i.url),t[a]=function(t){return Object(n["a"])(i,t)}})),t}},"79ad":function(t,e,a){},8054:function(t,e,a){},8530:function(t,e,a){"use strict";var n=a("52ac"),i=a.n(n);i.a},"96b6":function(t,e,a){"use strict";var n=a("71f6"),i={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",getAuditGroupList:"/auditGroup/audit-group-list",delAuditGroup:"/auditGroup/del-audit-group",auditGroupDetail:"/auditGroup/audit-group-detail",editAuditGroup:{url:"/auditGroup/edit-audit-group",method:"post",useFormData:!0},addAuditGroup:{url:"/auditGroup/add-audit-group",method:"post",useFormData:!0},getAdminList:"/auditGroup/select-manager-list",auditItemList:"/auditGroup/audit-item-list",delAuditItem:"/auditGroup/del-audit-item",addAuditItem:"/auditGroup/add-audit-item",editAuditItem:"/auditGroup/edit-audit-item",auditItemDetail:"/auditGroup/audit-item-detail",findAuditSetting:"/audit/find-audit-setting",saveAuditSetting:"/audit/save-audit-setting"};i=Object(n["a"])(i,"/hb-manage-web"),e["a"]=i},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)},i=[],r=(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"),u=o["a"].getWxEnterprise,l={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;u({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()}}},s=l,d=(a("8530"),a("2877")),p=Object(d["a"])(s,r,c,!1,null,"5ef3b5d2",null),h=p.exports,m=a("503e"),f={name:"Reviewed",components:{navCrumb:h,commonDetailLeft:m["a"]},data:function(){return{wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"我的顾客",path:""}],tabListData:[{tabId:"1",menuName:"顾客数据维度",iconUrl:"iconjichushezhi",menuUrl:"/data-dimension"},{tabId:"2",menuName:"场景人群",iconUrl:"icongukeguanliicon",menuUrl:"/crowd-scene"},{tabId:"3",menuName:"顾客数据",iconUrl:"icongukeguanliicon",menuUrl:"/customer-data-set"},{tabId:"4",menuName:"导购标签",iconUrl:"icongukeguanliicon",menuUrl:"/clerk-tag"},{tabId:"5",menuName:"顾客分配",iconUrl:"icongukeguanliicon",menuUrl:"/customer-assign"}],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}}},b=f,v=(a("e446"),Object(d["a"])(b,n,i,!1,null,"a392d8fe",null));e["default"]=v.exports},e446:function(t,e,a){"use strict";var n=a("8054"),i=a.n(n);i.a}}]);
\ 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