Selaa lähdekoodia

去掉课程信息管理必填项

临城职教中职
ndbs 2 vuotta sitten
vanhempi
commit
608b21a0ad
2 muutettua tiedostoa jossa 13 lisäystä ja 11 poistoa
  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 Näytä tiedosto

@@ -29,23 +29,23 @@
</div> </div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo"> <div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">课程简称</div> <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>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo"> <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>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo"> <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>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo"> <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>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo"> <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>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo"> <div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">是否先修</div> <div class="lr-form-item-title">是否先修</div>


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

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


Ladataan…
Peruuta
Tallenna