Browse Source

教学调度修改多选

黑龙江艺术高中职
dao 5 months ago
parent
commit
01561bba68
1 changed files with 11 additions and 5 deletions
  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 View File

@@ -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();
},


Loading…
Cancel
Save