"use strict";(self["webpackChunkvoghion_vue_admin"]=self["webpackChunkvoghion_vue_admin"]||[]).push([[56545],{56545:function(a,t,s){s.r(t),s.d(t,{default:function(){return h}});s(44114);var d=function(){var a=this,t=a._self._c;return t("div",{staticClass:"dashboard-page"},a._l(a.dashboardList,(function(s){return t("el-card",{key:s.domain,staticClass:"dashboard",attrs:{header:s.domain}},[t("ul",{staticClass:"dashboardList"},a._l(s.dashboards,(function(s){return t("li",{key:s.dashboardId,on:{click:function(t){return a.$router.push(`/statistics/dashboard/${s.dashboardId}?index=${a.$route.meta.dashboardIndex}`)}}},[a._v(" "+a._s(s.dashboardName)+" ")])})),0)])})),1)},r=[],o=s(32388),e={data(){return{loading:!1,dashboardList:[]}},mounted(){this.fetchDataSource()},methods:{async fetchDataSource(){const a=await(0,o.tO)();if(!a||!a.dashboardList)return;const t=this.$route.meta.dashboardIndex,s=a.dashboardList[t];s&&(this.dashboardList=[s])}}},n=e,i=s(81656),u=(0,i.A)(n,d,r,!1,null,"1d8937f3",null),h=u.exports}}]);