Bläddra i källkod

教学调度修改多选

黑龙江艺术高中职
dao 5 månader sedan
förälder
incheckning
01561bba68
1 ändrade filer med 11 tillägg och 5 borttagningar
  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 Visa fil

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


Laddar…
Avbryt
Spara