"use strict";(self["webpackChunkfibocom"]=self["webpackChunkfibocom"]||[]).push([[8226],{68226:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main-content advancedSet"},[a("el-card",{staticClass:"box-card"},[a("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?[a("el-tab-pane",{key:t.index,attrs:{label:e.$t(t.title),name:t.index}},[t.children?[a("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?[a("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),a("div",[a("router-view")],1)],1)},s=[],n=(a(82772),a(5212),a(41539),a(68309),a(89554),a(54747),a(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="FG131T",a=-1!==e.indexOf(t);this.advanced[0].children[2].show=!!a}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=a(1001),u=(0,r.Z)(o,i,s,!1,null,"cd4a38fa",null);const m=u.exports}}]);