diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEncourgementTranController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEncourgementTranController.cs index 09fe93e8f..7bbe54cf7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEncourgementTranController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEncourgementTranController.cs @@ -16,7 +16,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers /// public class StuEncourgementTranController : MvcControllerBase { - private StuEncourgementIBLL stuEncourgementIBLL = new StuEncourgementBLL(); + private StuEncourgementTranIBLL stuEncourgementTranIBLL = new StuEncourgementTranBLL(); #region 视图功能 @@ -88,7 +88,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers public ActionResult GetPageList(string pagination, string queryJson) { Pagination paginationobj = pagination.ToObject(); - var data = stuEncourgementIBLL.GetPageList(paginationobj, queryJson); + var data = stuEncourgementTranIBLL.GetPageList(paginationobj, queryJson); var jsonData = new { rows = data, @@ -107,7 +107,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult GetPageListOne(string queryJson) { - var data = stuEncourgementIBLL.GetPageList(queryJson); + var data = stuEncourgementTranIBLL.GetPageList(queryJson); var data1 = data.GroupBy(x => new { x.AcademicYearNo, x.Semester, x.DeptNo, x.Num }).Select(x => new { AcademicYearNo = x.Key.AcademicYearNo, @@ -126,7 +126,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult GetPageListTwo(string queryJson) { - var data = stuEncourgementIBLL.GetPageList(queryJson); + var data = stuEncourgementTranIBLL.GetPageList(queryJson); var data1 = data.GroupBy(x => new { x.AcademicYearNo, x.Semester, x.DeptNo, x.Grade, x.Num }).Select(x => new { AcademicYearNo = x.Key.AcademicYearNo, @@ -146,7 +146,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult GetPageListThree(string queryJson) { - var data = stuEncourgementIBLL.GetPageList(queryJson); + var data = stuEncourgementTranIBLL.GetPageList(queryJson); var data1 = data.GroupBy(x => new { x.AcademicYearNo, @@ -177,7 +177,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult GetPageListStu(string queryJson) { - var data = stuEncourgementIBLL.GetPageList(queryJson); + var data = stuEncourgementTranIBLL.GetPageList(queryJson); var data1 = data.GroupBy(x => new { x.AcademicYearNo, x.Semester, x.StuNo, x.StuName, x.Num }).Select(x => new { AcademicYearNo = x.Key.AcademicYearNo, @@ -197,7 +197,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult GetFormData(string keyValue) { - var StuEncourgementData = stuEncourgementIBLL.GetStuEncourgementEntity(keyValue); + var StuEncourgementData = stuEncourgementTranIBLL.GetStuEncourgementEntity(keyValue); var jsonData = new { StuEncourgement = StuEncourgementData, @@ -217,7 +217,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult DeleteForm(string keyValue) { - stuEncourgementIBLL.DeleteEntity(keyValue); + stuEncourgementTranIBLL.DeleteEntity(keyValue); return Success("删除成功!"); } /// @@ -230,8 +230,8 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult SaveForm(string keyValue, string strEntity) { - StuEncourgementEntity entity = strEntity.ToObject(); - stuEncourgementIBLL.SaveEntity(keyValue, entity); + StuEncourgementTranEntity entity = strEntity.ToObject(); + stuEncourgementTranIBLL.SaveEntity(keyValue, entity); return Success("保存成功!"); } #endregion diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs index 22841f4fa..f9a6a65e7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuTransferInfoController.cs @@ -103,12 +103,8 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers { return View(); } - /// - /// 综合查询 - /// - /// [HttpGet] - public ActionResult IndexQuery() + public ActionResult ReinstateIndex() { return View(); } @@ -250,7 +246,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers StuTransferInfoEntity entity = strEntity.ToObject(); entity.AnomalousType = "04"; entity.ChangeReason = "转入"; - entity.StuId= Guid.NewGuid().ToString(); + entity.StuId = Guid.NewGuid().ToString(); stuTransferInfoIBLL.SaveEntity(keyValue, entity); return Success("保存成功!"); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Form.cshtml index e4fd9b462..48cc765f8 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Form.cshtml @@ -15,7 +15,7 @@
获得时间*
- +
描述
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Index.js index 36b609952..b99308647 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/Index.js @@ -132,7 +132,8 @@ var bootstrap = function ($, learun) { }); } }, - { label: "获得时间", name: "GetTime", width: 200, align: "left", + { + label: "获得时间", name: "AuditTime", width: 200, align: "left", formatter: function (cellvalue) { return learun.formatDate(cellvalue, 'yyyy-MM-dd'); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.cshtml index 40e868b6c..4fdf7872c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.cshtml @@ -2,21 +2,24 @@ ViewBag.Title = "奖助学金统计"; Layout = "~/Views/Shared/_Index.cshtml"; } -
+
-
-
-
-
时段
- +
+
+ @*
+
+
+
+
时段
+ +
-
-
+
*@
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.js index 1df153795..eb004d91b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarshipxj/IndexStatistic.js @@ -7,6 +7,8 @@ var refreshGirdData; var bootstrap = function ($, learun) { "use strict"; + var logbegin = ''; + var logend = ''; var page = { init: function () { page.initGird(); @@ -17,10 +19,35 @@ var bootstrap = function ($, learun) { $('#lr_refresh').on('click', function () { location.reload(); }); - $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { - page.search(queryJson); - }, 220, 400); - + //$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { + // page.search(queryJson); + //}, 220, 400); + $('#datesearch').lrdate({ + dfdata: [ + { name: '今天', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00') }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }, + { name: '近7天', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'd', -6) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }, + { name: '近1个月', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'm', -1) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }, + { name: '近3个月', begin: function () { return learun.getDate('yyyy-MM-dd 00:00:00', 'm', -3) }, end: function () { return learun.getDate('yyyy-MM-dd 23:59:59') } }, + ], + // 月 + mShow: false, + premShow: false, + // 季度 + jShow: false, + prejShow: false, + // 年 + ysShow: false, + yxShow: false, + preyShow: false, + yShow: false, + // 默认 + selectfn: function (begin, end) { + logbegin = begin; + logend = end; + + page.search(); + } + }); }, // 初始化列表 initGird: function () { @@ -33,11 +60,15 @@ var bootstrap = function ($, learun) { } }, { - label: "审核状态", name: "State", width: 200, align: "left", formatter: function (cellvalue) { - return cellvalue == "1" ? "享受" : "不享受"; + label: "审核状态", name: "State", width: 200, align: "left", formatter: function (cellvalue, row) { + if (row.IsType == 0) { + return cellvalue = "享受"; + } else { + return cellvalue == "1" ? "享受" : "不享受"; + } } }, - { label: "数量", name: "Count", width: 200, align: "left"} + { label: "数量", name: "Count", width: 200, align: "left" } ], mainId: '', isPage: false, @@ -46,7 +77,9 @@ var bootstrap = function ($, learun) { }, search: function (param) { param = param || {}; - $('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); + param.StartTime = logbegin; + param.EndTime = logend; + $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); }, }; refreshGirdData = function () { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.cshtml index 5ba370dd7..26e320227 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.cshtml @@ -85,7 +85,7 @@
 录入 -  异动转入 + @* 异动转入*@  修改  删除  查看 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml index fa1989e02..407218f68 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml @@ -76,7 +76,7 @@