/// /// 专辑 [Pub_Album] Ajax提交类 /// var AlbumAjax = new Object(); /// /// 专辑 [Pub_Album] 获取记录信息 /// AlbumAjax.GetInfo = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AlbumAjax.Get", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 专辑 [Pub_Album] 添加记录 /// AlbumAjax.Insert = function (form, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AlbumAjax.Insert", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 专辑 [Pub_Album] 修改记录 /// AlbumAjax.Update = function (form, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AlbumAjax.Update", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 专辑 [Pub_Album] 删除记录 /// AlbumAjax.Delete = function(key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AlbumAjax.Delete", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 专辑 [Pub_Album] 批量删除记录 /// AlbumAjax.BatchDelete = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AlbumAjax.BatchDelete", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /******************************************* * 以下为自定义方法 *******************************************/ /// /// 专辑 [Pub_Album] 批量审核通过 /// AlbumAjax.BatchExamine = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AlbumAjax.BatchExamine", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); }; /// /// 专辑 [Pub_Album] 批量审核不通过 /// AlbumAjax.BatchExamineUn = function (key, send, fun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.AlbumAjax.BatchExamineUn", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun }, send, target, html); };