From ee869f3c34e6bd0c1d3dda28907b4f182922cfe7 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 5 Aug 2024 01:01:35 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E5=AF=B9=E6=8E=A5=E4=BA=BA=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/user.js | 6 ++ src/views/system/user/add.vue | 101 +++++++++++++++++++++++++--------- 2 files changed, 82 insertions(+), 25 deletions(-) diff --git a/src/api/user/user.js b/src/api/user/user.js index e0a84c1..a8d54c2 100644 --- a/src/api/user/user.js +++ b/src/api/user/user.js @@ -21,6 +21,12 @@ export const getUserAccount = () => { method: 'get' }) } +export const judgeIsSameRole = () => { + return request({ + url: '/admin/mosr/user/company/same', + method: 'get' + }) +} // 查询角色信息 export const getRolesOpt = () => { diff --git a/src/views/system/user/add.vue b/src/views/system/user/add.vue index 6825f82..f7332db 100644 --- a/src/views/system/user/add.vue +++ b/src/views/system/user/add.vue @@ -4,28 +4,33 @@
提交 - 返回 + 返回