listItem.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. {
  2. "viewSetting": {
  3. "html": "<table width='100%' border='0' cellpadding='5' cellspacing='0' styles='editTable' style='table-layout:fixed;'></table>"
  4. },
  5. "headSetting": {
  6. "html": "<tr styles='viewHeadNode'></tr>"
  7. },
  8. "documentSetting": {
  9. "html": "<tr styles='documentNode'></tr>",
  10. "mouseoverStyles": "documentNode_over",
  11. "mousedownStyles": "documentNode_down",
  12. "holdMouseDownStyles" : true,
  13. "action": "open"
  14. },
  15. "items": [
  16. {
  17. "name": "person",
  18. "head": {
  19. "html": "<th styles='normalThNode' lable='person'></th>",
  20. "width": "8%"
  21. },
  22. "content": {
  23. "html": "<td styles='normalTdNode' width='58%' item='person'></td>",
  24. "items": {
  25. "person": {"value" : "function(d){ return d.person.split('@')[0] }"}
  26. }
  27. }
  28. },
  29. {
  30. "name": "node1",
  31. "head": {
  32. "html": "<th styles='normalThNode' lable='node'></th>",
  33. "width": "8%"
  34. },
  35. "content": {
  36. "html": "<td styles='normalTdNode' item='node'></td>",
  37. "items": { "node" : {} }
  38. }
  39. },
  40. {
  41. "name": "clientIp",
  42. "head": {
  43. "html": "<th styles='normalThNode' lable='clientIp'></th>",
  44. "width": "8%"
  45. },
  46. "content": {
  47. "html": "<td styles='normalTdNode' item='clientIp'></td>",
  48. "items": { "clientIp" : {} }
  49. }
  50. },
  51. {
  52. "name": "module",
  53. "head": {
  54. "html": "<th styles='normalThNode' lable='module'></th>",
  55. "width": "8%"
  56. },
  57. "content": {
  58. "html": "<td styles='normalTdNode' item='module'></td>",
  59. "items": { "module" : {} }
  60. }
  61. },
  62. {
  63. "name": "operation",
  64. "head": {
  65. "html": "<th styles='normalThNode' lable='operation'></th>",
  66. "width": "8%"
  67. },
  68. "content": {
  69. "html": "<td styles='normalTdNode' item='operation'></td>",
  70. "items": { "operation" : {} }
  71. }
  72. },
  73. {
  74. "name": "httpType",
  75. "head": {
  76. "html": "<th styles='normalThNode' lable='httpType'></th>",
  77. "width": "5%"
  78. },
  79. "content": {
  80. "html": "<td styles='normalTdNode' item='httpType'></td>",
  81. "items": { "httpType" : {} }
  82. }
  83. },
  84. {
  85. "name": "httpStatus",
  86. "head": {
  87. "html": "<th styles='normalThNode' lable='httpStatus'></th>",
  88. "width": "5%"
  89. },
  90. "content": {
  91. "html": "<td styles='normalTdNode' item='httpStatus'></td>",
  92. "items": { "httpStatus" : {} }
  93. }
  94. },
  95. {
  96. "name": "requestTime",
  97. "head": {
  98. "html": "<th styles='normalThNode' lable='requestTime'></th>",
  99. "width": "8%"
  100. },
  101. "content": {
  102. "html": "<td styles='normalTdNode' item='requestTime'></td>",
  103. "items": { "requestTime" : {} }
  104. }
  105. },
  106. {
  107. "name": "spendTime",
  108. "head": {
  109. "html": "<th styles='normalThNode' lable='spendTime'></th>",
  110. "width": "8%"
  111. },
  112. "content": {
  113. "html": "<td styles='normalTdNode' item='spendTime'></td>",
  114. "items": { "spendTime" : {} }
  115. }
  116. },
  117. {
  118. "name": "httpUrl",
  119. "head": {
  120. "html": "<th styles='normalThNode' lable='httpUrl'></th>",
  121. "width": "auto"
  122. },
  123. "content": {
  124. "html": "<td styles='normalTdNode' item='httpUrl' style='word-break:break-word;'></td>",
  125. "items": {
  126. "httpUrl": {}
  127. }
  128. }
  129. }
  130. // {
  131. // "name": "actionList",
  132. // "head": {
  133. // "html": "<th styles='normalThNode' lable='view'></th>",
  134. // "width": "30"
  135. // },
  136. // "content": {
  137. // "html": "<td styles='normalTdNode'><div styles='openAction' item='openAction'></div></td>",
  138. // "items": {
  139. // "openAction": {
  140. // "title": "viewDetail",
  141. // "action": "open",
  142. // "styles" : "openAction",
  143. // "mouseoverStyles": "openAction_over"
  144. // }
  145. // }
  146. // }
  147. // }
  148. ]
  149. }