Explorar el Código

通讯录列表性别列优化

西昌缴费二期
zhangli hace 2 años
padre
commit
72b5779bfc
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  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 fichero

@@ -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" },


Cargando…
Cancelar
Guardar