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