From fb6145b5d4dc3da007543bf0af39daa63bf0efe6 Mon Sep 17 00:00:00 2001 From: zzl <961867786@qq.com> Date: Mon, 1 Sep 2025 18:08:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E6=94=BF=E5=8C=BA=E5=88=92=E6=94=B9?= =?UTF-8?q?=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dept.js | 10 +- src/views/system/dept/index.vue | 296 +++++++++++++++++++++++++------- 2 files changed, 241 insertions(+), 65 deletions(-) diff --git a/src/api/system/dept.js b/src/api/system/dept.js index fc943cd..75d3554 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -49,4 +49,12 @@ export function delDept(deptId) { url: '/system/dept/' + deptId, method: 'delete' }) -} \ No newline at end of file +} + +// 更新所有部门的坐标信息 +export function coordinatesUpdate() { + return request({ + url: '/system/dept/coordinatesUpdate', + method: 'get' + }) +} diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 088f09d..499d24b 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -2,21 +2,11 @@