Procházet zdrojové kódy

运营中心-个人注册数据-添加列 绑定企业

zhuth před 7 roky
rodič
revize
b428595389

+ 10 - 1
frontend/operation-web/app/view/statistical/PersonRegInfo.js

@@ -49,9 +49,18 @@ Ext.define('saas.view.statistical.PersonRegInfo', {
                 }, {
                     text: '状态',
                     dataIndex: 'enabled',
+                    align: 'center',
                     width: 80,
                     renderer: function(v, m, r) {
-                        return v == true ? '<span style="color: #81CB31;">正常</span>' : '<span style="color: #DD6550;">禁用</span>';
+                        return v == true ? '<span style="color: #81CB31;">启用</span>' : '<span style="color: #DD6550;">未启用</span>';
+                    }
+                }, {
+                    text: '绑定企业',
+                    dataIndex: 'bind',
+                    align: 'center',
+                    width: 80,
+                    renderer: function(v, m, r) {
+                        return v > 0 ? '是' : '否';
                     }
                 }, {
                     text: '注册时间',