contactsView.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "viewHeadSetting": {
  3. "html": "<table border='1' cellpadding='0' cellspacing='0' styles='headTable' id='headTable'></table>"
  4. },
  5. "viewSetting": {
  6. "html": "<table styles='contentTable' id='contentTable'></table>"
  7. },
  8. "headSetting": {
  9. "html": "<tr styles='viewHeadNode'></tr>"
  10. },
  11. "documentSetting": {
  12. "html": "<tr styles='documentNode'></tr>",
  13. "mouseoverStyles": "documentNode_over"
  14. },
  15. "selectSearch": {
  16. "items": [
  17. {
  18. "name": "我负责的联系人"
  19. },
  20. {
  21. "name": "下属负责的联系人"
  22. },
  23. {
  24. "name": "全部联系人"
  25. }
  26. ],
  27. "default": "全部联系人"
  28. },
  29. "items": [
  30. {
  31. "name": "clueName",
  32. "head": {
  33. "html": "<th styles='normalThNode' index='1'><span lable='clueName'></span><span name='resizeLine' styles='resizeLine'></span></th>",
  34. "width": "300px"
  35. },
  36. "content": {
  37. "html": "<td styles='normalTdNode' index='1'>"+
  38. " <div item='clueName' styles='documentSubject'></div>" +
  39. "</td>",
  40. "width":"300px",
  41. "items": {
  42. "clueName":{"value":"function(d){ return (d.name == undefined || d.name=='') ? '--': d.name}"}
  43. }
  44. }
  45. },
  46. {
  47. "name": "createTime",
  48. "head": {
  49. "html": "<th styles='normalThNode' lable='createTime'></th>",
  50. "width": "200px"
  51. },
  52. "content": {
  53. "html": "<td styles='normalTdNode'>"+
  54. " <div item='createTime' styles='documentSubject'></div>" +
  55. "</td>",
  56. "width": "200px",
  57. "items": {
  58. "createTime":{"value":"function(d){ return (d.createTime == undefined || d.createTime=='') ? '--': d.createTime}"}
  59. }
  60. }
  61. },
  62. {
  63. "name": "clueType",
  64. "head": {
  65. "html": "<th styles='normalThNode' lable='clueType'></th>",
  66. "width": "200px"
  67. },
  68. "content": {
  69. "html": "<td styles='normalTdNode'>"+
  70. " <div item='clueType' styles='documentSubject'></div>" +
  71. "</td>",
  72. "width": "200px",
  73. "items": {
  74. "clueType":{"value":"function(d){ return (d.industry == undefined || d.industry=='') ? '--': d.industry}"}
  75. }
  76. }
  77. },
  78. {
  79. "name": "clueSource",
  80. "head": {
  81. "html": "<th styles='normalThNode' lable='clueSource'></th>",
  82. "width": "200px"
  83. },
  84. "content": {
  85. "html": "<td styles='normalTdNode'>"+
  86. " <div item='clueSource' styles='documentSubject'></div>" +
  87. "</td>",
  88. "width": "200px",
  89. "items": {
  90. "clueSource": {"value":"function(d){ return (d.source == undefined || d.source=='') ? '--': d.source}"}
  91. }
  92. }
  93. },
  94. {
  95. "name": "clueLevel",
  96. "head": {
  97. "html": "<th styles='normalThNode' lable='clueLevel'></th>",
  98. "width": "200px"
  99. },
  100. "content": {
  101. "html": "<td styles='normalTdNode'>"+
  102. " <div item='clueLevel' styles='documentSubject'></div>" +
  103. "</td>",
  104. "width": "200px",
  105. "items": {
  106. "clueLevel": {"value":"function(d){ return (d.level == undefined || d.level=='') ? '--': d.level}"}
  107. }
  108. }
  109. },
  110. {
  111. "name": "clueCellphone",
  112. "head": {
  113. "html": "<th styles='normalThNode' lable='clueCellphone'></th>",
  114. "width": "200px"
  115. },
  116. "content": {
  117. "html": "<td styles='normalTdNode'>"+
  118. " <div item='clueCellphone' styles='documentSubject'></div>" +
  119. "</td>",
  120. "width": "200px",
  121. "items": {
  122. "clueCellphone": {"value":"function(d){ return (d.cellphone == undefined || d.cellphone=='') ? '--': d.cellphone}"}
  123. }
  124. }
  125. }
  126. ]
  127. }