listItem.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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": "6%"
  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": "dynamicObjectType",
  48. "head": {
  49. "html": "<th styles='normalThNode' lable='dynamicObjectType'></th>",
  50. "width": "15%"
  51. },
  52. "content": {
  53. "html": "<td styles='normalTdCenterNode' item='dynamicObjectType'></td>",
  54. "items": {
  55. "dynamicObjectType" : {}
  56. }
  57. }
  58. },
  59. {
  60. "name": "targetIdentity",
  61. "head": {
  62. "html": "<th styles='normalThNode' lable='targetIdentity'></th>",
  63. "width": "15%"
  64. },
  65. "content": {
  66. "html": "<td styles='normalTdCenterNode' item='targetIdentity'></td>",
  67. "items": {
  68. "targetIdentity" : {}
  69. }
  70. }
  71. },
  72. {
  73. "name": "activityName",
  74. "head": {
  75. "html": "<th styles='normalThNode' lable='activityName'></th>",
  76. "width": "15%"
  77. },
  78. "content": {
  79. "html": "<td styles='normalTdCenterNode' item='activityName'></td>",
  80. "items": {
  81. "activityName" : {}
  82. }
  83. }
  84. },
  85. {
  86. //"access": "admin",
  87. "head": {
  88. "html": "<th styles='normalThNode' lable='action'></th>",
  89. "width": "10%"
  90. },
  91. "content": {
  92. "html": "<td styles='normalTdCenterNode'>" +
  93. //" <span styles='documentActionNode' item='action_open'></span>" +
  94. " <span styles='documentActionNode' item='action_remove'></span>" +
  95. "</td>",
  96. "items": {
  97. "action_open": {
  98. "title": "open",
  99. "text": "open",
  100. "action": "action_open",
  101. "condition": "function( d ){ return true }",
  102. "styles": "documentActionNode",
  103. "mouseoverStyles": "documentActionNode_over",
  104. "mousedownStyles": "documentActionNode_down"
  105. },
  106. "action_remove":{
  107. "title": "remove",
  108. "text": "remove",
  109. "action": "action_remove",
  110. "condition": "function( d ){ return true }",
  111. "styles": "documentActionNode",
  112. "mouseoverStyles": "documentActionNode_over",
  113. "mousedownStyles": "documentActionNode_down"
  114. }
  115. }
  116. }
  117. }
  118. ]
  119. }