From 519dd92fe84919146cc3f69fb032b0e48c22b4b1 Mon Sep 17 00:00:00 2001 From: dyy <18335927079@163.com> Date: Fri, 21 May 2021 18:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=95=99?= =?UTF-8?q?=E5=B8=88=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86=EF=BC=9A=E4=B8=93?= =?UTF-8?q?=E4=B8=9A=E6=8A=80=E6=9C=AF=E8=81=8C=E5=8A=A1=E7=BB=8F=E5=8E=86?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=95=99=E5=B8=88=E8=81=8C=E7=A7=B0=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E7=AE=A1=E7=90=86=EF=BC=9B=E5=A2=9E=E5=8A=A0=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=90=8C=E6=AD=A5=E5=AD=97=E6=AE=B5=EF=BC=9B=E6=95=99?= =?UTF-8?q?=E5=B8=88=E8=81=8C=E7=A7=B0=E5=8F=98=E6=9B=B4=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/PM_TechnicalPostController.cs | 32 +++++++++ .../Views/EmpInfo/Form.cshtml | 2 +- .../Views/EmpInfo/Index.cshtml | 2 +- .../Views/EmpInfo/Index.js | 3 +- .../Views/PM_TechnicalPost/Form.cshtml | 24 ++++--- .../Views/PM_TechnicalPost/Form.js | 1 + .../Views/PM_TechnicalPost/Index.js | 6 +- .../PM_TechnicalPost/StatisticIndex.cshtml | 31 ++++++++ .../Views/PM_TechnicalPost/StatisticIndex.js | 71 +++++++++++++++++++ .../Learun.Application.Web.csproj | 2 + .../Views/UserCenter/IndexInTeacher.cshtml | 2 +- .../EmpInfo/EmpInfoService.cs | 6 +- .../PM_TechnicalPost/PM_TechnicalPostBLL.cs | 23 ++++++ .../PM_TechnicalPostEntity.cs | 5 ++ .../PM_TechnicalPost/PM_TechnicalPostIBLL.cs | 9 ++- .../PM_TechnicalPostService.cs | 52 ++++++++++++++ 16 files changed, 251 insertions(+), 20 deletions(-) create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_TechnicalPost/StatisticIndex.cshtml create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_TechnicalPost/StatisticIndex.js diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/PM_TechnicalPostController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/PM_TechnicalPostController.cs index 065754d75..b53b02d71 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/PM_TechnicalPostController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/PM_TechnicalPostController.cs @@ -38,6 +38,16 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers { return View(); } + + /// + /// 主页面-统计 + /// + /// + [HttpGet] + public ActionResult StatisticIndex() + { + return View(); + } #endregion #region 获取数据 @@ -77,6 +87,28 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers }; return Success(jsonData); } + + /// + /// 获取页面显示列表数据 + /// + /// 查询参数 + /// + [HttpGet] + [AjaxOnly] + public ActionResult GetPageStatisticList(string pagination, string queryJson) + { + Pagination paginationobj = pagination.ToObject(); + var data = pM_TechnicalPostIBLL.GetPageStatisticList(paginationobj, queryJson); + var jsonData = new + { + rows = data, + total = paginationobj.total, + page = paginationobj.page, + records = paginationobj.records + }; + return Success(jsonData); + } + #endregion #region 提交数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml index 48208212b..4df272519 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml @@ -32,7 +32,7 @@