action.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {
  2. "getId" : {"uri":"/jaxrs/uuid/random"},
  3. "login" : {"uri":"/jaxrs/login","method":"POST"},
  4. "logout" : {"uri":"/jaxrs/logout","method":"POST"},
  5. //根据人员获取部门
  6. "listDepartmentByPerson": {"uri": "/jaxrs/department/list/person/{name}"},
  7. //根据人员获取所在公司
  8. "listCompanyByPerson": {"uri": "/jaxrs/company/list/person/{name}"},
  9. //获取公司的一级部门
  10. "listDepartmentByCompany": {"uri": "/jaxrs/department/list/company/{companyName}/top"},
  11. "getDepartmentDuty": {"uri": "/jaxrs/departmentduty/{name}/department/{departmentName}"},
  12. //根据身份获取人员
  13. "getPersonByIdentity": {"uri": "/jaxrs/person/identity/{name}"},
  14. //根据人员获取身份
  15. "listIdentityByPerson": {"uri": "/jaxrs/identity/list/person/{name}"},
  16. //获取人员
  17. "getPerson": {"uri": "/jaxrs/person/{name}"},
  18. "getDepartmentGather" : {"uri":"/jaxrs/okrtask/department/reportTaskCollect/{id}","method":"GET"},
  19. "getMyStat": {"uri":"/jaxrs/okrworkbaseinfo/statistic/my"},
  20. "getWorkConditionListNext": {"uri": "/jaxrs/okrworkdynamics/filter/list/{id}/next/{count}","method":"put"},
  21. "getWorkConditionListPrev": {"uri": "/okrworkdynamics/filter/list/{id}/prev/{count}","method":"put"},
  22. "getTaskListNext": {"uri": "/jaxrs/okrtask/filter/my/{id}/next/{count}","method":"put"},
  23. "getTaskListPrev": {"uri": "/jaxrs/okrtask/filter/my/{id}/prev/{count}","method":"put"},
  24. "readDone" : {"uri":"/jaxrs/okrtask/process/read/{id}","method":"GET"},
  25. "listDetailFilterNext" : {"uri" : "/jaxrs/attendancedetail/filter/list/{id}/next/{count}", "method": "PUT"},
  26. "listDetailFilterPrev" : {"uri" : "jaxrs/attendancedetail/filter/list/{id}/prev/{count}", "method": "PUT"},
  27. "getCenterWorkDrafterListNext" : {"uri" : "/jaxrs/okrcenterworkinfo/draft/list/{id}/next/{count}", "method": "PUT"},
  28. "getCenterWorkDrafterListPrev" : {"uri" : "/jaxrs/okrcenterworkinfo/draft/list/{id}/prev/{count}", "method": "PUT"},
  29. "getCenterWorkDeployListNext" : {"uri" : "/jaxrs/okrcenterworkinfo/deployed/list/{id}/next/{count}", "method": "PUT"},
  30. "getCenterWorkDDeployListPrev" : {"uri" : "/jaxrs/okrcenterworkinfo/deployed/list/{id}/prev/{count}", "method": "PUT"},
  31. "getProfileByCode" : {"uri":"/jaxrs/okrconfigsystem/code","method":"PUT"},
  32. "getCenterWorkListNext" : {"uri" : "/jaxrs/okrcenterworkinfo/filter/list/{id}/next/{count}", "method": "PUT"},
  33. "getCenterTaskListPrev" : {"uri" : "/jaxrs/okrcenterworkinfo/filter/list/{id}/prev/{count}", "method": "PUT"},
  34. "getCenterWorkArchiveListNext" : {"uri" : "/jaxrs/okrcenterworkinfo/archive/list/{id}/next/{count}", "method": "PUT"},
  35. "saveMainTask" : {"uri" : "/jaxrs/okrcenterworkinfo", "method": "POST"},
  36. "getMainTask" : {"uri":"/jaxrs/okrcenterworkinfo/{id}","method":"GET"},
  37. "archiveMainTask" : {"uri":"/jaxrs/okrcenterworkinfo/archive/{id}","method":"GET"},
  38. "deleteCenterWork" : {"uri":"/jaxrs/okrcenterworkinfo/{id}","method": "DELETE"},
  39. "saveTask" : {"uri" : "/jaxrs/okrworkbaseinfo","method" : "POST"},
  40. "getTask" : {"uri" : "/jaxrs/okrworkbaseinfo/{id}","method":"GET"},
  41. "getUserBaseWork" : {"uri" : "/jaxrs/okrworkbaseinfo/form/center/{id}","method": "GET"},
  42. "getUserNestBaseWork" : {"uri" : "/jaxrs/okrworkbaseinfo/center/{id}","method": "GET"},
  43. "deleteBaseWork" : {"uri":"/jaxrs/okrworkbaseinfo/{id}","method": "DELETE"},
  44. "getUserProcessBaseWork" : {"uri":"/jaxrs/okrworkbaseinfo/process/form/center/{id}","method":"GET"},
  45. "getUserDeployBaseWork" : {"uri":"/jaxrs/okrworkbaseinfo/deploy/form/center/{id}","method":"GET"},
  46. "appointBaseWork" : {"uri" : "/jaxrs/okrauthorize/work", "method": "PUT"},
  47. "unAppointBaseWork" : {"uri" : "/jaxrs/okrauthorize/takeback", "method": "PUT"},
  48. //{
  49. //"deployerIdentity":"开发部经理",
  50. //"workIds":["id","id","id"]
  51. //}
  52. "importBaseWork" : {"uri" : "/servlet/import/center/{centerId}","method":"POST", "enctype": "formData"},
  53. "deployBaseWork" : {"uri" : "/jaxrs/okrworkbaseinfo/deploy", "method": "PUT"},
  54. "getBaseWorkDetails" : {"uri":"/jaxrs/okrworkdetailinfo/{id}","method":"GET"},
  55. "getBaseWorksByParentId" : {"uri":"/jaxrs/okrworkbaseinfo/list/sub/{id}","method":"GET"},
  56. "getBaseWorkListMyDrafterNext" : {"uri" : "/jaxrs/okrworkbaseinfo/draft/list/{id}/next/{count}", "method": "PUT"},
  57. "getBaseWorkListMyDrafterPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/draft/list/{id}/prev/{count}", "method": "PUT"},
  58. "getBaseWorkListMyDeployNext" : {"uri" : "/jaxrs/okrworkbaseinfo/deployed/list/{id}/next/{count}", "method": "PUT"},
  59. "getBaseWorkListMyDeployPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/deployed/list/{id}/prev/{count}", "method": "PUT"},
  60. "getBaseWorkListMyDoNext" : {"uri" : "/jaxrs/okrworkbaseinfo/responsibility/list/{id}/next/{count}", "method": "PUT"},
  61. "getBaseWorkListMyDoPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/responsibility/list/{id}/prev/{count}", "method": "PUT"},
  62. "getBaseWorkListMyAssistNext" : {"uri" : "/jaxrs/okrworkbaseinfo/cooperate/list/{id}/next/{count}", "method": "PUT"},
  63. "getBaseWorkListMyAssistPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/cooperate/list/{id}/prev/{count}", "method": "PUT"},
  64. "getBaseWorkListMyReadNext" : {"uri" : "/jaxrs/okrworkbaseinfo/read/list/{id}/next/{count}", "method": "PUT"},
  65. "getBaseWorkListMyReadPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/read/list/{id}/prev/{count}", "method": "PUT"},
  66. "getBaseWorkListMyAppointNext" : {"uri" : "/jaxrs/okrworkbaseinfo/delegate/list/{id}/next/{count}", "method": "PUT"},
  67. "getBaseWorkListMyAppointPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/delegate/list/{id}/prev/{count}", "method": "PUT"},
  68. "getBaseWorkListMyArchiveNext" : {"uri" : "/jaxrs/okrworkbaseinfo/archive/list/{id}/next/{count}", "method": "PUT"},
  69. //chat
  70. "submitChat" :{"uri" : "/jaxrs/okrworkchat","method" : "POST"},
  71. "getChatListNext" :{"uri" : "/jaxrs/okrworkchat/filter/list/{id}/next/{count}", "method": "PUT"},
  72. "getChatListPrev" :{"uri" : "/jaxrs/okrworkchat/filter/list/{id}/prev/{count}", "method": "PUT"},
  73. //工作汇报
  74. "workReportDrafter":{"uri": "/jaxrs/okrworkreportbaseinfo/draft/{workId}", "method": "GET"},
  75. "getWorkReport" : {"uri":"/jaxrs/okrworkreportbaseinfo/{id}","method":"GET"},
  76. "saveWorkReport" :{"uri":"/jaxrs/okrworkreportbaseinfo","method":"POST"},
  77. "submitWorkReport" : {"uri":"/jaxrs/okrworkreportbaseinfo/submit","method":"PUT"},
  78. "deleteWortReport" : {"uri":"/jaxrs/okrworkreportbaseinfo/{id}","method": "DELETE"},
  79. "getWorkReportList" : {"uri":"/jaxrs/okrworkreportbaseinfo/list/work/{workId}","method":"GET"},
  80. "getWorkReportDrafterNext" : {"uri" : "/jaxrs/okrworkreportbaseinfo/draft/list/{id}/next/{count}", "method": "PUT"},
  81. "getWorkReportDrafterPrev" : {"uri" : "/jaxrs/okrworkreportbaseinfo/draft/list/{id}/prev/{count}", "method": "PUT"},
  82. "getWorkReportTodoNext" : {"uri" : "/jaxrs/okrworkreportbaseinfo/task/list/{id}/next/{count}", "method": "PUT"},
  83. "getWorkReportTodoPrev" : {"uri" : "/jaxrs/okrworkreportbaseinfo/task/list/{id}/prev/{count}", "method": "PUT"},
  84. "getWorkReportDoneNext" : {"uri" : "/jaxrs/okrworkreportbaseinfo/process/list/{id}/next/{count}", "method": "PUT"},
  85. "getWorkReportDonePrev" : {"uri" : "/jaxrs/okrworkreportbaseinfo/process/list/{id}/prev/{count}", "method": "PUT"},
  86. "getWorkReportOpinion" : {"uri":"/jaxrs/okrworkreportbaseinfo/process","method":"PUT"},
  87. "getWorkReportArchiveNext" : {"uri" : "/jaxrs/okrworkreportbaseinfo/archive/list/{id}/next/{count}", "method": "PUT"},
  88. //系统设置
  89. "deleteConfig" : {"uri":"/jaxrs/okrconfigsystem/{id}","method": "DELETE"},
  90. "saveConfig" : {"uri" : "/jaxrs/okrconfigsystem","method" : "POST"},
  91. "getConfig" : {"uri" : "/jaxrs/okrconfigsystem/{id}","method":"GET"},
  92. "listConfigAll" : {"uri" : "/jaxrs/okrconfigsystem/all"},
  93. //根据当前人员获取可能替代的身份
  94. "listMyRelief": {"uri": "/jaxrs/okrconfigsecretary/list/my"},
  95. "deleteSecretary" : {"uri":"/jaxrs/okrconfigsecretary/{id}","method": "DELETE"},
  96. "saveSecretary" : {"uri" : "/jaxrs/okrconfigsecretary","method" : "POST"},
  97. "getSecretary" : {"uri" : "/jaxrs/okrconfigsecretary/{id}","method":"GET"},
  98. "listSecretaryNext" : {"uri" : "/jaxrs/okrconfigsecretary/filter/list/{id}/next/{count}","method":"PUT"},
  99. "listSecretaryPerv" : {"uri" : "/jaxrs/okrconfigsecretary/filter/list/{id}/prev/{count}","method":"PUT"},
  100. "deleteCategory" : {"uri":"/jaxrs/okrconfigworktype/{id}","method": "DELETE"},
  101. "saveCategory" : {"uri" : "/jaxrs/okrconfigworktype","method" : "POST"},
  102. "getCategory" : {"uri" : "/jaxrs/okrconfigworktype/{id}","method":"GET"},
  103. "listCategoryAll" : {"uri" : "/jaxrs/okrconfigworktype/all"},
  104. "getCategoryCountAll" : {"uri" : "/jaxrs/okrconfigworktype/countAll","method":"GET"}, //查询所有工作类别信息并且统计中心工作数量(统计所有中心工作)
  105. "getCategoryMyCountAll" : {"uri" : "/jaxrs/okrconfigworktype/my/countAll","method":"GET"}, //查询所有工作类别信息并且统计中心工作数量(带权限)
  106. "listAttachment" : {"uri":"/jaxrs/okrattachmentfileinfo/list/work/{documentid}"},
  107. "getAttachment": {"uri": "/jaxrs/okrattachmentfileinfo/{id}"},
  108. "deleteAttachment": {"uri": "/jaxrs/okrattachmentfileinfo/work/attachment/{id} ", "method": "DELETE"},
  109. "uploadAttachment": {"uri": "/servlet/upload/work/{documentid}", "method": "POST", "enctype": "formData"},
  110. //"replaceAttachment": {"uri": "/servlet/download/{id}/stream", "method": "POST", "enctype": "formData"},
  111. "getAttachmentData": {"uri": "/servlet/download/workattachment/{id}/stream", "method": "GET"},
  112. "getAttachmentStream": {"uri": "/servlet/download/workattachment/{id}/stream", "method": "GET"},
  113. "getStatListForCenterWork" :{"uri": "/jaxrs/workreportstatistic/filter/center", "method": "PUT"},
  114. "getStatByWorkId" :{"uri":"/jaxrs/workreportstatistic/statistic/{id}/{parentWorkId}","method":"GET"},
  115. "deleteReportAttachment": {"uri": "/jaxrs/okrattachmentfileinfo/report/attachment/{id} ", "method": "DELETE"},
  116. "getReportAttachmentData": {"uri": "/servlet/download/reportattachment/{id}/stream", "method": "GET"},
  117. "getReportAttachmentStream": {"uri": "/servlet/download/reportattachment/{id}/stream", "method": "GET"},
  118. "listReportAttachment" : {"uri":"/jaxrs/okrattachmentfileinfo/list/report/{documentid}"},
  119. "uploadReportAttachment": {"uri": "/servlet/upload/report/{documentid}", "method": "POST", "enctype": "formData"},
  120. //*****************tidy*******************************
  121. //*******************中心工作*******************
  122. //创建中心工作权限
  123. "createCenterWorkAuthorization" : {"uri" : "/jaxrs/okrconfigsystem/allowed/deploy","method":"GET"},
  124. //获取中心工作内容
  125. "getCenterWorkInfo" : {"uri":"/jaxrs/okrcenterworkinfo/{id}","method":"GET"},
  126. //中心工作保存
  127. "saveCenterWork" : {"uri" : "/jaxrs/okrcenterworkinfo", "method": "POST"},
  128. //中心工作部署
  129. "deployCenterWork" : {"uri" : "/jaxrs/okrcenterworkinfo/deploy/{centerId}", "method" : "GET"},
  130. //*******************中心工作*******************
  131. //*******************具体工作*******************
  132. //具体工作信息
  133. "getBaseWorkInfo" : {"uri" : "/jaxrs/okrworkbaseinfo/view/{id}","method":"GET"},
  134. //获取全部具体工作
  135. "getBaseWorkListAllNext" : {"uri" : "/jaxrs/okrworkbaseinfo/filter/list/{id}/next/{count}", "method": "PUT"},
  136. "getBaseWorkListAllPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/filter/list/{id}/prev/{count}", "method": "PUT"},
  137. //在部署界面获取全部自己部署的工作
  138. "getMyDeployWork" : {"uri":"/jaxrs/okrworkbaseinfo/deploy/form/center/{id}","method":"GET"},
  139. //在部署界面获取全部自己相关的工作
  140. "getMyRelativeWork" : {"uri":"/jaxrs/okrworkbaseinfo/process/form/center/{id}","method":"GET"},
  141. //*******************具体工作*******************
  142. //*******************工作汇报*******************
  143. //*******************工作汇报*******************
  144. //*******************主页*******************
  145. //*******************主页*******************
  146. //*******************统计*******************
  147. //获取时间段内的统计信息
  148. "getStatType" : {"uri" : "/jaxrs/streportstatus/filter/list", "method": "PUT"},
  149. //获取时间段内所有汇报周期列表
  150. "getStatDateList" : {"uri" : "/jaxrs/streportcontent/date/list", "method": "PUT"},
  151. //获取单个时间的统计信息
  152. "getStatDate" : {"uri" : "/jaxrs/streportcontent/filter/list", "method": "PUT"},
  153. //导出单个时间得EXCEL
  154. "exportByCenterWork" : {"uri" : "/jaxrs/streportcontent/export", "method": "PUT"},
  155. //*******************统计*******************
  156. //*******************脑图*******************
  157. "getUserMind" : {"uri" : "/jaxrs/mind/center/{id}","method": "GET"}
  158. //*******************脑图*******************
  159. //******************tidy******************************
  160. }