Przeglądaj źródła

去掉课程信息管理必填项

临城职教中职
ndbs 2 lat temu
rodzic
commit
608b21a0ad
2 zmienionych plików z 13 dodań i 11 usunięć
  1. +9
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml
  2. +4
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js

+ 9
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml Wyświetl plik

@@ -29,23 +29,23 @@
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">课程简称</div>
<input id="EnName" type="text" class="form-control" />
<input id="EnName" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">学分<font face="宋体">*</font></div>
<input id="StudyScore" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
<div class="lr-form-item-title">学分</div>
<input id="StudyScore" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">周理论学时<font face="宋体">*</font></div>
<input id="WeekStudyHour" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
<div class="lr-form-item-title">周理论学时</div>
<input id="WeekStudyHour" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">周实验学时<font face="宋体">*</font></div>
<input id="WeekPracticeHour" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
<div class="lr-form-item-title">周实验学时</div>
<input id="WeekPracticeHour" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">每周课时<font face="宋体">*</font></div>
<input id="TotalStudyHour" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
<div class="lr-form-item-title">每周课时</div>
<input id="TotalStudyHour" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">是否先修</div>


+ 4
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js Wyświetl plik

@@ -44,8 +44,10 @@ var bootstrap = function ($, learun) {
$("#TeachMajorNo").removeAttr("isvalid");
$("#TeachMajorNo").removeAttr("NotNull");
} else {
$("#TeachMajorNo").attr("isvalid", "yes");
$("#TeachMajorNo").attr("checkexpession", "NotNull");
$("#TeachMajorNo").removeAttr("isvalid");
$("#TeachMajorNo").removeAttr("NotNull");
//$("#TeachMajorNo").attr("isvalid", "yes");
//$("#TeachMajorNo").attr("checkexpession", "NotNull");
}
}
}


Ładowanie…
Anuluj
Zapisz