|
|
@@ -84,7 +84,7 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
//审核 |
|
|
|
//启用 |
|
|
|
$('#lr_lock').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
@@ -97,7 +97,7 @@ var bootstrap = function ($, learun) { |
|
|
|
// learun.alert.warning("当前项目已审核无需再审!"); |
|
|
|
// return; |
|
|
|
//} |
|
|
|
learun.layerConfirm('是否确认审核该项!', function (res) { |
|
|
|
learun.layerConfirm('是否确认启用该项!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/Lock', { keyValue: keyValue }, function () { |
|
|
|
refreshGirdData(); |
|
|
@@ -106,7 +106,7 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
//去审核 |
|
|
|
//停用 |
|
|
|
$('#lr_unlock').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
@@ -119,7 +119,7 @@ var bootstrap = function ($, learun) { |
|
|
|
// learun.alert.warning("当前项目还未审核不需要去审核!"); |
|
|
|
// return; |
|
|
|
//} |
|
|
|
learun.layerConfirm('是否确认去审核该项!', function (res) { |
|
|
|
learun.layerConfirm('是否确认停用该项!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/CdMajor/UnLock', { keyValue: keyValue }, function () { |
|
|
|
refreshGirdData(); |
|
|
|