CompanyRegInfo.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /**
  2. * 企业注册数据
  3. */
  4. Ext.define('saas.view.statistical.CompanyRegInfo', {
  5. extend: 'saas.view.core.base.BasePanel',
  6. xtype: 'statistical-companyreginfo',
  7. initComponent: function () {
  8. Ext.apply(this, {
  9. searchField: [{
  10. xtype: "textfield",
  11. name: "name",
  12. emptyText: '企业名称'
  13. }, {
  14. xtype: 'textfield',
  15. name: 'realname',
  16. emptyText: '管理员'
  17. }],
  18. gridConfig: {
  19. dataUrl: '/api/operation/data/getCompany',
  20. // dataUrl: 'http://10.1.80.35:9040/data/getCompany',
  21. columns: [{
  22. text: '注册时间',
  23. dataIndex: 'create_time',
  24. width: 180,
  25. xtype: 'datecolumn',
  26. renderer: function(v, m, r) {
  27. return Ext.Date.format(new Date(v), 'Y-m-d H:i:s');
  28. }
  29. }, {
  30. text: '企业编号',
  31. width: 200,
  32. dataIndex: 'business_code'
  33. }, {
  34. text: '企业名称',
  35. width: 200,
  36. dataIndex: 'name'
  37. }, {
  38. text: 'UU号',
  39. width: 120,
  40. dataIndex: 'uu'
  41. }, {
  42. text: '企业地址',
  43. width: 250,
  44. dataIndex: 'address'
  45. }, {
  46. text: '电话',
  47. width: 120,
  48. dataIndex: 'tel'
  49. }, {
  50. text: '传真',
  51. width: 150,
  52. dataIndex: 'fax'
  53. }, {
  54. text: '管理员',
  55. width: 100,
  56. dataIndex: 'realname'
  57. }, {
  58. text: '联系方式',
  59. width: 150,
  60. dataIndex: 'mobile'
  61. }]
  62. },
  63. });
  64. this.callParent(arguments);
  65. }
  66. });