yaozc
2023-07-07 c752e33fe402e2179e7e6795f567d41c044ca3c6
eladmin-web-master/src/api/system/user.js
@@ -9,6 +9,22 @@
  })
}
export function get(params) {
  return request({
    url: 'api/users',
    method: 'get',
    params
  })
}
export function getApprovalUsers(params) {
  return request({
    url: 'api/users/approval',
    method: 'get',
    params
  })
}
export function add(data) {
  return request({
    url: 'api/users',
@@ -72,11 +88,11 @@
  })
}
export function getUserBaseInfo() {
export function getUserBaseInfo(yearMonth) {
  return request({
    url: 'api/users/getUserBaseInfo',
    url: 'api/users/getUserBaseInfo/' + yearMonth,
    method: 'get'
  })
}
export default { getAll, add, edit, del, getUserCalendarInfo, getUserBaseInfo }
export default { getAll, add, edit, del, get, getApprovalUsers, getUserCalendarInfo, getUserBaseInfo }