添加了项目前景 绩效 审批配置做了一部分有点晕 我换换脑子继续这个 还有说明菜单

This commit is contained in:
2026-06-17 17:06:01 +08:00
parent 8ad3f2d7dd
commit 88c374952a
38 changed files with 4932 additions and 0 deletions

View 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 }
})
}