Browse Source

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

新疆警官学校中职
dyy 2 years ago
parent
commit
196fe36b96
2 changed files with 5 additions and 4 deletions
  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 View 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 View 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();
});
}
});


Loading…
Cancel
Save