Kaynağa Gözat

【修改】全院学生成绩查看:可搜索名字打印;

黑龙江艺术高中职
dyy 1 ay önce
ebeveyn
işleme
c4041f4d88
8 değiştirilmiş dosya ile 49 ekleme ve 5 silme
  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. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicBLL.cs
  7. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicIBLL.cs
  8. +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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

Önce Sonra
Genişlik: 663  |  Yükseklik: 118  |  Boyut: 90 KiB

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Dosyayı Görüntüle

@@ -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" />


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicBLL.cs Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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>


Yükleniyor…
İptal
Kaydet