import http from '@/apis/axios'
const api = 'admin/'
export default {
  // 离职交接列表
  list: (data, params) => http(api + 'Resigninfolist', data, 'post', params),
  // 获取交接详情
  detail: (data, params) => http(api + 'Resigninfoselect', data, 'post', params),
  // 更新
  update: (data, params) => http(api + 'Resigninfoedit', data, 'post', params),
  // 新建离职交接
  add: (data, params) => http(api + 'Resigninfocreate', data, 'post', params),
  //离职交接删除
  delete: (data, params) => http(api + 'Resigninfodel', data, 'post', params),
  // 离职交接状态
  status: (data, params) => http(api + 'Resigninfostatu', data, 'post', params),
  // 拉取角色列表
  getRole: (data, params) => http(api + 'roleall', data, 'post', params)
}