myWork.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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' width='40%'>" +
  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' width='20%'>" +
  41. " <div styles='itemBlock'><div styles='itemInLine' lable='dutyDepartent' colon='true'></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' width='15%'>" +
  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' width='15%'></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' width='10%'>" +
  93. " <span styles='documentActionNode' item='action_view'></span>" +
  94. " <span styles='documentActionNode' item='action_split'></span>" +
  95. " <span styles='documentActionNode' item='action_authorize'></span>" +
  96. " <span styles='documentActionNode' item='action_tackBack'></span>" +
  97. "</td>",
  98. "items": {
  99. "action_view": {
  100. "title": "action_view",
  101. "text": "action_view",
  102. "action": "action_view",
  103. "styles": "documentActionNode",
  104. "condition": "function( d ){ return this.viewActionReturn(d) }",
  105. "mouseoverStyles": "documentActionNode_over",
  106. "mousedownStyles": "documentActionNode_down"
  107. },
  108. "action_split": {
  109. "title": "action_split",
  110. "text": "action_split",
  111. "action": "action_split",
  112. "styles": "documentActionNode",
  113. "condition": "function( d ){ return this.splitActionReturn(d) }",
  114. "mouseoverStyles": "documentActionNode_over",
  115. "mousedownStyles": "documentActionNode_down"
  116. },
  117. "action_authorize": {
  118. "title": "action_authorize",
  119. "text": "action_authorize",
  120. "action": "action_authorize",
  121. "styles": "documentActionNode",
  122. "condition": "function( d ){ return this.authorizeActionReturn(d) }",
  123. "mouseoverStyles": "documentActionNode_over",
  124. "mousedownStyles": "documentActionNode_down"
  125. },
  126. "action_tackBack": {
  127. "title": "action_tackBack",
  128. "text": "action_tackBack",
  129. "action": "action_tackBack",
  130. "styles": "documentActionNode",
  131. "condition": "function( d ){ return this.tackBackActionReturn(d) }",
  132. "mouseoverStyles": "documentActionNode_over",
  133. "mousedownStyles": "documentActionNode_down"
  134. }
  135. }
  136. }
  137. }
  138. ]
  139. }