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