Explorar el Código

教学调度修改多选

黑龙江艺术高中职
dao hace 5 meses
padre
commit
01561bba68
Se han modificado 1 ficheros con 11 adiciones y 5 borrados
  1. +11
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Index.js

+ 11
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeLessonTermAttemper/Index.js Ver fichero

@@ -119,12 +119,17 @@ var bootstrap = function ($, learun) {
// 提交
$('#lr_submit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('Id');
selectedRow = $('#gridtable').jfGridGet('rowdata');
//selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) {
if (selectedRow.Status !== 0) {
learun.alert.warning("当前课程异动记录已提交!");
return false;
var stat = $('#gridtable').jfGridValue('Status');
if (stat.indexOf('1') != -1) {
learun.alert.warning("选中记录中包含已提交项目!");
return;
}
//if (selectedRow.Status !== 0) {
// learun.alert.warning("当前课程异动记录已提交!");
// return false;
//}
learun.layerConfirm('是否确认提交该项!', function (res) {
if (res) {
processId = learun.newGuid();
@@ -527,7 +532,8 @@ var bootstrap = function ($, learun) {
mainId: 'Id',
isPage: true,
sord: 'desc',
sidx: 'CreateTime'
sidx: 'CreateTime',
isMultiselect: true
});
page.search();
},


Cargando…
Cancelar
Guardar