diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js index 43c37dec8..9476311ff 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js @@ -86,7 +86,14 @@ var bootstrap = function ($, learun) { { label: "性别", name: "AGender", width: 200, align: "left", formatter: function (cellvalue) { - return cellvalue == true ? "男" : "女"; + if (cellvalue == true) { + return '男'; + } else if (cellvalue == false) { + return '女'; + } else { + return ''; + } + //return cellvalue == true ? "男" : "女"; } }, { label: '单位名称', name: 'ACompany', width: 200, align: "left" },