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);