From b5dd048b68209d3c777ab95ad4a20f1956f805e6 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 21 Mar 2026 11:42:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E7=AE=A1=E7=90=86=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=89=B9=E9=87=8F=E4=BF=9D=E5=AD=98=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dept.js | 9 ++++++ src/views/lock.vue | 1 - src/views/system/dept/index.vue | 55 +++++++++++++++++++++++++++++++-- 3 files changed, 62 insertions(+), 3 deletions(-) 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 @@