Ver código fonte

通讯录列表性别列优化

西昌缴费二期
zhangli 2 anos atrás
pai
commit
72b5779bfc
1 arquivos alterados com 8 adições e 1 exclusões
  1. +8
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js

+ 8
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/AddressBook/Index.js Ver arquivo

@@ -86,7 +86,14 @@ var bootstrap = function ($, learun) {
{ {
label: "性别", name: "AGender", width: 200, align: "left", label: "性别", name: "AGender", width: 200, align: "left",
formatter: function (cellvalue) { 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" }, { label: '单位名称', name: 'ACompany', width: 200, align: "left" },


Carregando…
Cancelar
Salvar