chanceView.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. {
  2. "viewHeadSetting": {
  3. "html": "<table border='1' cellpadding='0' cellspacing='0' styles='headTable' id='headTable'></table>"
  4. },
  5. "viewSetting": {
  6. "html": "<table border='1' cellpadding='0' cellspacing='0' 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. "items": [
  16. {
  17. "name": "title",
  18. "head": {
  19. "html": "<th styles='normalThNode' index='1'><span lable='chanceName'></span><span name='resizeLine' styles='resizeLine'></span></th>",
  20. "width": "300px"
  21. },
  22. "content": {
  23. "html": "<td styles='normalTdNode' index='1'>"+
  24. " <div item='chancename' styles='documentSubject'></div>" +
  25. "</td>",
  26. "width":"300px",
  27. "items": {
  28. "chancename":{"value":"function(d){ return (d.chancename == undefined || d.chancename=='') ? '--': d.chancename}"}
  29. }
  30. }
  31. },
  32. {
  33. "name": "createTime",
  34. "head": {
  35. "html": "<th styles='normalThNode' lable='createTime'></th>",
  36. "width": "200px"
  37. },
  38. "content": {
  39. "html": "<td styles='normalTdNode'>"+
  40. " <div item='createTime' styles='documentSubject'></div>" +
  41. "</td>",
  42. "width": "200px",
  43. "items": {
  44. "createTime":{"value":"function(d){ return (d.createTime == undefined || d.createTime=='') ? '--': d.createTime}"}
  45. }
  46. }
  47. },
  48. {
  49. "name": "chanceType",
  50. "head": {
  51. "html": "<th styles='normalThNode' lable='chanceType'></th>",
  52. "width": "200px"
  53. },
  54. "content": {
  55. "html": "<td styles='normalTdNode'>"+
  56. " <div item='chancetype' styles='documentSubject'></div>" +
  57. "</td>",
  58. "width": "200px",
  59. "items": {
  60. "chancetype":{"value":"function(d){ return (d.chancetype == undefined || d.chancetype=='') ? '--': d.chancetype}"}
  61. }
  62. }
  63. },
  64. {
  65. "name": "chanceSource",
  66. "head": {
  67. "html": "<th styles='normalThNode' lable='chanceSource'></th>",
  68. "width": "200px"
  69. },
  70. "content": {
  71. "html": "<td styles='normalTdNode'>"+
  72. " <div item='source' styles='documentSubject'></div>" +
  73. "</td>",
  74. "width": "200px",
  75. "items": {
  76. "source": {"value":"function(d){ return (d.source == undefined || d.source=='') ? '--': d.source}"}
  77. }
  78. }
  79. },
  80. {
  81. "name": "chanceLevel",
  82. "head": {
  83. "html": "<th styles='normalThNode' lable='chanceLevel'></th>",
  84. "width": "200px"
  85. },
  86. "content": {
  87. "html": "<td styles='normalTdNode'>"+
  88. " <div item='level' styles='documentSubject'></div>" +
  89. "</td>",
  90. "width": "200px",
  91. "items": {
  92. "level": {"value":"function(d){ return (d.level == undefined || d.level=='') ? '--': d.level}"}
  93. }
  94. }
  95. },
  96. {
  97. "name": "chanceStatus",
  98. "head": {
  99. "html": "<th styles='normalThNode' lable='chanceStatus'></th>",
  100. "width": "200px"
  101. },
  102. "content": {
  103. "html": "<td styles='normalTdNode'>"+
  104. " <div item='chanceStatus' styles='documentSubject'></div>" +
  105. "</td>",
  106. "width": "200px",
  107. "items": {
  108. "chanceStatus": {"value":"function(d){ return (d.state == undefined || d.state=='') ? '--': d.state}"}
  109. }
  110. }
  111. },
  112. {
  113. "name": "chanceStatus",
  114. "head": {
  115. "html": "<th styles='normalThNode' lable='chanceStatus'></th>",
  116. "width": "200px"
  117. },
  118. "content": {
  119. "html": "<td styles='normalTdNode'>"+
  120. " <div item='chanceStatus' styles='documentSubject'></div>" +
  121. "</td>",
  122. "width": "200px",
  123. "items": {
  124. "chanceStatus": {"value":"function(d){ return (d.state == undefined || d.state=='') ? '--': d.state}"}
  125. }
  126. }
  127. },
  128. {
  129. "name": "chanceStatus",
  130. "head": {
  131. "html": "<th styles='normalThNode' lable='chanceStatus'></th>",
  132. "width": "200px"
  133. },
  134. "content": {
  135. "html": "<td styles='normalTdNode'>"+
  136. " <div item='chanceStatus' styles='documentSubject'></div>" +
  137. "</td>",
  138. "width": "200px",
  139. "items": {
  140. "chanceStatus": {"value":"function(d){ return (d.state == undefined || d.state=='') ? '--': d.state}"}
  141. }
  142. }
  143. },
  144. {
  145. "name": "chanceStatus",
  146. "head": {
  147. "html": "<th styles='normalThNode' lable='chanceStatus'></th>",
  148. "width": "200px"
  149. },
  150. "content": {
  151. "html": "<td styles='normalTdNode'>"+
  152. " <div item='chanceStatus' styles='documentSubject'></div>" +
  153. "</td>",
  154. "width": "200px",
  155. "items": {
  156. "chanceStatus": {"value":"function(d){ return (d.state == undefined || d.state=='') ? '--': d.state}"}
  157. }
  158. }
  159. },
  160. {
  161. "name": "chanceGrade",
  162. "head": {
  163. "html": "<th styles='normalThNode' lable='chanceGrade'></th>",
  164. "width": "200px"
  165. },
  166. "content": {
  167. "html": "<td styles='normalTdNode'>"+
  168. " <div item='chanceGrade' styles='documentSubject'></div>" +
  169. "</td>",
  170. "width": "200px",
  171. "items": {
  172. "chanceGrade": {"value":"function(d){ return (d.rank == undefined || d.rank=='') ? '--': d.rank}"}
  173. }
  174. }
  175. }
  176. ]
  177. }