@@ -56,7 +56,7 @@
-
+
提交
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/ReturnIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/ReturnIndex.js
index 23f0381a2..1fcbf289a 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/ReturnIndex.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/ReturnIndex.js
@@ -14,7 +14,26 @@ var bootstrap = function ($, learun) {
page.search(queryJson);
}, 280, 400);
$('#SubmitBtn').on('click', function () {
- console.log('123465')
+ if (!$('body').lrValidform()) {
+ return false;
+ }
+ var entity = $('body').lrGetFormData();
+ entity.AnomalousType = entity.NewAnomalousType;
+ var selgridtab = $('#selgridtab').jfGridGet('rowdatas');
+ $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) },
+ function (res) {
+ console.log(res)
+ if (res.code == 200) {
+ setTimeout(function () {
+ location.reload();
+ }, 100)
+ }
+ // 保存成功后才回调
+ //if (!!callBack) {
+ // callBack(res);
+ //}
+ }
+ );
})
$('#DeptNo').lrselect({
allowSearch: true,
@@ -128,6 +147,7 @@ var bootstrap = function ($, learun) {
});
//提交下拉框
+ $('#AnomalousType').lrDataItemSelect({ code: 'StuChangeType' });
$('#NewDeptNo').lrselect({
allowSearch: true,
value: "deptno",
@@ -238,9 +258,10 @@ var bootstrap = function ($, learun) {
value: "classno",
text: "classname"
});
- $('#AnomalousType').lrDataItemSelect({ code: 'StuChangeType'});
$('#RecoverWriteMark').lrDataItemSelect({ code: 'YesOrNoInt' });
$('#RecoverStuStatus').lrDataItemSelect({ code: 'YesOrNoInt' });
+ $('#NewAnomalousType').lrDataItemSelect({ code: 'StuChangeType' });
+ $('#NewAnomalousType').lrselectSet("03");
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
@@ -428,8 +449,8 @@ var bootstrap = function ($, learun) {
// return cellvalue == "1" ? "
已审核" : "
未审核";
// }
//},
- { label: "学生编号", name: "StuNo", width: 100, align: "left", ishide: true, },
- { label: "学籍号", name: "StuCode", width: 100, align: "left", ishide: true, },
+ { label: "学生编号", name: "StuNo", width: 100, align: "left" },
+ { label: "学籍号", name: "StuCode", width: 100, align: "left" },
{ label: "学号", name: "ProvinceCode", width: 100, align: "left" },
{ label: "姓名", name: "StuName", width: 100, align: "left" },
{
@@ -839,7 +860,7 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
- param.SqlParameter = ' and (AnomalousType =03 or AnomalousType=02 or AnomalousType=06 ) and IsReturnSchool=0 ';
+ param.SqlParameter = ' and AnomalousType=06 and IsReturnSchool=0 ';
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};