Преглед изворни кода

学籍异动 退学申请功能js

新疆警官学校中职
ndbs пре 1 година
родитељ
комит
1361c23abd
2 измењених фајлова са 27 додато и 7 уклоњено
  1. +9
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/DropOutIndex.cshtml
  2. +18
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/DropOutIndex.js

+ 9
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/DropOutIndex.cshtml Прегледај датотеку

@@ -47,10 +47,10 @@
</div>

@*<div class="lr-layout-tool-item">
<div class="lr-query-btn" style="padding:0 10px;" id="listitem">
点击
</div>
</div>*@
<div class="lr-query-btn" style="padding:0 10px;" id="listitem">
点击
</div>
</div>*@
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">
@@ -61,10 +61,10 @@
<div class="lr-layout-body" style="height:50%;" id="gridtable"></div>

<div class="lr-layout-body" style="height:40%;border-top: 1px solid #ccc;margin-top:50px;" id="selgridtab"></div>
<div class="lr-form-wrap" id="form">
<div class="lr-form-wrap" style="height:30%;" id="form">
<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></div>
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">注销账号<font face="宋体">*</font></div>
@@ -83,6 +83,9 @@
<textarea id="Remark" class="form-control" style="height: 100px;"></textarea>
</div>
</div>
<div id="subbtn" style="margin:0 auto;cursor:pointer;margin-bottom:10px; position:relative; width:80px; height:28px;line-height:28px;border-radius:4px; background:#039cfd;color:#FFF;text-align:center;">
提交
</div>
</div>
</div>
</div>


+ 18
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuTransferInfo/DropOutIndex.js Прегледај датотеку

@@ -124,7 +124,8 @@ var bootstrap = function ($, learun) {
text: "classname"
});
//提交下拉框
$('#AnomalousType').lrDataItemSelect({ code: 'StuChangeType'});
$('#AnomalousType').lrDataItemSelect({ code: 'StuChangeType' });
$('#AnomalousType').lrselectSet("05");
$('#StuStatus').lrDataItemSelect({ code: 'YesOrNoInt' });
$('#F_WriteMark').lrDataItemSelect({ code: 'YesOrNoInt' });
// 刷新
@@ -149,6 +150,22 @@ var bootstrap = function ($, learun) {
});
}
});
$('#subbtn').on('click', function () {
if (!$('body').lrValidform()) {
return false;
}
var entity = $('body').lrGetFormData();
var selgridtab = $('#selgridtab').jfGridGet('rowdatas');
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuTransferInfo/SaveForm', { entity: entity, strStuEntity: JSON.stringify(selgridtab) },
function (res) {
if (res.code == 200) {
setTimeout(function () {
location.reload();
}, 100)
}
}
);
})
$('#selgridtab').jfGrid({
headData: [
//{


Loading…
Откажи
Сачувај