From 35efcea5eb66959f350b3949fe6a1b80b55dd921 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Mon, 23 May 2022 17:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=8A=A1-=E5=9F=BA=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=20=20=E5=90=AF=E7=94=A8=E7=A6=81=E7=94=A8=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/CdMajorController.cs | 4 ++-- .../Controllers/ClassInfoController.cs | 4 ++-- .../Controllers/ClassroomInfoController.cs | 4 ++-- .../EducationalAdministration/Views/CdMajor/Index.js | 8 ++++---- .../EducationalAdministration/Views/ClassInfo/Index.js | 4 ++-- .../Views/ClassroomInfo/Index.js | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/CdMajorController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/CdMajorController.cs index f18eff3af..1a7efc597 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/CdMajorController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/CdMajorController.cs @@ -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("停用成功!"); } /// /// 删除实体数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassInfoController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassInfoController.cs index 78a9cde53..9f26f14fb 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassInfoController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassInfoController.cs @@ -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("停用成功!"); } /// /// 删除实体数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassroomInfoController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassroomInfoController.cs index 3ee6c35f8..77406a053 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassroomInfoController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ClassroomInfoController.cs @@ -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("停用成功!"); } /// /// 删除实体数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdMajor/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdMajor/Index.js index 8743eebc5..dd0eee6f3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdMajor/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/CdMajor/Index.js @@ -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(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Index.js index 3bac36860..93c23bcf9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Index.js @@ -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)) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassroomInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassroomInfo/Index.js index fa66414dd..652459ef8 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassroomInfo/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassroomInfo/Index.js @@ -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)) {