From b711aa18616d77b7a28fba798b6a159dea248a11 Mon Sep 17 00:00:00 2001 From: liangkun Date: Tue, 30 Mar 2021 18:26:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E6=8E=A7=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/MP_ManagementPlan/Index.js | 22 +++++++++---------- .../MP_ManagementPlan/IndexManagement.js | 1 + 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/Index.js index 89b753162..b725aefd4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/Index.js @@ -105,17 +105,17 @@ var bootstrap = function ($, learun) { { label: "年度", name: "MPAcademicYearNo", width: 100, align: "left" }, //{ label: "学期", name: "MPSemester", width: 100, align: "left" }, { - label: "月份", name: "MPMonth", width: 100, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('dataItem', - { - key: value, - code: 'MPMonth', - callback: function (_data) { - callback(_data.text); - } - }); - } + label: "月份", name: "MPMonth", width: 100, align: "left" + //formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('dataItem', + // { + // key: value, + // code: 'MPMonth', + // callback: function (_data) { + // callback(_data.text); + // } + // }); + //} }, { label: "部门", name: "MPDepartment", width: 250, align: "left", diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexManagement.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexManagement.js index 2210f615b..b45288a08 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexManagement.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_ManagementPlan/IndexManagement.js @@ -277,6 +277,7 @@ var bootstrap = function ($, learun) { }, ], mainId: 'MPId', + sidx: 'cast(MPMonth as int) asc', isPage: true }) page.search();