CompanyAnalysis.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /**
  2. * 企业分析
  3. */
  4. Ext.define('saas.view.statistical.CompanyAnalysis', {
  5. extend: 'saas.view.core.base.BasePanel',
  6. xtype: 'statistical-companyanalysis',
  7. initComponent: function () {
  8. Ext.apply(this, {
  9. searchField: [{
  10. xtype: "textfield",
  11. name: "ca_company",
  12. emptyText: '企业名称'
  13. }, {
  14. xtype: 'textfield',
  15. name: 'ca_admin',
  16. emptyText: '管理员'
  17. }],
  18. gridConfig: {
  19. // dataUrl: '/api/operation/data/getCompany',
  20. dataUrl: 'http://10.1.80.35:9040/data/getConpanyAnalyze',
  21. columns: [{
  22. text: 'ID',
  23. dataIndex: 'ca_id',
  24. hidden: true
  25. }, {
  26. text: '企业ID',
  27. dataIndex: 'ca_companyid',
  28. hidden: true
  29. }, {
  30. text: '企业名称',
  31. dataIndex: 'ca_company',
  32. width: 200
  33. }, {
  34. text: '企业地址',
  35. dataIndex: 'ca_address',
  36. width: 200
  37. }, {
  38. text: '管理员',
  39. dataIndex: 'ca_admin'
  40. }, {
  41. text: '注册时间',
  42. dataIndex: 'ca_createtime',
  43. xtype: 'datecolumn',
  44. format: 'Y-m-d H:i:s',
  45. width: 150
  46. }, {
  47. text: '最近操作时间',
  48. dataIndex: 'ca_newestlogtime',
  49. xtype: 'datecolumn',
  50. format: 'Y-m-d H:i:s',
  51. width: 150
  52. }, {
  53. text: '目前阶段',
  54. dataIndex: 'ca_phase'
  55. }, {
  56. text: '使用状态',
  57. dataIndex: 'ca_status'
  58. }]
  59. },
  60. });
  61. this.callParent(arguments);
  62. }
  63. });