listItemConfig.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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": "module",
  18. "head": {
  19. "html": "<th styles='normalThNode' lable='module'></th>",
  20. "width": "10%"
  21. },
  22. "content": {
  23. "html": "<td styles='normalTdNode' item='module'></td>",
  24. "items": { "module" : {} }
  25. }
  26. },
  27. {
  28. "name": "operation",
  29. "head": {
  30. "html": "<th styles='normalThNode' lable='operation'></th>",
  31. "width": "10%"
  32. },
  33. "content": {
  34. "html": "<td styles='normalTdNode' item='operation'></td>",
  35. "items": { "operation" : {} }
  36. }
  37. },
  38. {
  39. "name": "httpType",
  40. "head": {
  41. "html": "<th styles='normalThNode' lable='httpType'></th>",
  42. "width": "10%"
  43. },
  44. "content": {
  45. "html": "<td styles='normalTdNode' item='httpType'></td>",
  46. "items": { "httpType" : {} }
  47. }
  48. },
  49. {
  50. "name": "status",
  51. "head": {
  52. "html": "<th styles='normalThNode' lable='status'></th>",
  53. "width": "10%"
  54. },
  55. "content": {
  56. "html": "<td styles='normalTdNode' item='status'></td>",
  57. "items": {
  58. "status": {"value" : "function(d){ return d.status ? this.lp.enable : this.lp.disable }"}
  59. }
  60. }
  61. },
  62. {
  63. "name": "matchUrl",
  64. "head": {
  65. "html": "<th styles='normalThNode' lable='httpUrl'></th>",
  66. "width": "auto"
  67. },
  68. "content": {
  69. "html": "<td styles='normalTdNode' item='matchUrl' style='word-break:break-word;'></td>",
  70. "items": {
  71. "matchUrl": {}
  72. }
  73. }
  74. },
  75. {
  76. "name": "actionList",
  77. "head": {
  78. "html": "<th styles='normalThNode' lable='delete'></th>",
  79. "width": "30"
  80. },
  81. "content": {
  82. "html": "<td styles='normalTdNode'><div styles='deleteAction' item='deleteAction'></div></td>",
  83. "items": {
  84. "deleteAction": {
  85. "title": "deleteConfig",
  86. "action": "remove",
  87. "styles" : "deleteAction",
  88. "mouseoverStyles": "deleteAction_over"
  89. }
  90. }
  91. }
  92. }
  93. ]
  94. }