Procházet zdrojové kódy

教务-基本信息 启用禁用提示信息优化

西昌缴费二期
zhangli před 2 roky
rodič
revize
35efcea5eb
6 změnil soubory, kde provedl 14 přidání a 14 odebrání
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/CdMajorController.cs
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassInfoController.cs
  3. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassroomInfoController.cs
  4. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdMajor/Index.js
  5. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Index.js
  6. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassroomInfo/Index.js

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/CdMajorController.cs Zobrazit soubor

@@ -121,14 +121,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult Lock(string keyValue)
{
cdMajorIBLL.Lock(keyValue);
return Success("审核成功!");
return Success("启用成功!");
}
[HttpPost]
[AjaxOnly]
public ActionResult UnLock(string keyValue)
{
cdMajorIBLL.UnLock(keyValue);
return Success("去审成功!");
return Success("停用成功!");
}
/// <summary>
/// 删除实体数据


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassInfoController.cs Zobrazit soubor

@@ -100,14 +100,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult Lock(string keyValue)
{
classInfoIBLL.Lock(keyValue);
return Success("审核成功!");
return Success("启用成功!");
}
[HttpPost]
[AjaxOnly]
public ActionResult UnLock(string keyValue)
{
classInfoIBLL.UnLock(keyValue);
return Success("去审成功!");
return Success("停用成功!");
}
/// <summary>
/// 删除实体数据


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassroomInfoController.cs Zobrazit soubor

@@ -86,14 +86,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult Lock(string keyValue)
{
classroomInfoIBLL.Lock(keyValue);
return Success("审核成功!");
return Success("启用成功!");
}
[HttpPost]
[AjaxOnly]
public ActionResult UnLock(string keyValue)
{
classroomInfoIBLL.UnLock(keyValue);
return Success("去审成功!");
return Success("停用成功!");
}
/// <summary>
/// 删除实体数据


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdMajor/Index.js Zobrazit soubor

@@ -84,7 +84,7 @@ var bootstrap = function ($, learun) {
});
}
});
//审核
//启用
$('#lr_lock').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
@@ -97,7 +97,7 @@ var bootstrap = function ($, learun) {
// learun.alert.warning("当前项目已审核无需再审!");
// return;
//}
learun.layerConfirm('是否确认审核该项!', function (res) {
learun.layerConfirm('是否确认启用该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/Lock', { keyValue: keyValue }, function () {
refreshGirdData();
@@ -106,7 +106,7 @@ var bootstrap = function ($, learun) {
});
}
});
//去审核
//停用
$('#lr_unlock').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
@@ -119,7 +119,7 @@ var bootstrap = function ($, learun) {
// learun.alert.warning("当前项目还未审核不需要去审核!");
// return;
//}
learun.layerConfirm('是否确认去审核该项!', function (res) {
learun.layerConfirm('是否确认停用该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/UnLock', { keyValue: keyValue }, function () {
refreshGirdData();


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Index.js Zobrazit soubor

@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) {
});
}
});
//审核
//启用
$('#lr_lock').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ClassId');
if (learun.checkrow(keyValue)) {
@@ -132,7 +132,7 @@ var bootstrap = function ($, learun) {
});
}
});
//去审核
//停用
$('#lr_unlock').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ClassId');
if (learun.checkrow(keyValue)) {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassroomInfo/Index.js Zobrazit soubor

@@ -82,7 +82,7 @@ var bootstrap = function ($, learun) {
});
}
});
//审核
//启用
$('#lr_lock').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ClassroomId');
if (learun.checkrow(keyValue)) {
@@ -104,7 +104,7 @@ var bootstrap = function ($, learun) {
});
}
});
//去审核
//停用
$('#lr_unlock').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ClassroomId');
if (learun.checkrow(keyValue)) {


Načítá se…
Zrušit
Uložit