Selaa lähdekoodia

宿舍分配学生添加搜索功能

临城职教中职
ndbs 2 vuotta sitten
vanhempi
commit
f6e21b6643
3 muutettua tiedostoa jossa 11 lisäystä ja 10 poistoa
  1. +7
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.cshtml
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js
  3. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/FormRoom.js

+ 7
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.cshtml Näytä tiedosto

@@ -39,13 +39,6 @@
<div class="lr-form-item-title">班级<font face="宋体">*</font></div>
<div id="ClassNo" readonly="readonly"></div>
</div>
<div class="col-xs-12 text-center">转出学校</div>
<div class="NewSchool" style="display:none;">
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title" data-title="转出学校">转出学校</div>
<input id="OutSchool" type="text" class="form-control" />
</div>
</div>
<div class="col-xs-12 text-center">学籍异动后信息</div>
<div class="NewContainer" style="display:none;">
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasicChange">
@@ -61,7 +54,13 @@
<div id="NewClassNo" class="contentDiv zhuanban"></div>
</div>
</div>

<div class="col-xs-12 text-center">转出学校</div>
<div class="NewSchool" style="display:none;">
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title" data-title="转出学校">转出学校</div>
<input id="OutSchool" type="text" class="form-control" />
</div>
</div>
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasicChange">
<div class="lr-form-item-title">备注</div>
<textarea id="StuChangeRemark" class="form-control" style="height:50px;"></textarea>


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js Näytä tiedosto

@@ -33,7 +33,7 @@ var bootstrap = function ($, learun) {
$("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title') + '<font face="宋体">*</font>');
$(".NewContainer").show();
$(".NewSchool").hide();
if (item.id === "01" || item.id === "06") { //留级,降级
if (item.id === "01" ) { //留级
$(".NewSchool").hide();
$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly');
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet());
@@ -58,7 +58,7 @@ var bootstrap = function ($, learun) {
$(".NewSchool").find('.OutSchool').attr("isvalid", "Null");
$('#OutSchool').val('');
}
else { //退学、休学、转校
else { //退学、休学、
$(".NewContainer").find('.contentDiv').removeAttr("isvalid");
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession");
$(".NewContainer").find('.contentDiv').removeAttr('readonly');


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/FormRoom.js Näytä tiedosto

@@ -52,6 +52,8 @@ var bootstrap = function ($, learun) {
text: "stuname",
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable',
param: { code: "StuInfoBasic", strWhere: strWhere },
// 是否允许搜索
allowSearch: true,
select: function (item) {
// console.log(item);
var stuid = '';


Ladataan…
Peruuta
Tallenna