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