@@ -121,14 +121,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||||
public ActionResult Lock(string keyValue) | public ActionResult Lock(string keyValue) | ||||
{ | { | ||||
cdMajorIBLL.Lock(keyValue); | cdMajorIBLL.Lock(keyValue); | ||||
return Success("审核成功!"); | |||||
return Success("启用成功!"); | |||||
} | } | ||||
[HttpPost] | [HttpPost] | ||||
[AjaxOnly] | [AjaxOnly] | ||||
public ActionResult UnLock(string keyValue) | public ActionResult UnLock(string keyValue) | ||||
{ | { | ||||
cdMajorIBLL.UnLock(keyValue); | cdMajorIBLL.UnLock(keyValue); | ||||
return Success("去审成功!"); | |||||
return Success("停用成功!"); | |||||
} | } | ||||
/// <summary> | /// <summary> | ||||
/// 删除实体数据 | /// 删除实体数据 | ||||
@@ -100,14 +100,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||||
public ActionResult Lock(string keyValue) | public ActionResult Lock(string keyValue) | ||||
{ | { | ||||
classInfoIBLL.Lock(keyValue); | classInfoIBLL.Lock(keyValue); | ||||
return Success("审核成功!"); | |||||
return Success("启用成功!"); | |||||
} | } | ||||
[HttpPost] | [HttpPost] | ||||
[AjaxOnly] | [AjaxOnly] | ||||
public ActionResult UnLock(string keyValue) | public ActionResult UnLock(string keyValue) | ||||
{ | { | ||||
classInfoIBLL.UnLock(keyValue); | classInfoIBLL.UnLock(keyValue); | ||||
return Success("去审成功!"); | |||||
return Success("停用成功!"); | |||||
} | } | ||||
/// <summary> | /// <summary> | ||||
/// 删除实体数据 | /// 删除实体数据 | ||||
@@ -86,14 +86,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||||
public ActionResult Lock(string keyValue) | public ActionResult Lock(string keyValue) | ||||
{ | { | ||||
classroomInfoIBLL.Lock(keyValue); | classroomInfoIBLL.Lock(keyValue); | ||||
return Success("审核成功!"); | |||||
return Success("启用成功!"); | |||||
} | } | ||||
[HttpPost] | [HttpPost] | ||||
[AjaxOnly] | [AjaxOnly] | ||||
public ActionResult UnLock(string keyValue) | public ActionResult UnLock(string keyValue) | ||||
{ | { | ||||
classroomInfoIBLL.UnLock(keyValue); | classroomInfoIBLL.UnLock(keyValue); | ||||
return Success("去审成功!"); | |||||
return Success("停用成功!"); | |||||
} | } | ||||
/// <summary> | /// <summary> | ||||
/// 删除实体数据 | /// 删除实体数据 | ||||
@@ -84,7 +84,7 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}); | }); | ||||
//审核 | |||||
//启用 | |||||
$('#lr_lock').on('click', function () { | $('#lr_lock').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ID'); | var keyValue = $('#gridtable').jfGridValue('ID'); | ||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
@@ -97,7 +97,7 @@ var bootstrap = function ($, learun) { | |||||
// learun.alert.warning("当前项目已审核无需再审!"); | // learun.alert.warning("当前项目已审核无需再审!"); | ||||
// return; | // return; | ||||
//} | //} | ||||
learun.layerConfirm('是否确认审核该项!', function (res) { | |||||
learun.layerConfirm('是否确认启用该项!', function (res) { | |||||
if (res) { | if (res) { | ||||
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/Lock', { keyValue: keyValue }, function () { | learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/Lock', { keyValue: keyValue }, function () { | ||||
refreshGirdData(); | refreshGirdData(); | ||||
@@ -106,7 +106,7 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}); | }); | ||||
//去审核 | |||||
//停用 | |||||
$('#lr_unlock').on('click', function () { | $('#lr_unlock').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ID'); | var keyValue = $('#gridtable').jfGridValue('ID'); | ||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
@@ -119,7 +119,7 @@ var bootstrap = function ($, learun) { | |||||
// learun.alert.warning("当前项目还未审核不需要去审核!"); | // learun.alert.warning("当前项目还未审核不需要去审核!"); | ||||
// return; | // return; | ||||
//} | //} | ||||
learun.layerConfirm('是否确认去审核该项!', function (res) { | |||||
learun.layerConfirm('是否确认停用该项!', function (res) { | |||||
if (res) { | if (res) { | ||||
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/UnLock', { keyValue: keyValue }, function () { | learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/UnLock', { keyValue: keyValue }, function () { | ||||
refreshGirdData(); | refreshGirdData(); | ||||
@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}); | }); | ||||
//审核 | |||||
//启用 | |||||
$('#lr_lock').on('click', function () { | $('#lr_lock').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ClassId'); | var keyValue = $('#gridtable').jfGridValue('ClassId'); | ||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
@@ -132,7 +132,7 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}); | }); | ||||
//去审核 | |||||
//停用 | |||||
$('#lr_unlock').on('click', function () { | $('#lr_unlock').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ClassId'); | var keyValue = $('#gridtable').jfGridValue('ClassId'); | ||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
@@ -82,7 +82,7 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}); | }); | ||||
//审核 | |||||
//启用 | |||||
$('#lr_lock').on('click', function () { | $('#lr_lock').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ClassroomId'); | var keyValue = $('#gridtable').jfGridValue('ClassroomId'); | ||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
@@ -104,7 +104,7 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
} | } | ||||
}); | }); | ||||
//去审核 | |||||
//停用 | |||||
$('#lr_unlock').on('click', function () { | $('#lr_unlock').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ClassroomId'); | var keyValue = $('#gridtable').jfGridValue('ClassroomId'); | ||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||