|
|
@@ -90,16 +90,16 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
//去审核 |
|
|
|
//去审核/异动恢复 |
|
|
|
$('#lr_uncheck').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('Id'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
var CheckStatus = $('#gridtable').jfGridValue('CheckStatus'); |
|
|
|
if (CheckStatus != 1) { |
|
|
|
learun.alert.warning("当前项目未审核无法去审!"); |
|
|
|
learun.alert.warning("当前项目未审核无法恢复!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
learun.layerConfirm('是否确认去审核该项!', function (res) { |
|
|
|
learun.layerConfirm('是否确认恢复该项!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasicChange/UnCheckForm', { keyValue: keyValue }, function () { |
|
|
|
refreshGirdData(); |
|
|
@@ -225,7 +225,7 @@ var bootstrap = function ($, learun) { |
|
|
|
{ |
|
|
|
label: "审核状态", name: "CheckStatus", width: 100, align: "left", |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>"; |
|
|
|
return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : cellvalue == "2" ? "<span class=\"label label-warning\">已恢复</span>" : "<span class=\"label label-danger\">未审核</span>"; |
|
|
|
} |
|
|
|
}, |
|
|
|
], |
|
|
|