/** * 企业注册数据 */ Ext.define('saas.view.statistical.CompanyRegInfo', { extend: 'saas.view.core.base.BasePanel', xtype: 'statistical-companyreginfo', initComponent: function () { Ext.apply(this, { searchField: [{ xtype: "textfield", name: "name", emptyText: '企业名称' }, { xtype: 'textfield', name: 'realname', emptyText: '管理员' }], gridConfig: { dataUrl: '/api/operation/data/getCompany', // dataUrl: 'http://10.1.80.35:9040/data/getCompany', columns: [{ text: '注册时间', dataIndex: 'create_time', width: 180, xtype: 'datecolumn', renderer: function (v, m, r) { return Ext.Date.format(new Date(v), 'Y-m-d H:i:s'); } }, { text: '企业编号', width: 200, dataIndex: 'business_code' }, { text: '企业名称', width: 200, dataIndex: 'name' }, { text: '应用', width: 80, dataIndex: 'app_id', align: 'center', renderer: function (v, m, r) { return { 'trade-app': '贸易云', 'make-app': '制造云' }[v]; } }, { text: 'UU号', width: 120, dataIndex: 'uu' }, { text: '企业地址', width: 250, dataIndex: 'address' }, { text: '电话', width: 100, dataIndex: 'tel' }, { text: '传真', width: 100, dataIndex: 'fax' }, { text: '管理员', width: 100, dataIndex: 'realname' }, { text: '联系方式', width: 150, dataIndex: 'mobile' }] }, }); this.callParent(arguments); } });