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