|
@ -323,7 +323,6 @@ |
|
|
watchEffect(() => { |
|
|
watchEffect(() => { |
|
|
if (selectRef.value) { |
|
|
if (selectRef.value) { |
|
|
getUserTree().then(() => { |
|
|
getUserTree().then(() => { |
|
|
return; |
|
|
|
|
|
if (!roleTreeData.value?.length) { |
|
|
if (!roleTreeData.value?.length) { |
|
|
selectRoleRef.value = {}; |
|
|
selectRoleRef.value = {}; |
|
|
roleFormData.value = {}; |
|
|
roleFormData.value = {}; |
|
@ -595,7 +594,7 @@ |
|
|
|
|
|
|
|
|
// 部门选择 |
|
|
// 部门选择 |
|
|
const SelectApartmentTree = (selectedKeys: any, info: any) => { |
|
|
const SelectApartmentTree = (selectedKeys: any, info: any) => { |
|
|
console.log(info); |
|
|
console.log(info, 'SelectApartmentTree'); |
|
|
|
|
|
|
|
|
// 部门切换需要调整角色tab |
|
|
// 部门切换需要调整角色tab |
|
|
roleActiveKey.value = 1; |
|
|
roleActiveKey.value = 1; |
|
@ -784,7 +783,7 @@ |
|
|
padding: @ns-gap; |
|
|
padding: @ns-gap; |
|
|
background-color: @white; |
|
|
background-color: @white; |
|
|
border-radius: @ns-border-radius; |
|
|
border-radius: @ns-border-radius; |
|
|
box-shadow: @ns-content-box-shadow; |
|
|
// box-shadow: @ns-content-box-shadow; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.tree { |
|
|
.tree { |
|
|