2 Комити

Аутор SHA1 Порука Датум
  dyy 1a911e0706 【修改】教学调度加日志; пре 1 месец
  dyy c4041f4d88 【修改】全院学生成绩查看:可搜索名字打印; пре 1 месец
9 измењених фајлова са 50 додато и 5 уклоњено
  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 Прегледај датотеку

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/AllStuScoreQueryIndex.js Прегледај датотеку

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


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/PrintScore.cshtml Прегледај датотеку

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


BIN
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/StuInfoGraduate/header2.png Прегледај датотеку

Before After
Width: 663  |  Height: 118  |  Size: 90 KiB

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Прегледај датотеку

@@ -2618,6 +2618,11 @@
<Content Include="Content\images\SsoSystem\noLogin.png" /> <Content Include="Content\images\SsoSystem\noLogin.png" />
<Content Include="Content\images\SsoSystem\search.png" /> <Content Include="Content\images\SsoSystem\search.png" />
<Content Include="Content\images\SsoSystem\user.jpg" /> <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\StuRecruitmentBrochure.jpg" />
<Content Include="Content\images\wsbsdt.png" /> <Content Include="Content\images\wsbsdt.png" />
<Content Include="Content\jquery\jquery-3.6.4.min.js" /> <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 Прегледај датотеку

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


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicBLL.cs Прегледај датотеку

@@ -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> /// <summary>
/// 获取左侧树形数据 /// 获取左侧树形数据


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicIBLL.cs Прегледај датотеку

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


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


+ 19
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicService.cs Прегледај датотеку

@@ -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> /// <summary>
/// 获取StuInfoBasic表实体数据 /// 获取StuInfoBasic表实体数据
/// <param name="keyValue">主键</param> /// <param name="keyValue">主键</param>


Loading…
Откажи
Сачувај