"use strict";(self["webpackChunkfibocom"]=self["webpackChunkfibocom"]||[]).push([[7950],{77950:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"main-content advancedSet"},[o("el-card",{staticClass:"box-card"},[o("el-tabs",{staticClass:"tabs",on:{"tab-click":e.handleClick},model:{value:e.toolActiveName,callback:function(t){e.toolActiveName=t},expression:"toolActiveName"}},[e._l(e.toolsMenu,(function(t){return[t.show?[o("el-tab-pane",{key:t.index,attrs:{label:e.$t(t.title),name:t.index}},[t.children?[o("el-tabs",{staticClass:"sub-tabs",on:{"tab-click":e.secondClick},model:{value:e.toolSubActiveName,callback:function(t){e.toolSubActiveName=t},expression:"toolSubActiveName"}},[e._l(t.children,(function(t){return[t.show?[o("el-tab-pane",{key:t.index,attrs:{label:e.$t(t.title),name:t.index}})]:e._e()]}))],2)]:e._e()],2)]:e._e()]}))],2)],1),o("div",[o("router-view")],1)],1)},n=[],s=(o(5212),o(41539),o(68309),o(89554),o(54747),o(73051));const a={data:function(){return{activeIndex:"",toolsMenu:[],toolActiveName:"",toolSubActiveName:""}},created:function(){this.toolsMenu=s.KS||[],this.toolActiveName=sessionStorage.getItem("toolActiveName"),this.toolSubActiveName=sessionStorage.getItem("toolSubActiveName"),this.toolActiveName||this.toolSubActiveName||this.getTabPosition()},beforeDestroy:function(){sessionStorage.removeItem("toolActiveName"),sessionStorage.removeItem("toolSubActiveName")},methods:{getTabPosition:function(){var e=this;this.toolsMenu.some((function(t){if(1==t.show)return e.toolActiveName=t.index,e.$router.push(t.index),t.children&&t.children.some((function(t){if(1==t.show)return e.toolSubActiveName=t.index,e.$router.push(t.index),!0})),!0}))},handleClick:function(e){var t=this;this.$router.push(e.name),sessionStorage.setItem("toolActiveName",e.name),this.toolsMenu.forEach((function(e){e.index==t.toolActiveName&&e.children&&e.children.some((function(e){if(1==e.show)return t.toolSubActiveName=e.index,t.$router.push(e.index),!0}))}))},secondClick:function(e){this.$router.push(e.name),sessionStorage.setItem("toolSubActiveName",e.name)}}},c=a;var l=o(1001),r=(0,l.Z)(c,i,n,!1,null,"f524c0a4",null);const u=r.exports}}]);