var $url="/common/adminLayerView",data=utils.init({adminId:utils.getQueryInt("adminId"),userName:utils.getQueryString("userName"),administrator:null,level:null,siteNames:null,roleNames:null}),methods={apiGet:function(){var e=this;utils.loading(this,!0),$api.get($url,{params:{adminId:this.adminId,userName:this.userName}}).then(function(t){var a=t.data;e.administrator=a.administrator,e.level=a.level,e.siteNames=a.siteNames,e.roleNames=a.roleNames}).catch(function(e){utils.error(e)}).then(function(){utils.loading(e,!1)})},btnCancelClick:function(){utils.closeLayer()}},$vue=new Vue({el:"#main",data:data,methods:methods,created:function(){this.apiGet()}});