From 638e671b5dc763db547578c3c252f2476931e0e0 Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 13 Sep 2022 17:56:40 +0800 Subject: [PATCH] 1 --- .../Views/WorkStaff/Index.js | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/WorkStaff/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/WorkStaff/Index.js index de2a74165..4547f3306 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/WorkStaff/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/WorkStaff/Index.js @@ -75,9 +75,24 @@ var bootstrap = function ($, learun) { { label: "名称", name: "Name", width: 100, align: "left"}, { label: "性别", name: "Gender", width: 100, align: "left"}, { label: "民族", name: "Nationality", width: 100, align: "left"}, - { label: "出生年月日", name: "Birthday", width: 100, align: "left"}, - { label: "参加工作时间", name: "jobTime", width: 100, align: "left"}, - { label: "入党时间", name: "PartyTime", width: 100, align: "left"}, + { + label: "出生年月日", name: "Birthday", width: 100, align: "left", + formatter: function (cellvalue) { + return learun.formatDate(cellvalue, 'yyyy-MM-dd'); + } + }, + { + label: "参加工作时间", name: "jobTime", width: 100, align: "left", + formatter: function (cellvalue) { + return learun.formatDate(cellvalue, 'yyyy-MM-dd'); + } + }, + { + label: "入党时间", name: "PartyTime", width: 100, align: "left", + formatter: function (cellvalue) { + return learun.formatDate(cellvalue, 'yyyy-MM-dd'); + } + }, { label: "籍贯", name: "Origin", width: 100, align: "left"}, { label: "健康状况", name: "HealthStatus", width: 100, align: "left"}, { label: "有何专长", name: "Speciality", width: 100, align: "left"},