var $url="/settings/sitesLayerSelect",data=utils.init({sites:null,rootSiteId:null,tableNames:null,site:null}),methods={apiGet:function(){var t=this;$api.get($url).then(function(e){var i=e.data;t.sites=i.sites,t.rootSiteId=i.rootSiteId,t.tableNames=i.tableNames}).catch(function(t){utils.error(t)}).then(function(){utils.loading(t,!1)})},getMainUrl:function(t){return utils.getIndexUrl({siteId:t.id})}},$vue=new Vue({el:"#main",data:data,methods:methods,created:function(){this.apiGet()}});