2 Commits

9 gewijzigde bestanden met toevoegingen van 50 en 5 verwijderingen
  1. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuScoreController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/AllStuScoreQueryIndex.js
  3. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/PrintScore.cshtml
  4. BIN
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/StuInfoGraduate/header2.png
  5. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  6. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemperService.cs
  7. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicBLL.cs
  8. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicIBLL.cs
  9. +19
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs

+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuScoreController.cs Bestand weergeven

@@ -295,6 +295,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
[HttpGet]
public ActionResult PrintScore()
{
ViewBag.StuNo = Request["StuNo"];
return View();
}
#endregion
@@ -1289,7 +1290,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult DataFilling(string keyValue)
{
//毕业表
var StuInfoGraduateEntity = stuInfoBasicIBLL.GetStuInfoBasicEntityByStuNo(keyValue);
var StuInfoGraduateEntity = stuInfoBasicIBLL.GetStuInfoBasicEntityByKeyword(keyValue);
if (StuInfoGraduateEntity == null)
{
return View(new StuInfoBasicEntity());


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/AllStuScoreQueryIndex.js Bestand weergeven

@@ -38,7 +38,7 @@ var bootstrap = function ($, learun) {
$('#lr_print').on('click', function () {
var StuNo = $.trim($('#StuNo').val());
if (StuNo == null || StuNo == "") {
learun.alert.warning("请输入学号!");
learun.alert.warning("请输入学号或姓名!");
return;
}
learun.layerForm({


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/PrintScore.cshtml Bestand weergeven

@@ -6,7 +6,7 @@
@Html.AppendJsFile("/Content/jquery/plugin/jqprint/jQuery.print.js")
<div class="myPage" id="printBox">
<a id="lr_print" class="btn btn-default noPrint"><i class="fa fa-print"></i>&nbsp;打印</a>
<div class="title"><img src="~/Content/images/StuInfoGraduate/header.png" /></div>
<div class="title"><img src="~/Content/images/StuInfoGraduate/header2.png" /></div>
<img class="line" src="~/Content/images/StuInfoGraduate/line.png" />
<div class="tableTop">
<div>学号:<span id="StuNo"></span></div>
@@ -42,9 +42,9 @@
$('#lr_print').click(function () {
$('#printBox').print()
})
var keyValue = request('StuNo')
//var keyValue = request('StuNo')
$.ajax({
url: top.$.rootUrl + '/EducationalAdministration/StuScore/DataFilling?keyValue=' + keyValue,
url: top.$.rootUrl + '/EducationalAdministration/StuScore/DataFilling?keyValue=@ViewBag.StuNo',
type: "get",
dataType: "json",
async: false,


BIN
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/StuInfoGraduate/header2.png Bestand weergeven

Voor Na
Breedte: 663  |  Hoogte: 118  |  Grootte: 90 KiB

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Bestand weergeven

@@ -2618,6 +2618,11 @@
<Content Include="Content\images\SsoSystem\noLogin.png" />
<Content Include="Content\images\SsoSystem\search.png" />
<Content Include="Content\images\SsoSystem\user.jpg" />
<Content Include="Content\images\StuInfoGraduate\header.png" />
<Content Include="Content\images\StuInfoGraduate\header2.png" />
<Content Include="Content\images\StuInfoGraduate\line.png" />
<Content Include="Content\images\StuInfoGraduate\linebig.png" />
<Content Include="Content\images\StuInfoGraduate\linesmall.png" />
<Content Include="Content\images\StuRecruitmentBrochure.jpg" />
<Content Include="Content\images\wsbsdt.png" />
<Content Include="Content\jquery\jquery-3.6.4.min.js" />


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTermAttemper/ArrangeLessonTermAttemperService.cs Bestand weergeven

@@ -340,6 +340,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
catch (Exception ex)
{
Util.Log.LogHelper.Info(ex);
if (ex is ExceptionEx)
{
throw;


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicBLL.cs Bestand weergeven

@@ -253,6 +253,24 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}

public StuInfoBasicEntity GetStuInfoBasicEntityByKeyword(string keyword)
{
try
{
return stuInfoBasicService.GetStuInfoBasicEntityByKeyword(keyword);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 获取左侧树形数据


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicIBLL.cs Bestand weergeven

@@ -43,6 +43,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
string GetPhotoByStuNo(string enCode);

StuInfoBasicEntity GetStuInfoBasicEntityByStuName(string name);
StuInfoBasicEntity GetStuInfoBasicEntityByKeyword(string keyword);
/// <summary>
/// 获取左侧树形数据
/// <summary>


+ 19
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs Bestand weergeven

@@ -397,6 +397,25 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}

public StuInfoBasicEntity GetStuInfoBasicEntityByKeyword(string keyword)
{
try
{
return this.BaseRepository("CollegeMIS").FindEntity<StuInfoBasicEntity>(a => a.StuName == keyword || a.StuNo == keyword);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取StuInfoBasic表实体数据
/// <param name="keyValue">主键</param>


Laden…
Annuleren
Opslaan