listItemBaseDo.json 5.8 KB

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