| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /**
- * 个人注册数据
- */
- Ext.define('saas.view.statistical.PersonInfo', {
- extend: 'saas.view.core.List',
- xtype: 'statistical-personinfo',
- viewModel: 'statistical',
- id: 'personinfo',
- columns: [{
- text: 'id',
- dataIndex: 'id',
- hidden: true
- }, {
- text: '账号',
- dataIndex: 'username',
- width: 120
- }, {
- text: '姓名',
- dataIndex: 'realname',
- width: 120
- }, {
- text: '邮箱',
- dataIndex: 'email',
- width: 180
- }, {
- text: '手机号',
- dataIndex: 'mobile',
- width: 120
- }, {
- text: '类型',
- dataIndex: 'type',
- width: 140,
- renderer: function(v, m, r) {
- return v == 1 ? '<span style="font-weight: bold;">管理员</span>' : '普通用户';
- }
- }, {
- text: '状态',
- dataIndex: 'enabled',
- width: 80,
- renderer: function(v, m, r) {
- return v == true ? '<span style="color: #81CB31;">正常</span>' : '<span style="color: #DD6550;">禁用</span>';
- }
- }, {
- text: '注册时间',
- xtype: 'datecolumn',
- dataIndex: 'createTime',
- width: 180,
- renderer: function(v, m, r) {
- return Ext.Date.format(new Date(v), 'Y-m-d h:i:s');
- }
- }, {
- text: 'UU号',
- dataIndex: 'uu',
- width: 120
- }],
- bind: {
- store: '{personinfo}'
- }
- });
|