From 8b3b761a061526c4284060017de8690dedf07499 Mon Sep 17 00:00:00 2001 From: liangkun Date: Wed, 31 Mar 2021 10:40:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E6=8E=A7=E5=87=A0=E4=B8=AA=E6=8C=89?= =?UTF-8?q?=E6=9C=88=E4=BB=BD=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/MP_PerformanceTracking/IndexManagement.js | 13 ++----------- .../Views/MP_QualityObjectives/IndexManagement.js | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.js index d4b3b5dfe..a1158b3f9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_PerformanceTracking/IndexManagement.js @@ -169,17 +169,7 @@ 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" }, { label: "部门", name: "MPDepartment", width: 250, align: "left", @@ -245,6 +235,7 @@ var bootstrap = function ($, learun) { }, ], mainId: 'MPId', + sidx: 'cast(MPMonth as int) asc', isPage: true }); page.search(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js index 3506f04b2..c8698e6d7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js @@ -169,17 +169,7 @@ 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" }, { label: "部门", name: "MPDepartment", width: 250, align: "left", @@ -245,6 +235,7 @@ var bootstrap = function ($, learun) { }, ], mainId: 'ID', + sidx: 'cast(MPMonth as int) asc', isPage: true }); page.search();