"use strict";(self["webpackChunkfibocom"]=self["webpackChunkfibocom"]||[]).push([[5446],{25446:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"main-content advancedSet"},[i("el-card",{staticClass:"box-card"},[i("el-tabs",{staticClass:"tabs",on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[e._l(e.advanced,(function(t){return[t.show?[i("el-tab-pane",{key:t.index,attrs:{label:e.$t(t.title),name:t.index}},[t.children?[i("el-tabs",{staticClass:"sub-tabs",on:{"tab-click":e.secondClick},model:{value:e.subActiveName,callback:function(t){e.subActiveName=t},expression:"subActiveName"}},[e._l(t.children,(function(t){return[t.show?[i("el-tab-pane",{key:t.index,attrs:{label:e.$t(t.title),name:t.index,"default-active":e.subActiveName}})]:e._e()]}))],2)]:e._e()],2)]:e._e()]}))],2)],1),i("div",[i("router-view")],1)],1)},s=[],n=(i(82772),i(5212),i(41539),i(68309),i(89554),i(54747),i(73051));const c={data:function(){return{acitiveIndex:"",activeName:"",subActiveName:""}},mounted:function(){},watch:{$route:{handler:function(e,t){this.subActiveName=sessionStorage.getItem("subActiveName")},deep:!0}},created:function(){this.$store.dispatch("GetDeviceInfo"),this.advanced=n._F||{};var e="";if(e=""===this.$store.state.DeviceName?sessionStorage.getItem("DeviceName"):this.$store.state.DeviceName,e){var t="FG131",i=-1!==e.indexOf(t);this.advanced[0].children[2].show=!!i}this.activeName=sessionStorage.getItem("activeName"),this.subActiveName=sessionStorage.getItem("subActiveName"),this.activeName||this.getTabPosition()},beforeDestroy:function(){sessionStorage.removeItem("activeName"),sessionStorage.removeItem("subActiveName")},methods:{getTabPosition:function(){var e=this;this.advanced.some((function(t){if(1==t.show)return e.activeName=t.index,e.$router.push(t.index),t.children&&t.children.some((function(t){if(1==t.show)return e.subActiveName=t.index,e.$router.push(t.index),!0})),!0}))},handleClick:function(e){var t=this;this.$router.push(e.name),sessionStorage.setItem("activeName",e.name),this.advanced.forEach((function(e){e.index==t.activeName&&e.children&&e.children.some((function(e){if(1==e.show)return t.subActiveName=e.index,sessionStorage.setItem("subActiveName",e.index),t.$router.push(e.index),!0}))}))},secondClick:function(e){this.$router.push(e.name),sessionStorage.setItem("subActiveName",e.name)}}},o=c;var r=i(1001),u=(0,r.Z)(o,a,s,!1,null,"77e2b2b9",null);const m=u.exports}}]);