diff --git a/src/api/system/dept.js b/src/api/system/dept.js index 9ca6966..b9ac75e 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -43,6 +43,15 @@ export function updateDept(data) { }) } +// 保存部门排序 +export function updateDeptSort(data) { + return request({ + url: '/system/dept/updateSort', + method: 'put', + data: data + }) +} + // 删除部门 export function delDept(deptId) { return request({ diff --git a/src/views/lock.vue b/src/views/lock.vue index 3fcc102..7c4cfc1 100644 --- a/src/views/lock.vue +++ b/src/views/lock.vue @@ -34,7 +34,6 @@