Sfoglia il codice sorgente

【修改】文体-民体活动管理:删除后刷新页面;新增页面加必填验证;

新疆警官学校中职
dyy 2 anni fa
parent
commit
196fe36b96
2 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PeopleSportsActivities/Form.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PeopleSportsActivities/Index.js

+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PeopleSportsActivities/Form.cshtml Vedi File

@@ -4,12 +4,12 @@
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">赛事</div>
<input id="ContestItem" type="text" class="form-control" />
<div class="lr-form-item-title">赛事<font face="宋体">*</font></div>
<input id="ContestItem" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">内容</div>
<input id="Contents" type="text" class="form-control" />
<div class="lr-form-item-title">内容<font face="宋体">*</font></div>
<input id="Contents" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">单位</div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PeopleSportsActivities/Index.js Vedi File

@@ -59,6 +59,7 @@ var bootstrap = function ($, learun) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/PeopleSportsActivities/DeleteForm', { keyValue: keyValue}, function () {
refreshGirdData();
});
}
});


Caricamento…
Annulla
Salva