From 61ed4bc69c9fffee45e7055fe1e8b23b92b7e49e Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Fri, 7 Jul 2023 18:01:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E3=80=90=E8=8F=9C=E5=8D=95=E3=80=81=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E3=80=91=E7=A7=BB=E5=8A=A8=E8=8A=82=E7=82=B9=E6=97=B6?= =?UTF-8?q?=E5=87=BA=E7=8E=B0PID=E6=95=B0=E6=8D=AE=E7=8E=AF=E5=BD=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++++ eladmin-web/src/api/system/dept.js | 5 +++-- eladmin/README.md | 6 ++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3300a2d..0464425 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,12 @@ |--------------------------------------| --- | | https://github.com/elunez/eladmin-mp | https://gitee.com/elunez/eladmin-mp | +#### VPS推荐 + + +明道云零代码构建平台 + + #### 主要特性 - 使用最新技术栈,社区资源丰富。 - 高效率开发,代码生成器可一键生成前后端代码 diff --git a/eladmin-web/src/api/system/dept.js b/eladmin-web/src/api/system/dept.js index ed4f944..8f920d0 100644 --- a/eladmin-web/src/api/system/dept.js +++ b/eladmin-web/src/api/system/dept.js @@ -8,10 +8,11 @@ export function getDepts(params) { }) } -export function getDeptSuperior(ids) { +export function getDeptSuperior(ids, exclude) { + exclude = exclude !== undefined ? exclude : false const data = ids.length || ids.length === 0 ? ids : Array.of(ids) return request({ - url: 'api/dept/superior', + url: 'api/dept/superior?exclude=' + exclude, method: 'post', data }) diff --git a/eladmin/README.md b/eladmin/README.md index c377ad1..8f15f88 100644 --- a/eladmin/README.md +++ b/eladmin/README.md @@ -16,6 +16,12 @@ | github | https://github.com/elunez/eladmin-mp | https://github.com/elunez/eladmin-web-mp | | 码云 | https://gitee.com/elunez/eladmin-mp | https://gitee.com/elunez/eladmin-web-mp | +#### VPS推荐 + + +明道云零代码构建平台 + + #### 主要特性 - 使用最新技术栈,社区资源丰富。 - 高效率开发,代码生成器可一键生成前后端代码