Bläddra i källkod

学籍异动 转专业提交事件1

新疆警官学校中职
ndbs 1 år sedan
förälder
incheckning
b6180c203a
3 ändrade filer med 23 tillägg och 11 borttagningar
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs
  2. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.cshtml
  3. +16
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.js

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs Visa fil

@@ -64,7 +64,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
return View();
}
/// <summary>
/// 退学页
/// </summary>
@@ -181,7 +181,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
/// <param name="entity">实体</param>
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
//[ValidateAntiForgeryToken]
[AjaxOnly]
public ActionResult SaveForm(StuTransferInfoEntity entity, string strStuEntity)
{


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.cshtml Visa fil

@@ -86,14 +86,14 @@
<div class="lr-form-item-title">专业<font face="宋体">*</font></div>
<div id="NewMajorNo" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-4 lr-form-item">
<div class="lr-form-item-title">班级<font face="宋体">*</font></div>
<div id="NewClassNo" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-4 lr-form-item">
<div class="lr-form-item-title">年级<font face="宋体">*</font></div>
<div id="NewGrade" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-4 lr-form-item">
<div class="lr-form-item-title">班级<font face="宋体">*</font></div>
<div id="NewClassNo" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-4 lr-form-item">
<div class="lr-form-item-title">入班日期<font face="宋体">*</font></div>
<input id="LeaveDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd', onpicked: function() { $('#LeaveDate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
@@ -104,7 +104,7 @@
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">异动类型<font face="宋体">*</font></div>
<div id="AnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"></div>
<div id="AnomalousType" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" ></div>
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">保留学籍<font face="宋体">*</font></div>


+ 16
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/MajorIndex.js Visa fil

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

}

});


Laddar…
Avbryt
Spara