var $url="/cms/settings/settingsCrossSiteTrans",data=utils.init({siteId:utils.getQueryInt("siteId"),pageType:null,form:null}),methods={apiGet:function(){var t=this;utils.loading(this,!0),$api.get($url,{params:{siteId:this.siteId}}).then(function(i){var s=i.data;t.form={siteId:t.siteId,isCrossSiteTransChecked:s.value.isCrossSiteTransChecked}}).catch(function(t){utils.error(t)}).then(function(){utils.loading(t,!1)})},apiSubmit:function(){var t=this;utils.loading(this,!0),$api.post($url,this.form).then(function(t){t.data;utils.success("跨站转发审核设置保存成功！")}).catch(function(t){utils.error(t)}).then(function(){utils.loading(t,!1)})},btnSubmitClick:function(){this.apiSubmit()}},$vue=new Vue({el:"#main",data:data,methods:methods,created:function(){this.apiGet()}});