From e9ff4365cb6ab097e81ab35b03204ec0304347d8 Mon Sep 17 00:00:00 2001 From: ndbs Date: Wed, 19 Jan 2022 16:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=20=E6=95=99=E5=B8=88?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86=E5=92=8C=E5=AD=A6=E7=94=9F?= =?UTF-8?q?=E5=AD=A6=E7=B1=8D=E7=AE=A1=E7=90=86=20=E5=87=BA=E7=94=9F?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E5=90=8E=E9=9D=A2=E5=B8=A6=E6=97=B6=E5=88=86?= =?UTF-8?q?=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Areas/EducationalAdministration/Views/EmpInfo/Index.js | 7 ++++++- .../EducationalAdministration/Views/StuInfoBasic/Index.js | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js index 37c7c6432..d78d3927d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js @@ -412,7 +412,12 @@ var bootstrap = function ($, learun) { } }, { label: "是否授课", name: "IsHasLesson", width: 100, align: "left", formatter: function (cellvalue) { return cellvalue == true ? "是" : "否" } }, - { label: "出生日期", name: "Birthday", width: 100, align: "left" }, + { + label: "出生日期", name: "Birthday", width: 100, align: "left" , + formatter: function (value) { + return learun.formatDate(value, 'yyyy-MM-dd'); + } + }, { label: "民族", name: "NationalityNo", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js index 367bc0204..f5f544879 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js @@ -232,7 +232,12 @@ var bootstrap = function ($, learun) { return cellvalue == true ? "男" : "女"; } }, - { label: "出生日期", name: "Birthday", width: 100, align: "left" }, + { + label: "出生日期", name: "Birthday", width: 100, align: "left", + formatter: function (value) { + return learun.formatDate(value, 'yyyy-MM-dd'); + } + }, { label: "身份证号", name: "IdentityCardNo", width: 100, align: "left" }, { label: "民族", name: "NationalityNo", width: 100, align: "left",