|
|
@@ -234,7 +234,8 @@ var bootstrap = function ($, learun) { |
|
|
|
value: "classno", |
|
|
|
text: "classname" |
|
|
|
}); |
|
|
|
$('#AnomalousType').lrDataItemSelect({ code: 'StuChangeType'}); |
|
|
|
$('#AnomalousType').lrDataItemSelect({ code: 'StuChangeType' }); |
|
|
|
$('#AnomalousType').lrselectSet("01"); |
|
|
|
$('#StuStatus').lrDataItemSelect({ code: 'YesOrNoInt' }); |
|
|
|
|
|
|
|
// 刷新 |
|
|
@@ -412,7 +413,18 @@ var bootstrap = function ($, learun) { |
|
|
|
mainId: 'AAIId', |
|
|
|
}); |
|
|
|
$('#subbtn').on('click', function () { |
|
|
|
console.log('123') |
|
|
|
//if (!$('body').lrValidform()) { |
|
|
|
// return false; |
|
|
|
//} |
|
|
|
var entity = $('body').lrGetFormData(); |
|
|
|
var strStuEntity = $('#selgridtab').jfGridGet('rowdatas'); |
|
|
|
|
|
|
|
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm?entity=' + entity, strStuEntity, function (res) { |
|
|
|
// 保存成功后才回调 |
|
|
|
if (!!callBack) { |
|
|
|
callBack(); |
|
|
|
} |
|
|
|
}); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 初始化列表 |
|
|
@@ -807,7 +819,7 @@ var bootstrap = function ($, learun) { |
|
|
|
isPage: true, |
|
|
|
rows: 100, |
|
|
|
isMultiselect: true, |
|
|
|
onSelectRow: function (rowdata,type) { |
|
|
|
onSelectRow: function (rowdata, type) { |
|
|
|
console.log(rowdata) |
|
|
|
console.log(type) |
|
|
|
|
|
|
@@ -831,7 +843,7 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#selgridtab').jfGridSet('refreshdata', tempdatra); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|