部门树优化

This commit is contained in:
weiwei committed 2025-03-07 17:54:40 +08:00
1 parent 3499ec6dbb
commit b3c83e1bdf
2 files changed
+11 -2

No files matched your search

+11 -1
View File
@@ -50,7 +50,16 @@
show-checkbox
@node-click="handleNodeClick"
@check="handleCheck"
/>
>
<template #default="{ node, data }">
<el-tooltip v-if="data.isLock" effect="dark" :content="$t('sysuser.noDataScopeTip')" placement="right">
<span>
{{ node.label }}
<SvgIcon name="ele-Lock" />
</span>
</el-tooltip>
</template>
</el-tree>
</div>
<!-- 底部区域 -->
@@ -115,6 +124,7 @@ const props = withDefaults(
label: "name",
children: "children",
value: "id",
disabled: "isLock",
}
},
nodeClickable: true,