소스 검색

迎新功能--意向标注----填报本校判断出错

临城职教中职
ndbs 2 년 전
부모
커밋
5a589c4de6
2개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. +5
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuVolunteer/IndexLabel.js
  2. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuVolunteer/StuVolunteerService.cs

+ 5
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuVolunteer/IndexLabel.js 파일 보기

@@ -82,7 +82,11 @@ var bootstrap = function ($, learun) {
return;
}
var IsOurSchool = $('#gridtable').jfGridValue('IsOurSchool');
if (IsOurSchool == false) {

if (IsOurSchool == 'true') {
learun.alert.warning("当前项无需填报!");
return;
} else {
learun.layerForm({
id: 'form',
title: '填报学校',
@@ -93,9 +97,6 @@ var bootstrap = function ($, learun) {
return top[id].acceptClick(refreshGirdData);
}
});
} else {
learun.alert.warning("当前项无需填报!");
return;
}
}
});


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuVolunteer/StuVolunteerService.cs 파일 보기

@@ -250,6 +250,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
else
{
entity.Create();
entity.IsOurSchool = false;
entity.IsIntention = false;
this.BaseRepository("CollegeMIS").Insert(entity);
}
}


불러오는 중...
취소
저장