import http from '@/http'

export const list = params => http.get('/api/v1/rectify-audit/list', { params }) // 当前用户的绩效评价整改审核计划列表
const listUrl = {
  1: '/api/v1/rectify-audit/unAudit-list/',
  2: '/api/v1/rectify-audit/audited-list/'
}
export const projectList = (state, planId, params) => http.get(`${listUrl[state]}${planId}`, { params }) // 待整改列表
export const submit = data => http.post('/api/v1/rectify-audit/submit', data) // 提交整改审核结果

