Feedback.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /**
  2. * 在线反馈
  3. */
  4. Ext.define('saas.view.cuservice.Feedback', {
  5. extend: 'saas.view.core.List',
  6. xtype: 'cuservice-feedback',
  7. viewModel: 'cuservice',
  8. cls: 'x-infocardlist',
  9. id: 'feedback',
  10. border: 1,
  11. columns: [{
  12. text: 'id',
  13. dataIndex: 'cf_id',
  14. hidden: true
  15. }, {
  16. text: '反馈人',
  17. dataIndex: 'cf_name',
  18. width: 120
  19. }, {
  20. text: '反馈时间',
  21. dataIndex: 'cf_creatime',
  22. width: 180,
  23. renderer: function(v, m, r) {
  24. return Ext.Date.format(new Date(v), 'Y-m-d H:i:s');
  25. }
  26. }, {
  27. text: '反馈内容',
  28. width: 250,
  29. dataIndex: 'cf_content'
  30. }, {
  31. text: '状态',
  32. dataIndex: 'cf_status',
  33. width: 80
  34. }, {
  35. text: '企业id',
  36. dataIndex: 'cf_companyid',
  37. hidden: true
  38. }, {
  39. text: '企业名',
  40. dataIndex: 'cf_company',
  41. width: 120
  42. }, {
  43. text: '联系电话',
  44. dataIndex: 'cf_mobile',
  45. width: 120
  46. }, {
  47. text: 'QQ',
  48. dataIndex: 'cf_qq',
  49. width: 120
  50. }, {
  51. text: '微信',
  52. dataIndex: 'cf_wechat',
  53. width: 120
  54. }, {
  55. text: '备注',
  56. dataIndex: 'cf_remark',
  57. width: 250
  58. }],
  59. bind: {
  60. store: '{feedback}'
  61. }
  62. });