|
|
@@ -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; |
|
|
|
} |
|
|
|