Переглянути джерело

【修改】毕业证发放:归档功能优化;

黑龙江艺术高中职
dyy 2 місяці тому
джерело
коміт
b3f026bba0
3 змінених файлів з 5 додано та 4 видалено
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.js
  2. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateEntity.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Graduate.js Переглянути файл

@@ -39,7 +39,7 @@ var bootstrap = function ($, learun) {
}); });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); $('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#FinishSchoolMark').lrselect({ $('#FinishSchoolMark').lrselect({
data: [{ text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
data: [{ text: "已毕业", value: "2" },{ text: "准许毕业", value: "1" }, { text: "待准许", value: "0" }],
text: "text", text: "text",
value: "value" value: "value"
}) })
@@ -62,7 +62,7 @@ var bootstrap = function ($, learun) {
$('#lr_store').on('click', function () { $('#lr_store').on('click', function () {
learun.layerConfirm('1.毕业生归档必须在6-8月份进行; <br> 2.归档后的学生信息如:操行、奖惩、成绩、毕业证书等只有通过毕业生信息管理才能查询或打印;<br> 3.毕业学生的账户将自动取消;<br> 4.学生所占的床位也将自动退掉;<br> 5.学生所在的班级置为已毕业班级;<br> 6.归档操作后不可撤消,请谨慎操作!', function (res) { learun.layerConfirm('1.毕业生归档必须在6-8月份进行; <br> 2.归档后的学生信息如:操行、奖惩、成绩、毕业证书等只有通过毕业生信息管理才能查询或打印;<br> 3.毕业学生的账户将自动取消;<br> 4.学生所占的床位也将自动退掉;<br> 5.学生所在的班级置为已毕业班级;<br> 6.归档操作后不可撤消,请谨慎操作!', function (res) {
if (res) { if (res) {
learun.httpAsync('post', top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/StuStore', { keyValue: keyValue }, function () {
learun.httpAsync('post', top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/StuStore', {}, function () {
refreshGirdData(); refreshGirdData();
}); });
} }


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs Переглянути файл

@@ -787,7 +787,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
var PropertyInfoGraduate = typegraduate.GetProperties(); var PropertyInfoGraduate = typegraduate.GetProperties();
foreach (var itemStuInfo in PropertyInfoStuInfo) foreach (var itemStuInfo in PropertyInfoStuInfo)
{ {
var objStuInfoType = itemStuInfo.GetValue(StuInfoType);
var objStuInfoType = itemStuInfo.GetValue(item);
foreach (var itemGraduate in PropertyInfoGraduate) foreach (var itemGraduate in PropertyInfoGraduate)
{ {
if (itemGraduate.Name == itemStuInfo.Name) if (itemGraduate.Name == itemStuInfo.Name)
@@ -816,6 +816,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
db.Delete(item); db.Delete(item);
db.Insert(GraduateEntity); db.Insert(GraduateEntity);
} }
db.Commit();
} }
catch (Exception ex) catch (Exception ex)
{ {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoGraduate/StuInfoGraduateEntity.cs Переглянути файл

@@ -808,7 +808,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary> /// </summary>
[Column("CROWNING")] [Column("CROWNING")]
public string Crowning { get; set; } public string Crowning { get; set; }
#endregion
#endregion


#region 扩展操作 #region 扩展操作
/// <summary> /// <summary>


Завантаження…
Відмінити
Зберегти