From 7b75fbca55216419174302b7dcd058960cd11eca Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Fri, 28 Jul 2023 16:56:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=91=E7=A0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/TeachingCompetition/Index.js | 6 +++--- .../Areas/PersonnelManagement/Views/SRPaper/Index.js | 6 +++--- .../Areas/PersonnelManagement/Views/SRProject/Index.js | 6 +++--- .../Areas/PersonnelManagement/Views/SRWork/Index.js | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js index 184323123..2d1fed0d9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js @@ -76,7 +76,7 @@ var bootstrap = function ($, learun) { var keyValue = $('#gridtable').jfGridValue('ID'); selectedRow = $('#gridtable').jfGridGet('rowdata'); if (learun.checkrow(keyValue)) { - if (selectedRow[0].State != 0) { + if (selectedRow.State != 0) { learun.alert.warning("数据异常!"); return; } @@ -96,7 +96,7 @@ var bootstrap = function ($, learun) { $('#lr_school').on('click', function () { var keyValue = $('#gridtable').jfGridValue('ID'); if (learun.checkrow(keyValue)) { - if (selectedRow[0].State != 1) { + if (selectedRow.State != 1) { learun.alert.warning("数据异常!"); return; } @@ -116,7 +116,7 @@ var bootstrap = function ($, learun) { $('#lr_check').on('click', function () { var keyValue = $('#gridtable').jfGridValue('ID'); if (learun.checkrow(keyValue)) { - if (selectedRow[0].State != 2) { + if (selectedRow.State != 2) { learun.alert.warning("请等待审核"); return; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js index cc4f350ee..61b8f5a57 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js @@ -79,7 +79,7 @@ var bootstrap = function ($, learun) { var keyValue = $('#gridtable').jfGridValue('ID'); selectedRow = $('#gridtable').jfGridGet('rowdata'); if (learun.checkrow(keyValue)) { - if (selectedRow[0].State != 2) { + if (selectedRow.State != 2) { learun.alert.warning("请等待审核"); return; } @@ -105,7 +105,7 @@ var bootstrap = function ($, learun) { learun.alert.warning("只能选择一条记录!"); return; } - if (selectedRow[0].State !=0) { + if (selectedRow.State !=0) { learun.alert.warning("数据异常!"); return; } @@ -131,7 +131,7 @@ var bootstrap = function ($, learun) { return; } - if (selectedRow[0].State != 1) { + if (selectedRow.State != 1) { learun.alert.warning("数据异常!"); return; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js index 3da47cc48..9de4b12a2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js @@ -79,7 +79,7 @@ var bootstrap = function ($, learun) { var keyValue = $('#gridtable').jfGridValue('ID'); selectedRow = $('#gridtable').jfGridGet('rowdata'); if (learun.checkrow(keyValue)) { - if (selectedRow[0].State != 2) { + if (selectedRow.State != 2) { learun.alert.warning("请等待审核"); return; } @@ -104,7 +104,7 @@ var bootstrap = function ($, learun) { learun.alert.warning("只能选择一条记录!"); return; } - if (selectedRow[0].State != 0) { + if (selectedRow.State != 0) { learun.alert.warning("数据异常!"); return; } @@ -129,7 +129,7 @@ var bootstrap = function ($, learun) { learun.alert.warning("只能选择一条记录!"); return; } - if (selectedRow[0].State != 1) { + if (selectedRow.State != 1) { learun.alert.warning("数据异常!"); return; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js index 81dee1923..0de168707 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js @@ -79,7 +79,7 @@ var bootstrap = function ($, learun) { var keyValue = $('#gridtable').jfGridValue('ID'); selectedRow = $('#gridtable').jfGridGet('rowdata'); if (learun.checkrow(keyValue)) { - if (selectedRow[0].State != 2) { + if (selectedRow.State != 2) { learun.alert.warning("请等待审核"); return; } @@ -104,7 +104,7 @@ var bootstrap = function ($, learun) { learun.alert.warning("只能选择一条记录!"); return; } - if (selectedRow[0].State != 0) { + if (selectedRow.State != 0) { learun.alert.warning("数据异常!"); return; } @@ -129,7 +129,7 @@ var bootstrap = function ($, learun) { learun.alert.warning("只能选择一条记录!"); return; } - if (selectedRow[0].State != 1) { + if (selectedRow.State != 1) { learun.alert.warning("数据异常!"); return; }