/// /// 教学事件 [Pub_ApplicationInstructor] Ajax提交类 /// var ApplicationInstructorAjax = new Object(); /// /// 教学事件 [Pub_ApplicationInstructor] 获取记录信息 /// ApplicationInstructorAjax.GetInfo = function (key, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.ApplicationInstructorAjax.Get", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError:errorFun }, send, target, html); }; /// /// 教学事件 [Pub_ApplicationInstructor] 添加记录 /// ApplicationInstructorAjax.Insert = function (form, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.ApplicationInstructorAjax.Insert", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError:errorFun }, send, target, html); }; /// /// 教学事件 [Pub_ApplicationInstructor] 修改记录 /// ApplicationInstructorAjax.Update = function (form, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.ApplicationInstructorAjax.Update", ajaxData: Global.GetFormValue(form), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError:errorFun }, send, target, html); }; /// /// 教学事件 [Pub_ApplicationInstructor] 删除记录 /// ApplicationInstructorAjax.Delete = function(key, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.ApplicationInstructorAjax.Delete", ajaxData: "key=" + encodeURIComponent(key), ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError:errorFun }, send, target, html); }; /// /// 教学事件 [Pub_ApplicationInstructor] 批量删除记录 /// ApplicationInstructorAjax.BatchDelete = function (key, send, fun, errorFun, target, html) { return Global.Ajax( { ajaxCache: false, ajaxUrl: "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.Pub.ApplicationInstructorAjax.BatchDelete", ajaxData: key, ajaxAsync: true, ajaxFunSuccess: fun, ajaxFunError:errorFun }, send, target, html); }; /******************************************* * 以下为自定义方法 *******************************************/