Selaa lähdekoodia

科研

怀来职教中心中职
hwh2023 1 vuosi sitten
vanhempi
commit
7b75fbca55
4 muutettua tiedostoa jossa 12 lisäystä ja 12 poistoa
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js
  2. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js
  3. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js
  4. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js Näytä tiedosto

@@ -76,7 +76,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID'); var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata'); selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 0) {
if (selectedRow.State != 0) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }
@@ -96,7 +96,7 @@ var bootstrap = function ($, learun) {
$('#lr_school').on('click', function () { $('#lr_school').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID'); var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }
@@ -116,7 +116,7 @@ var bootstrap = function ($, learun) {
$('#lr_check').on('click', function () { $('#lr_check').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID'); var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核"); learun.alert.warning("请等待审核");
return; return;
} }


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js Näytä tiedosto

@@ -79,7 +79,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID'); var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata'); selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核"); learun.alert.warning("请等待审核");
return; return;
} }
@@ -105,7 +105,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!"); learun.alert.warning("只能选择一条记录!");
return; return;
} }
if (selectedRow[0].State !=0) {
if (selectedRow.State !=0) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }
@@ -131,7 +131,7 @@ var bootstrap = function ($, learun) {
return; return;
} }


if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js Näytä tiedosto

@@ -79,7 +79,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID'); var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata'); selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核"); learun.alert.warning("请等待审核");
return; return;
} }
@@ -104,7 +104,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!"); learun.alert.warning("只能选择一条记录!");
return; return;
} }
if (selectedRow[0].State != 0) {
if (selectedRow.State != 0) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }
@@ -129,7 +129,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!"); learun.alert.warning("只能选择一条记录!");
return; return;
} }
if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js Näytä tiedosto

@@ -79,7 +79,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID'); var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata'); selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核"); learun.alert.warning("请等待审核");
return; return;
} }
@@ -104,7 +104,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!"); learun.alert.warning("只能选择一条记录!");
return; return;
} }
if (selectedRow[0].State != 0) {
if (selectedRow.State != 0) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }
@@ -129,7 +129,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!"); learun.alert.warning("只能选择一条记录!");
return; return;
} }
if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!"); learun.alert.warning("数据异常!");
return; return;
} }


Ladataan…
Peruuta
Tallenna