WXL
2024-08-30 c73a2c380aca7ac4ef16e76388b1a52356df8634
src/api/system/dept.js
@@ -20,7 +20,7 @@
// 查询部门详细
export function getDept(deptId) {
  return request({
    url: '/system/dept/' + deptId,
    url: '/system/dept/getInfo' + deptId,
    method: 'get'
  })
}
@@ -37,8 +37,8 @@
// 修改部门
export function updateDept(data) {
  return request({
    url: '/system/dept',
    method: 'put',
    url: '/system/dept/edit',
    method: 'post',
    data: data
  })
}
@@ -46,7 +46,7 @@
// 删除部门
export function delDept(deptId) {
  return request({
    url: '/system/dept/' + deptId,
    method: 'delete'
    url: '/system/dept/remove/' + deptId,
    method: 'get'
  })
}
}