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