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',
@@ -65,4 +81,18 @@
  })
}
export default { getAll, add, edit, del }
export function getUserCalendarInfo(month) {
  return request({
    url: 'api/users/getUserCalendarInfo/' + month,
    method: 'get'
  })
}
export function getUserBaseInfo(yearMonth) {
  return request({
    url: 'api/users/getUserBaseInfo/' + yearMonth,
    method: 'get'
  })
}
export default { getAll, add, edit, del, get, getApprovalUsers, getUserCalendarInfo, getUserBaseInfo }