|
|
@@ -36,13 +36,13 @@ var bootstrap = function ($, learun) { |
|
|
|
initData: function () { |
|
|
|
//从教室导入 |
|
|
|
if (type == 1) { |
|
|
|
$('body').find('.SeatClass').attr('display', 'block'); |
|
|
|
$('body').find('.SeatClass').show(); |
|
|
|
$('body').find('.SeatClass input').attr('isvalid', 'yes'); |
|
|
|
$('body').find('.SeatClass input').attr('checkexpession', 'PositiveInteger'); |
|
|
|
} else if (type == 2) {//按条件清空 |
|
|
|
$('body').find('.SeatClass input').removeAttr('isvalid'); |
|
|
|
$('body').find('.SeatClass input').removeAttr('checkexpession'); |
|
|
|
$('body').find('.SeatClass').attr('display', 'none'); |
|
|
|
$('body').find('.SeatClass').hide(); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
@@ -51,14 +51,8 @@ var bootstrap = function ($, learun) { |
|
|
|
if (!$('body').lrValidform()) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
//var postData = { |
|
|
|
// AcademicYearNo: $('#AcademicYearNo').lrselectGet(), |
|
|
|
// Semester: $('#Semester').lrselectGet() |
|
|
|
//}; |
|
|
|
|
|
|
|
var postData = $('body').lrGetFormData(); |
|
|
|
console.log(postData); |
|
|
|
//TODO: |
|
|
|
return false; |
|
|
|
|
|
|
|
//从教室导入 |
|
|
|
if (type == 1) { |
|
|
|