Browse Source

【修改】学籍卡打印增加校区名称;

新疆警官学校中职
dyy 1 month ago
parent
commit
de49d7e5ec
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml

+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs View File

@@ -9,6 +9,7 @@ using System.Linq;
using Learun.Application.Base.SystemModule; using Learun.Application.Base.SystemModule;
using static Learun.Application.TwoDevelopment.EducationalAdministration.StuInfoBasicEntity; using static Learun.Application.TwoDevelopment.EducationalAdministration.StuInfoBasicEntity;
using ZipOneCode.ZipProvider; using ZipOneCode.ZipProvider;
using Learun.Application.Organization;


namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{ {
@@ -27,6 +28,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
private StuEncourgementIBLL stuEncourgementIBLL = new StuEncourgementBLL(); private StuEncourgementIBLL stuEncourgementIBLL = new StuEncourgementBLL();
private StuPunishmentIBLL stuPunishmentIBLL = new StuPunishmentBLL(); private StuPunishmentIBLL stuPunishmentIBLL = new StuPunishmentBLL();
private StuScoreIBLL stuScoreIBLL = new StuScoreBLL(); private StuScoreIBLL stuScoreIBLL = new StuScoreBLL();
private CompanyIBLL companyIBLL = new CompanyBLL();


#region 视图功能 #region 视图功能


@@ -162,6 +164,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
[HttpGet] [HttpGet]
public ActionResult Printxjk(string keyValue) public ActionResult Printxjk(string keyValue)
{ {
ViewBag.Company = companyIBLL.GetDetail()?.F_FullName;
var stuInfoBasicEntity = stuInfoBasicIBLL.GetStuInfoBasicEntity(keyValue); var stuInfoBasicEntity = stuInfoBasicIBLL.GetStuInfoBasicEntity(keyValue);
ViewBag.PrintDate = DateTime.Now.ToDate(); ViewBag.PrintDate = DateTime.Now.ToDate();
if (stuInfoBasicEntity == null) if (stuInfoBasicEntity == null)


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml View File

@@ -76,7 +76,7 @@
<body> <body>
<div id="print-content"> <div id="print-content">
<div class="header"> <div class="header">
<h4>学生学籍卡</h4>
<h4>@ViewBag.Company 学生学籍卡</h4>
</div> </div>
<p> <p>
<b><em>经办人:</em><input type="text" /></b> <b><em>经办人:</em><input type="text" /></b>


Loading…
Cancel
Save