添加了项目前景 绩效 审批配置做了一部分有点晕 我换换脑子继续这个 还有说明菜单
This commit is contained in:
25
ruoyi-ui/src/api/oa/performance.js
Normal file
25
ruoyi-ui/src/api/oa/performance.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function myPerformance(period) {
|
||||
return request({ url: '/oa/performance/mine', method: 'get', params: { period } })
|
||||
}
|
||||
export function rankPerformance(query) {
|
||||
return request({ url: '/oa/performance/rank', method: 'get', params: query })
|
||||
}
|
||||
export function userPerformance(userId, period) {
|
||||
return request({ url: '/oa/performance/of/' + userId, method: 'get', params: { period } })
|
||||
}
|
||||
// 高总(或管理员)打主观分 0~40
|
||||
export function setSubjective(userId, userName, period, score) {
|
||||
return request({
|
||||
url: '/oa/performance/subjective', method: 'post',
|
||||
params: { userId, userName, period, score }
|
||||
})
|
||||
}
|
||||
// 手动加/扣分:points 正=扣 负=加
|
||||
export function manualAdjust(userId, userName, points, reason) {
|
||||
return request({
|
||||
url: '/oa/performance/manual', method: 'post',
|
||||
params: { userId, userName, points, reason }
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user