var $url="/cms/contents/contentsLayerArrange",data=utils.init({page:utils.getQueryInt("page"),form:{siteId:utils.getQueryInt("siteId"),channelId:utils.getQueryInt("channelId"),attributeName:"Id",isDesc:!0}}),methods={apiSubmit:function(){var t=this;utils.loading(this,!0),$api.post($url,this.form).then(function(i){i.data;utils.success("整理排序成功!"),parent.$vue.apiList(t.form.channelId,t.page),utils.closeLayer()}).catch(function(t){utils.error(t)}).then(function(){utils.loading(t,!1)})},btnSubmitClick:function(){var t=this;this.$refs.form.validate(function(i){i&&t.apiSubmit()})},btnCancelClick:function(){utils.closeLayer()}},$vue=new Vue({el:"#main",data:data,methods:methods,created:function(){utils.loading(this,!1)}});