(("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]=("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]||[]).push([[87],{"277b":function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,'.scrollbar[data-v-2e015422]::-webkit-scrollbar{width:0!important;display:none!important}.active[data-v-2e015422]{color:var(--portalPrimaryColor)}.active[data-v-2e015422]:before{content:"";position:absolute;width:100%;height:3px;background-color:var(--portalPrimaryColor);bottom:-7px}.sub-nav-item[data-v-2e015422]:hover{color:var(--portalPrimaryColor)}',""])},"6aa9":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:"relative h-full"},[a("div",{ref:"nav",staticClass:"flex h-full text-[#666666] font-400 text-14px w-full overflow-x-auto flex-nowrap scrollbar"},t._l(t.navList,(function(e,n){return a("div",{key:n,staticClass:"h-full text-center  flex-shrink-0 flex items-center mx-5px"},[a("span",{staticClass:"relative",class:{active:t.currentNav===e.id},attrs:{title:e.name},on:{click:function(a){return t.navbarClick(e)}}},[t._v("\n        "+t._s(e.name)+"\n      ")])])})),0)])},r=[],o=a("3835"),i=a("c7eb"),s=a("1da1"),u=(a("7db0"),a("14d9"),a("d3b7"),a("159b"),a("78a9")),c=new u["ColumApi"],l={props:{data:{type:Object,default:function(){return{}}},mode:{type:String,default:"view"}},data:function(){return{subNavbarVisible:!1,navbar:{},subNavbarChildren:[],subNavbar:{},columnData:[],currentNav:"",translateX:0,navList:[]}},computed:{columnId:function(){return this.$route.query.columnId},routerBase:function(){return window.__POWERED_BY_QIANKUN__?"/".concat(_.get(Wiz,"globalSettings.globalConfig.routerBase")):""}},watch:{data:{deep:!0,immediate:!0,handler:function(t,e){var a=this;return Object(s["a"])(Object(i["a"])().mark((function n(){return Object(i["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(_.isEqual(null===t||void 0===t?void 0:t.columnIds,null===e||void 0===e?void 0:e.columnIds)){n.next=4;break}return n.next=3,a.getNavList();case 3:a.navList=n.sent;case 4:case"end":return n.stop()}}),n)})))()}},columnId:{immediate:!0,handler:function(t){this.currentNav=t}}},methods:{getNavList:function(){var t=this;return Object(s["a"])(Object(i["a"])().mark((function e(){var a,n;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!==t.columnData.length){e.next=3;break}return e.next=3,t.getColumnData();case 3:if(null!==(a=t.data)&&void 0!==a&&a.columnIds){e.next=5;break}return e.abrupt("return",[]);case 5:return n=[],_.forEach(t.data.columnIds,(function(e){var a=_.find(t.columnData,{id:e});a&&n.push(a)})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)})))()},navbarClick:function(t){"update"!==this.mode&&(this.currentNav=t.id,this.$router.push({path:"".concat(this.routerBase,"/integration/portal/homepage"),query:{columnId:t.id}}))},getColumnData:function(){var t=this;return Object(s["a"])(Object(i["a"])().mark((function e(){var a,n,r,s;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c.tree(0,{isExistPage:!0});case 2:a=e.sent,n=Object(o["a"])(a,2),r=n[0],s=n[1],r||(t.columnData=s);case 7:case"end":return e.stop()}}),e)})))()}}},d=l,f=(a("b875"),a("2877")),v=Object(f["a"])(d,n,r,!1,null,"2e015422",null);e["default"]=v.exports},ad8b:function(t,e,a){var n=a("277b");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("499e").default;r("1f83aae1",n,!0,{sourceMap:!1,shadowMode:!1})},b875:function(t,e,a){"use strict";a("ad8b")}}]);