From 27699a00232df2d99ac877e8bc63974ce9e0f829 Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Tue, 13 Oct 2020 13:33:12 +0800 Subject: [PATCH] =?UTF-8?q?#I1XVW9=20bug=E4=BF=AE=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=96=B0=E5=A2=9E=E5=92=8C=E7=BC=96=E8=BE=91=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=B2=97=E4=BD=8D=E6=B2=A1=E6=9C=89=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=8C=E4=B8=94=E7=82=B9=E7=BC=96=E8=BE=91=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E6=98=AFID=E5=80=BC=EF=BC=8C?= =?UTF-8?q?=E8=80=8C=E4=B8=8D=E6=98=AF=E5=B2=97=E4=BD=8D=E7=9A=84=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 2498666..b0103be 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -93,7 +93,7 @@ /> - + @@ -317,11 +317,12 @@ export default { this.getDepts() this.getRoles() this.getRoleLevel() + this.getJobs(null) form.enabled = form.enabled.toString() }, // 打开编辑弹窗前做的操作 [CRUD.HOOK.beforeToEdit](crud, form) { - this.getJobs(this.form.dept.id) + this.getJobs() userRoles = [] const roles = [] form.roles.forEach(function(role, index) {