contactsView.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "viewSetting": {
  3. "html": "<table width='100%' border='0' cellpadding='0' cellspacing='0' styles='editTable'></table>"
  4. },
  5. "headSetting": {
  6. "html": "<tr styles='viewHeadNode'></tr>"
  7. },
  8. "documentSetting": {
  9. "html": "<tr styles='documentNode'></tr>",
  10. "mouseoverStyles": "documentNode_over",
  11. "action": "open"
  12. },
  13. "items": [
  14. {
  15. "name": "title",
  16. "head": {
  17. "html": "<th styles='normalThNode' lable='customerName'></th>",
  18. "width": ""
  19. },
  20. "content": {
  21. "html": "<td styles='normalTdNode' item='customername'></td>",
  22. "items": {
  23. "customername":{"value":"function(d){ return (d.customername == undefined || d.customername=='') ? '--': d.customername}"}
  24. }
  25. }
  26. },
  27. {
  28. "name": "createTime",
  29. "head": {
  30. "html": "<th styles='normalThNode' lable='createTime'></th>",
  31. "width": ""
  32. },
  33. "content": {
  34. "html": "<td styles='normalTdNode' item='createTime'></td>",
  35. "items": {
  36. "createTime":{"value":"function(d){ return (d.createTime == undefined || d.createTime=='') ? '--': d.createTime}"}
  37. }
  38. }
  39. },
  40. {
  41. "name": "customerType",
  42. "head": {
  43. "html": "<th styles='normalThNode' lable='customerType'></th>",
  44. "width": ""
  45. },
  46. "content": {
  47. "html": "<td styles='normalTdNode' item='customertype'></td>",
  48. "items": {
  49. "customertype":{"value":"function(d){ return (d.customertype == undefined || d.customertype=='') ? '--': d.customertype}"}
  50. }
  51. }
  52. },
  53. {
  54. "name": "customerSource",
  55. "head": {
  56. "html": "<th styles='normalThNode' lable='customerSource'></th>",
  57. "width": ""
  58. },
  59. "content": {
  60. "html": "<td styles='normalTdNode' item='source'></td>",
  61. "items": {
  62. "source": {"value":"function(d){ return (d.source == undefined || d.source=='') ? '--': d.source}"}
  63. }
  64. }
  65. },
  66. {
  67. "name": "customerLevel",
  68. "head": {
  69. "html": "<th styles='normalThNode' lable='customerLevel'></th>",
  70. "width": ""
  71. },
  72. "content": {
  73. "html": "<td styles='normalTdNode' item='level'></td>",
  74. "items": {
  75. "level": {"value":"function(d){ return (d.level == undefined || d.level=='') ? '--': d.level}"}
  76. }
  77. }
  78. },
  79. {
  80. "name": "customerStatus",
  81. "head": {
  82. "html": "<th styles='normalThNode' lable='customerStatus'></th>",
  83. "width": ""
  84. },
  85. "content": {
  86. "html": "<td styles='normalTdNode' item='customerStatus'></td>",
  87. "items": {
  88. "customerStatus": {"value":"function(d){ return (d.state == undefined || d.state=='') ? '--': d.state}"}
  89. }
  90. }
  91. },
  92. {
  93. "name": "customerGrade",
  94. "head": {
  95. "html": "<th styles='normalThNode' lable='customerGrade'></th>",
  96. "width": ""
  97. },
  98. "content": {
  99. "html": "<td styles='normalTdNode' item='customerGrade'></td>",
  100. "items": {
  101. "customerGrade": {"value":"function(d){ return (d.rank == undefined || d.rank=='') ? '--': d.rank}"}
  102. }
  103. }
  104. }
  105. ]
  106. }