1 linha
818 B
JavaScript
1 linha
818 B
JavaScript
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1082],{1082:function(e,t,a){a.r(t),a.d(t,{default:function(){return c}});var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"spare-parts-box"},[t("el-menu",{attrs:{"default-active":e.activeName,mode:"horizontal"},on:{select:e.handleSelect}},[t("el-menu-item",{attrs:{index:"sparePartsStock"}},[e._v("备件库存")]),t("el-menu-item",{attrs:{index:"sparePartsRecord"}},[e._v("备件记录")])],1),t("section",[t("router-view")],1)],1)},r=[],s={name:"SpareParts",data(){return{activeName:""}},mounted(){this.activeName=this.$route.name},methods:{handleSelect(e){this.$router.push({name:e})}},watch:{$route:{handler:function(e){this.activeName=e.name}}}},u=s,i=a(1001),l=(0,i.Z)(u,n,r,!1,null,null,null),c=l.exports}}]); |