From b237c799c0d138ef74f001166f070db5494b1eff Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Tue, 24 Aug 2021 10:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E7=AE=A1=E7=90=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/DepartList.vue | 17 ++++++++++------- src/views/system/modules/DepartModal.vue | 12 ++++++------ src/views/system/modules/DeptUserInfo.vue | 15 +++++++-------- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/src/views/system/DepartList.vue b/src/views/system/DepartList.vue index 44f7c18..7204a46 100644 --- a/src/views/system/DepartList.vue +++ b/src/views/system/DepartList.vue @@ -154,9 +154,9 @@ - - - + + + @@ -426,10 +426,12 @@ export default { this.selectedKeys = [record.key] this.model.parentId = record.parentId this.setValuesToForm(record) - this.$refs.departAuth.show(record.id); + // 暂时注释(部门权限组件)没用 2021-08-24 + // this.$refs.departAuth.show(record.id); // 传用户信息参数 - this.$refs.DeptUserInfo.open(record) - + if( this.$refs.DeptUserInfo !== undefined){ + this.$refs.DeptUserInfo.open(record) + } }, // 部门名称判断重复 validateDepartName(rule, value, callback){ @@ -465,7 +467,8 @@ export default { this.currSelected = {} this.form.resetFields() this.selectedKeys = [] - this.$refs.departAuth.departId = '' + // 暂时注释(部门权限组件)没用 2021-08-24 + // this.$refs.departAuth.departId = '' }, handleNodeTypeChange(val) { this.currSelected.nodeType = val diff --git a/src/views/system/modules/DepartModal.vue b/src/views/system/modules/DepartModal.vue index 23fda75..0097d73 100644 --- a/src/views/system/modules/DepartModal.vue +++ b/src/views/system/modules/DepartModal.vue @@ -58,12 +58,12 @@ label="电话"> - - - + + + + + +
- + + + + + + 编辑 - 分配部门角色 + 用户详情 取消关联 @@ -274,7 +274,6 @@ export default { }, open(record) { - //console.log(record); this.currentDeptId = record.id; this.currentDept = record; this.loadData(1);