action.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. "getCenterTaskListPrev" : {"uri" : "/jaxrs/okrcenterworkinfo/filter/list/{id}/prev/{count}", "method": "PUT"},
  33. "saveMainTask" : {"uri" : "/jaxrs/okrcenterworkinfo", "method": "POST"},
  34. "getMainTask" : {"uri":"/jaxrs/okrcenterworkinfo/{id}","method":"GET"},
  35. "saveTask" : {"uri" : "/jaxrs/okrworkbaseinfo","method" : "POST"},
  36. "getTask" : {"uri" : "/jaxrs/okrworkbaseinfo/{id}","method":"GET"},
  37. "getUserBaseWork" : {"uri" : "/jaxrs/okrworkbaseinfo/form/center/{id}","method": "GET"},
  38. "getUserNestBaseWork" : {"uri" : "/jaxrs/okrworkbaseinfo/center/{id}","method": "GET"},
  39. "deleteBaseWork" : {"uri":"/jaxrs/okrworkbaseinfo/{id}","method": "DELETE"},
  40. "getUserProcessBaseWork" : {"uri":"/jaxrs/okrworkbaseinfo/process/form/center/{id}","method":"GET"},
  41. "getUserDeployBaseWork" : {"uri":"/jaxrs/okrworkbaseinfo/deploy/form/center/{id}","method":"GET"},
  42. "appointBaseWork" : {"uri" : "/jaxrs/okrauthorize/work", "method": "PUT"},
  43. "unAppointBaseWork" : {"uri" : "/jaxrs/okrauthorize/takeback", "method": "PUT"},
  44. //{
  45. //"deployerIdentity":"开发部经理",
  46. //"workIds":["id","id","id"]
  47. //}
  48. "importBaseWork" : {"uri" : "/servlet/import/center/{centerId}","method":"POST", "enctype": "formData"},
  49. "deployBaseWork" : {"uri" : "/jaxrs/okrworkbaseinfo/deploy", "method": "PUT"},
  50. "getBaseWorkDetails" : {"uri":"/jaxrs/okrworkdetailinfo/{id}","method":"GET"},
  51. "getBaseWorksByParentId" : {"uri":"/jaxrs/okrworkbaseinfo/list/sub/{id}","method":"GET"},
  52. "getBaseWorkListMyDrafterNext" : {"uri" : "/jaxrs/okrworkbaseinfo/draft/list/{id}/next/{count}", "method": "PUT"},
  53. "getBaseWorkListMyDrafterPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/draft/list/{id}/prev/{count}", "method": "PUT"},
  54. "getBaseWorkListMyDeployNext" : {"uri" : "/jaxrs/okrworkbaseinfo/deployed/list/{id}/next/{count}", "method": "PUT"},
  55. "getBaseWorkListMyDeployPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/deployed/list/{id}/prev/{count}", "method": "PUT"},
  56. "getBaseWorkListMyDoNext" : {"uri" : "/jaxrs/okrworkbaseinfo/responsibility/list/{id}/next/{count}", "method": "PUT"},
  57. "getBaseWorkListMyDoPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/responsibility/list/{id}/prev/{count}", "method": "PUT"},
  58. "getBaseWorkListMyAssistNext" : {"uri" : "/jaxrs/okrworkbaseinfo/cooperate/list/{id}/next/{count}", "method": "PUT"},
  59. "getBaseWorkListMyAssistPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/cooperate/list/{id}/prev/{count}", "method": "PUT"},
  60. "getBaseWorkListMyReadNext" : {"uri" : "/jaxrs/okrworkbaseinfo/read/list/{id}/next/{count}", "method": "PUT"},
  61. "getBaseWorkListMyReadPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/read/list/{id}/prev/{count}", "method": "PUT"},
  62. "getBaseWorkListMyAppointNext" : {"uri" : "/jaxrs/okrworkbaseinfo/delegate/list/{id}/next/{count}", "method": "PUT"},
  63. "getBaseWorkListMyAppointPrev" : {"uri" : "/jaxrs/okrworkbaseinfo/delegate/list/{id}/prev/{count}", "method": "PUT"},
  64. //chat
  65. "submitChat" :{"uri" : "/jaxrs/okrworkchat","method" : "POST"},
  66. "getChatListNext" :{"uri" : "/jaxrs/okrworkchat/filter/list/{id}/next/{count}", "method": "PUT"},
  67. "getChatListPrev" :{"uri" : "/jaxrs/okrworkchat/filter/list/{id}/prev/{count}", "method": "PUT"},
  68. //工作汇报
  69. "workReportDrafter":{"uri": "/jaxrs/okrworkreportbaseinfo/draft/{workId}", "method": "GET"},
  70. "getWorkReport" : {"uri":"/jaxrs/okrworkreportbaseinfo/{id}","method":"GET"},
  71. "saveWorkReport" :{"uri":"/jaxrs/okrworkreportbaseinfo","method":"POST"},
  72. "submitWorkReport" : {"uri":"/jaxrs/okrworkreportbaseinfo/submit","method":"PUT"},
  73. "deleteWortReport" : {"uri":"/jaxrs/okrworkreportbaseinfo/{id}","method": "DELETE"},
  74. "getWorkReportList" : {"uri":"/jaxrs/okrworkreportbaseinfo/list/work/{workId}","method":"GET"},
  75. "getWorkReportDrafterNext" : {"uri" : "/jaxrs/okrworkreportbaseinfo/draft/list/{id}/next/{count}", "method": "PUT"},
  76. "getWorkReportDrafterPrev" : {"uri" : "/jaxrs/okrworkreportbaseinfo/draft/list/{id}/prev/{count}", "method": "PUT"},
  77. "getWorkReportTodoNext" : {"uri" : "/jaxrs/okrworkreportbaseinfo/task/list/{id}/next/{count}", "method": "PUT"},
  78. "getWorkReportTodoPrev" : {"uri" : "/jaxrs/okrworkreportbaseinfo/task/list/{id}/prev/{count}", "method": "PUT"},
  79. "getWorkReportDoneNext" : {"uri" : "/jaxrs/okrworkreportbaseinfo/process/list/{id}/next/{count}", "method": "PUT"},
  80. "getWorkReportDonePrev" : {"uri" : "/jaxrs/okrworkreportbaseinfo/process/list/{id}/prev/{count}", "method": "PUT"},
  81. "getWorkReportOpinion" : {"uri":"/jaxrs/okrworkreportbaseinfo/process","method":"PUT"},
  82. //系统设置
  83. "deleteConfig" : {"uri":"/jaxrs/okrconfigsystem/{id}","method": "DELETE"},
  84. "saveConfig" : {"uri" : "/jaxrs/okrconfigsystem","method" : "POST"},
  85. "getConfig" : {"uri" : "/jaxrs/okrconfigsystem/{id}","method":"GET"},
  86. "listConfigAll" : {"uri" : "/jaxrs/okrconfigsystem/all"},
  87. //根据当前人员获取可能替代的身份
  88. "listMyRelief": {"uri": "/jaxrs/okrconfigsecretary/list/my"},
  89. "deleteSecretary" : {"uri":"/jaxrs/okrconfigsecretary/{id}","method": "DELETE"},
  90. "saveSecretary" : {"uri" : "/jaxrs/okrconfigsecretary","method" : "POST"},
  91. "getSecretary" : {"uri" : "/jaxrs/okrconfigsecretary/{id}","method":"GET"},
  92. "listSecretaryNext" : {"uri" : "/jaxrs/okrconfigsecretary/filter/list/{id}/next/{count}","method":"PUT"},
  93. "listSecretaryPerv" : {"uri" : "/jaxrs/okrconfigsecretary/filter/list/{id}/prev/{count}","method":"PUT"},
  94. "deleteCategory" : {"uri":"/jaxrs/okrconfigworktype/{id}","method": "DELETE"},
  95. "saveCategory" : {"uri" : "/jaxrs/okrconfigworktype","method" : "POST"},
  96. "getCategory" : {"uri" : "/jaxrs/okrconfigworktype/{id}","method":"GET"},
  97. "listCategoryAll" : {"uri" : "/jaxrs/okrconfigworktype/all"},
  98. "getCategoryCountAll" : {"uri" : "/jaxrs/okrconfigworktype/countAll","method":"GET"}, //查询所有工作类别信息并且统计中心工作数量(统计所有中心工作)
  99. "getCategoryMyCountAll" : {"uri" : "/jaxrs/okrconfigworktype/my/countAll","method":"GET"}, //查询所有工作类别信息并且统计中心工作数量(带权限)
  100. "listAttachment" : {"uri":"/jaxrs/okrattachmentfileinfo/list/work/{documentid}"},
  101. "getAttachment": {"uri": "/jaxrs/okrattachmentfileinfo/{id}"},
  102. "deleteAttachment": {"uri": "/jaxrs/okrattachmentfileinfo/{id}", "method": "DELETE"},
  103. "uploadAttachment": {"uri": "/servlet/upload/work/{documentid}", "method": "POST", "enctype": "formData"},
  104. //"replaceAttachment": {"uri": "/servlet/download/{id}/stream", "method": "POST", "enctype": "formData"},
  105. "getAttachmentData": {"uri": "/servlet/download/workattachment/{id}/stream", "method": "GET"},
  106. "getAttachmentStream": {"uri": "/servlet/download/workattachment/{id}/stream", "method": "GET"},
  107. "getStatListForCenterWork" :{"uri": "/jaxrs/workreportstatistic/filter/center", "method": "PUT"},
  108. "getStatByWorkId" :{"uri":"/jaxrs/workreportstatistic/statistic/{id}/{parentWorkId}","method":"GET"},
  109. "getTodoListNext" : {"uri" : "/jaxrs/admin/okrtask/filter/{id}/next/{count}", "method": "PUT"},
  110. "deleteTodoWork" : {"uri":"/jaxrs/admin/okrtask/{id}","method": "DELETE"},
  111. "getBaseWorkDetails" : {"uri":"/jaxrs/admin/okrworkbaseinfo/{id}","method":"GET"},
  112. "getBaseWorkListNext" : {"uri" : "/jaxrs/admin/okrworkbaseinfo/filter/list/{id}/next/{count}", "method": "PUT"},
  113. "deleteBaseWork" : {"uri":"/jaxrs/admin/okrworkbaseinfo/{id}","method": "DELETE"},
  114. "getCenterWorkListNext" : {"uri" : "/jaxrs/admin/okrcenterworkinfo/filter/list/{id}/next/{count}", "method": "PUT"},
  115. "deleteCenterWork" : {"uri":"/jaxrs/admin/okrcenterworkinfo/{id}","method": "DELETE"},
  116. "getReportWorkListNext" :{"uri" : "/jaxrs/admin/okrworkreportbaseinfo/filter/list/{id}/next/{count}","method": "PUT"},
  117. "deleteWorkReport":{"uri" : "/jaxrs/admin/okrworkreportbaseinfo/{id}","method": "DELETE"},
  118. "getWorkReport" : {"uri":"/jaxrs/okrworkreportbaseinfo/{id}","method":"GET"},
  119. "getErrorIndentitytNext":{"uri":"/jaxrs/error/identity/filter/list/{id}/next/{count}","method":"PUT"},
  120. "getErrorIdentityDetail" : {"uri":"/jaxrs/error/identity/detail","method":"PUT"},
  121. "replaceErrorIdentity" :{"uri":"/jaxrs/error/identity/change","method":"PUT"}
  122. }