var $url="/common/userLayerView",data=utils.init({userId:utils.getQueryInt("userId"),userName:utils.getQueryString("userName"),user:null,groupName:null}),methods={apiGet:function(){var e=this;utils.loading(this,!0),$api.get($url,{params:{userId:this.userId,userName:this.userName}}).then(function(t){var u=t.data;e.user=u.user,e.groupName=u.groupName}).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()}});