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 @@