listItem.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "viewSetting": {
  3. "html": "<table width='100%' border='0' cellpadding='5' 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": "$checkbox",
  16. "head": {
  17. "html": "<th styles='normalThNode'></th>",
  18. "width": "5%"
  19. },
  20. "content": {
  21. "html": "<td styles='checkboxTdNode'>&nbsp;</td>",
  22. "condition": "function(d){ return true }",
  23. "value": ""
  24. }
  25. },
  26. {
  27. "name": "title",
  28. "head": {
  29. "html": "<th styles='normalThNode' lable='title'></th>",
  30. "width": "40%"
  31. },
  32. "content": {
  33. "html": "<td styles='normalTdNode'>" +
  34. " <div item='title' styles='documentSubject'></div>" +
  35. // " <div>" +
  36. // " <div item='defaultWorkType' styles='itemInLine'></div><div item='defaultWorkLevel' styles='itemInLine'></div>" +
  37. // " </div>" +
  38. "</td>",
  39. "items": {
  40. "title": {},
  41. "defaultWorkType": {},
  42. "defaultWorkLevel": {}
  43. }
  44. }
  45. },
  46. {
  47. "name": "createTime",
  48. "head": {
  49. "html": "<th styles='normalThNode' lable='createTime'></th>",
  50. "width": "15%"
  51. },
  52. "content": {
  53. "html": "<td styles='normalTdCenterNode' item='createTime'></td>",
  54. "items": {
  55. "createTime" : {}
  56. }
  57. }
  58. },
  59. {
  60. "name": "status",
  61. "head": {
  62. "html": "<th styles='normalThNode' lable='status'></th>",
  63. "width": "15%"
  64. },
  65. "content": {
  66. "html": "<td styles='normalTdCenterNode' item='processStatus'></td>",
  67. "items": {
  68. "processStatus" : {}
  69. }
  70. }
  71. },
  72. {
  73. //"access": "admin",
  74. "head": {
  75. "html": "<th styles='normalThNode' lable='action'></th>",
  76. "width": "10%"
  77. },
  78. "content": {
  79. "html": "<td styles='normalTdCenterNode'>" +
  80. //" <span styles='documentActionNode' item='action_open'></span>" +
  81. " <span styles='documentActionNode' item='action_remove'></span>" +
  82. "</td>",
  83. "items": {
  84. "action_open": {
  85. "title": "open",
  86. "text": "open",
  87. "action": "action_open",
  88. "condition": "function( d ){ return true }",
  89. "styles": "documentActionNode",
  90. "mouseoverStyles": "documentActionNode_over",
  91. "mousedownStyles": "documentActionNode_down"
  92. },
  93. "action_remove":{
  94. "title": "remove",
  95. "text": "remove",
  96. "action": "action_remove",
  97. "condition": "function( d ){ return true }",
  98. "styles": "documentActionNode",
  99. "mouseoverStyles": "documentActionNode_over",
  100. "mousedownStyles": "documentActionNode_down"
  101. }
  102. }
  103. }
  104. }
  105. ]
  106. }