listItem.json 5.4 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": "subject",
  16. "head": {
  17. "html": "<th styles='normalThNode' lable='shortWorkDetail'></th>",
  18. "width": "40%"
  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": "relativeDepartment",
  35. "head": {
  36. "html": "<th styles='normalThNode' lable='relativeDepartment'></th>",
  37. "width": "20%"
  38. },
  39. "content": {
  40. "html": "<td styles='normalTdNode'>" +
  41. " <div styles='itemBlock'><div styles='itemInLine' lable='dutyDepartent' colon='true'>2222</div><div styles='itemInLine' item='responsibilityOrganizationName'></div></div>" +
  42. " <div styles='itemBlock'><div styles='itemInLine' lable='doDepartment' colon='true'></div><div styles='itemInLine' item='deployerOrganizationName'></div></div>" +
  43. " <div styles='itemBlock'><div styles='itemInLine' lable='secondDepartment' colon='true'></div><div styles='itemInLine' item='cooperateOrganizationName'></div></div>" +
  44. "</td>",
  45. "items": {
  46. "responsibilityOrganizationName": {
  47. },
  48. "deployerOrganizationName": {},
  49. "cooperateOrganizationName": {}
  50. }
  51. }
  52. },
  53. {
  54. "name": "relativePerson",
  55. "head": {
  56. "html": "<th styles='normalThNode' lable='relativePerson'></th>",
  57. "width": "15%"
  58. },
  59. "content": {
  60. "html": "<td styles='normalTdNode'>" +
  61. " <div styles='itemBlock'><div styles='itemInLine' lable='dutyPerson' colon='true'></div><div styles='itemInLine' item='responsibilityEmployeeName'></div></div>" +
  62. " <div styles='itemBlock'><div styles='itemInLine' lable='doPerson' colon='true'></div><div styles='itemInLine' item='deployerName'></div></div>" +
  63. " <div styles='itemBlock'><div styles='itemInLine' lable='secondPerson' colon='true'></div><div styles='itemInLine' item='cooperateEmployeeName'></div></div>" +
  64. "</td>",
  65. "items": {
  66. "responsibilityEmployeeName": {},
  67. "deployerName": {},
  68. "cooperateEmployeeName": {}
  69. }
  70. }
  71. },
  72. {
  73. "name": "timeLimit",
  74. "head": {
  75. "html": "<th styles='normalThNode' lable='timeLimit'></th>",
  76. "width": "15%"
  77. },
  78. "content": {
  79. "html": "<td styles='normalTdCenterNode' item='completeDateLimitStr'></td>",
  80. "items": {
  81. "completeDateLimitStr" : {}
  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_comfirm'></span>" +
  94. " <span styles='documentActionNode' item='action_split'></span>" +
  95. " <span styles='documentActionNode' item='action_edit'></span>" +
  96. " <span styles='documentActionNode' item='action_appoint'></span>" +
  97. " <span styles='documentActionNode' item='remove'></span>" +
  98. "</td>",
  99. "items": {
  100. "action_comfirm": {
  101. //"access": "admin",
  102. "title": "comfirm",
  103. "text": "comfirm",
  104. "action": "action_comfirm",
  105. "styles": "documentActionNode",
  106. "mouseoverStyles": "documentActionNode_over",
  107. "mousedownStyles": "documentActionNode_down"
  108. },
  109. "action_split": {
  110. "title": "split",
  111. "text": "split",
  112. "action": "action_split",
  113. "condition": "function( d ){ return this.splitActionReturn(d) }",
  114. "styles": "documentActionNode",
  115. "mouseoverStyles": "documentActionNode_over",
  116. "mousedownStyles": "documentActionNode_down"
  117. },
  118. "action_edit": {
  119. "title": "edit",
  120. "text": "edit",
  121. "action": "action_edit",
  122. "condition": "function( d ){ return this.editActionReturn(d) }",
  123. "styles": "documentActionNode",
  124. "mouseoverStyles": "documentActionNode_over",
  125. "mousedownStyles": "documentActionNode_down"
  126. },
  127. "action_appoint": {
  128. "title": "appoint",
  129. "text": "appoint",
  130. "action": "action_appoint",
  131. "condition": "function( d ){ return this.appointActionReturn(d) }",
  132. "styles": "documentActionNode",
  133. "mouseoverStyles": "documentActionNode_over",
  134. "mousedownStyles": "documentActionNode_down"
  135. },
  136. "remove": {
  137. "title": "remove",
  138. "text": "remove",
  139. "action": "remove",
  140. "condition": "function( d ){ return this.removeActionReturn(d) }",
  141. "styles": "documentActionNode",
  142. "mouseoverStyles": "documentActionNode_over",
  143. "mousedownStyles": "documentActionNode_down"
  144. }
  145. }
  146. }
  147. }
  148. ]
  149. }