瀏覽代碼

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

新疆警官学校中职
dyy 1 月之前
父節點
當前提交
de49d7e5ec
共有 2 個文件被更改,包括 4 次插入1 次删除
  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 查看文件

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

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

#region 视图功能

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml 查看文件

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


Loading…
取消
儲存