yxh
yxh
2025-05-23 8022f7036945b75f82f2dfc43055623f81ed98f6
src/api/system/dept.js
@@ -53,8 +53,8 @@
// 修改部门
export function updateDept(data) {
  return request({
    url: '/system/dept',
    method: 'put',
    url: '/system/dept/edit',
    method: 'post',
    data: data
  })
}
@@ -62,7 +62,7 @@
// 删除部门
export function delDept(deptId) {
  return request({
    url: '/system/dept/' + deptId,
    method: 'delete'
    url: '/system/dept/remove/' + deptId,
    method: 'get',
  })
}