listItem.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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": "viewProgressDescription",
  16. "head": {
  17. "html": "<th styles='normalThNode' lable='viewProgressAction'></th>",
  18. "width": "20%"
  19. },
  20. "content": {
  21. "html": "<td styles='normalTdNode'>"+
  22. "<div item='name' styles='documentSubject'></div>" +
  23. "</td>",
  24. "items": {
  25. "name":{},
  26. "responsibilityOrganizationName": {},
  27. "deployerOrganizationName": {},
  28. "cooperateOrganizationName": {}
  29. }
  30. }
  31. },
  32. {
  33. "name": "viewProgressDescription",
  34. "head": {
  35. "html": "<th styles='normalThNode' lable='viewProgressDescription'></th>",
  36. "width": "20%"
  37. },
  38. "content": {
  39. "html": "<td styles='normalTdNode'>"+
  40. "<div item='shortProgressAction' styles='documentSubject'></div>" +
  41. "</td>",
  42. "items": {
  43. "name":{},
  44. "shortProgressAction":{},
  45. "responsibilityOrganizationName": {},
  46. "deployerOrganizationName": {},
  47. "cooperateOrganizationName": {}
  48. }
  49. }
  50. },
  51. {
  52. "name": "viewWorkPlan",
  53. "head": {
  54. "html": "<th styles='normalThNode' lable='viewWorkPlan'></th>",
  55. "width": "20%"
  56. },
  57. "content": {
  58. "html": "<td styles='normalTdNode'>" +
  59. " <div styles='itemBlock'><div styles='itemInLine' lable='responsibilityEmployeeName' colon='true'></div><div styles='itemInLine' item='responsibilityEmployeeName'></div></div>" +
  60. " <div styles='itemBlock'><div styles='itemInLine' lable='deployerName' colon='true'></div><div styles='itemInLine' item='deployerName'></div></div>" +
  61. " <div styles='itemBlock'><div styles='itemInLine' lable='cooperateEmployeeName' colon='true'></div><div styles='itemInLine' item='cooperateEmployeeName'></div></div>" +
  62. "</td>",
  63. "items": {
  64. "responsibilityEmployeeName": {},
  65. "deployerName": {},
  66. "cooperateEmployeeName": {}
  67. }
  68. }
  69. },
  70. {
  71. "name": "viewAdminSuperviseInfo",
  72. "head": {
  73. "html": "<th styles='normalThNode' lable='viewAdminSuperviseInfo'></th>",
  74. "width": "20%"
  75. },
  76. "content": {
  77. "html": "<td styles='normalTdCenterNode' item='completeDateLimitStr'></td>",
  78. "items": {
  79. "completeDateLimitStr" : {}
  80. }
  81. }
  82. },
  83. {
  84. "name": "viewLeaderOpinion",
  85. "head": {
  86. "html": "<th styles='normalThNode' lable='viewLeaderOpinion'></th>",
  87. "width": "15%",
  88. },
  89. "content": {
  90. "html": "<td styles='normalTdCenterNode' item='completeDateLimitStr'></td>",
  91. "items": {
  92. "completeDateLimitStr" : {}
  93. }
  94. }
  95. },
  96. {
  97. //"access": "admin",
  98. "head": {
  99. "html": "<th styles='normalThNode' lable='viewAction'></th>",
  100. "width": "10%"
  101. },
  102. "content": {
  103. "html": "<td styles='normalTdCenterNode'>" +
  104. // " <span styles='documentActionNode' item='action_comfirm'></span>" +
  105. // " <span styles='documentActionNode' item='action_split'></span>" +
  106. // " <span styles='documentActionNode' item='action_edit'></span>" +
  107. // " <span styles='documentActionNode' item='remove'></span>" +
  108. "</td>",
  109. "items": {
  110. "action_comfirm": {
  111. //"access": "admin",
  112. "title": "comfirm",
  113. "text": "comfirm",
  114. "action": "action_comfirm",
  115. "styles": "documentActionNode",
  116. "mouseoverStyles": "documentActionNode_over",
  117. "mousedownStyles": "documentActionNode_down"
  118. },
  119. "action_split": {
  120. "title": "split",
  121. "text": "split",
  122. "action": "action_split",
  123. "condition": "function( d ){ return this.splitActionReturn(d) }",
  124. "styles": "documentActionNode",
  125. "mouseoverStyles": "documentActionNode_over",
  126. "mousedownStyles": "documentActionNode_down"
  127. },
  128. "action_edit": {
  129. "title": "edit",
  130. "text": "edit",
  131. "action": "action_edit",
  132. "condition": "function( d ){ return this.editActionReturn(d) }",
  133. "styles": "documentActionNode",
  134. "mouseoverStyles": "documentActionNode_over",
  135. "mousedownStyles": "documentActionNode_down"
  136. },
  137. "remove": {
  138. "title": "remove",
  139. "text": "remove",
  140. "action": "remove",
  141. "condition": "function( d ){ return this.removeActionReturn(d) }",
  142. "styles": "documentActionNode",
  143. "mouseoverStyles": "documentActionNode_over",
  144. "mousedownStyles": "documentActionNode_down"
  145. }
  146. }
  147. }
  148. }
  149. ]
  150. }