Merge branch 'master' of http://124.223.211.244:8418/zianxin/biz-pc-cloud
# Conflicts: # src/views/admin/system/user/face-manage.vue
This commit is contained in:
commit
99e13cf104
26 files changed
+303
-97
No files matched your search
@@ -1,15 +1,18 @@
|
||||
<template>
|
||||
<div class="layout-padding">
|
||||
<splitpanes>
|
||||
<pane size="15">
|
||||
<pane size="30">
|
||||
<div class="layout-padding-auto layout-padding-view">
|
||||
<el-scrollbar>
|
||||
<query-tree
|
||||
<dep-tree
|
||||
ref="queryTreeRef"
|
||||
:placeholder="$t('common.queryDeptTip')"
|
||||
:query="deptData.queryList"
|
||||
:show-expand="true"
|
||||
@node-click="handleNodeClick"
|
||||
@treeDeepSearch="treeDeepSearch"
|
||||
switch-inactive-text="当前部门"
|
||||
switch-active-text="当前部门及子部门"
|
||||
>
|
||||
<!-- 没有数据权限提示 -->
|
||||
<template #default="{ node, data }">
|
||||
@@ -20,23 +23,15 @@
|
||||
:content="$t('sysuser.noDataScopeTip')"
|
||||
placement="right-start"
|
||||
>
|
||||
<span
|
||||
>{{ node.label }}
|
||||
<span>
|
||||
{{ node.label }}
|
||||
<SvgIcon name="ele-Lock" />
|
||||
</span>
|
||||
</el-tooltip>
|
||||
<span v-if="!data.isLock">{{ node.label }}</span>
|
||||
</template>
|
||||
</query-tree>
|
||||
</dep-tree>
|
||||
</el-scrollbar>
|
||||
<div class="flex justify-center items-center pt-2">
|
||||
<el-switch
|
||||
v-model="state.queryForm.isDeepDept"
|
||||
@change="isDeepDeptChange"
|
||||
inactive-text="当前部门"
|
||||
active-text="当前部门及子部门"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</pane>
|
||||
<pane class="ml8">
|
||||
@@ -283,7 +278,8 @@ const deptData = reactive({
|
||||
},
|
||||
})
|
||||
|
||||
const isDeepDeptChange = () => {
|
||||
const treeDeepSearch = (isDeep: boolean) => {
|
||||
state.queryForm.isDeepDept = isDeep
|
||||
getDataList()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user