diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/FormCheck.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/FormCheck.cshtml
index 04d86ecac..31a8e4906 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/FormCheck.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/FormCheck.cshtml
@@ -36,8 +36,8 @@
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/SafetyCheck/FormLeader.js")
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/Index.js
index 65b19fda1..e93f64fdc 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SafetyCheck/Index.js
@@ -161,6 +161,15 @@ var bootstrap = function ($, learun) {
// 部门审查
$('#lr_department').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
+ var Status = $('#gridtable').jfGridValue('Status');
+ if (Status != 1) {
+ learun.alert.warning("当前项目操作项不允许!");
+ return;
+ }
+ if (Status == 2) {
+ learun.alert.warning("当前项目操作项不允许!");
+ return;
+ }
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'formformcheck',
@@ -181,6 +190,10 @@ var bootstrap = function ($, learun) {
learun.alert.warning("当前项目操作项不允许!");
return;
}
+ if (Status == 3) {
+ learun.alert.warning("当前项目操作项不允许!");
+ return;
+ }
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
learun.layerForm({