|
|
@@ -93,7 +93,6 @@ export const okrApi = {
|
|
|
getSubordinates: periodId => api.get(`/okr/period/${periodId}/subordinates`).then(r => r.data),
|
|
|
getPendingReviews: periodId => api.get(`/okr/period/${periodId}/pending-reviews`).then(r => r.data),
|
|
|
getAllOkrs: periodId => api.get(`/okr/period/${periodId}/all`).then(r => r.data),
|
|
|
- getWorkbench: periodId => api.get('/okr/workbench', { params: { periodId } }).then(r => r.data),
|
|
|
getDetail: id => api.get(`/okr/${id}`).then(r => r.data),
|
|
|
getTree: periodId => api.get(`/okr/period/${periodId}/tree`).then(r => r.data),
|
|
|
getOrphans: periodId => api.get(`/okr/period/${periodId}/orphans`).then(r => r.data),
|
|
|
@@ -123,8 +122,6 @@ export const scoreApi = {
|
|
|
getPage: (periodId, userId) => api.get('/scores/page', { params: { periodId, userId } }).then(r => r.data),
|
|
|
getMyResult: periodId => api.get('/scores/my', { params: { periodId } }).then(r => r.data),
|
|
|
getSubordinates: periodId => api.get('/scores/subordinates', { params: { periodId } }).then(r => r.data),
|
|
|
- getReviewQueue: periodId => api.get('/scores/review-queue', { params: { periodId } }).then(r => r.data),
|
|
|
- getHistory: () => api.get('/scores/history').then(r => r.data)
|
|
|
}
|
|
|
|
|
|
export const scoreAppealApi = {
|