reactor:【system 系统管理】user 进一步统一代码风格(dept tree)
parent
28df31cc37
commit
96dadf9971
|
@ -53,19 +53,17 @@ onMounted(async () => {
|
|||
|
||||
<template>
|
||||
<div>
|
||||
<div class="mb-2">
|
||||
<Input
|
||||
placeholder="搜索部门"
|
||||
allow-clear
|
||||
v-model:value="searchValue"
|
||||
@change="handleSearch"
|
||||
class="w-full"
|
||||
>
|
||||
<template #prefix>
|
||||
<Search class="size-4" />
|
||||
</template>
|
||||
</Input>
|
||||
</div>
|
||||
<Input
|
||||
placeholder="搜索部门"
|
||||
allow-clear
|
||||
v-model:value="searchValue"
|
||||
@change="handleSearch"
|
||||
class="w-full"
|
||||
>
|
||||
<template #prefix>
|
||||
<Search class="size-4" />
|
||||
</template>
|
||||
</Input>
|
||||
<Tree
|
||||
:spinning="loading"
|
||||
class="pt-2"
|
||||
|
|
|
@ -10,7 +10,7 @@ import { DICT_TYPE } from '@vben/constants';
|
|||
import { getDictLabel } from '@vben/hooks';
|
||||
import { downloadFileFromBlobPart, isEmpty } from '@vben/utils';
|
||||
|
||||
import { ElLoading, ElMessage } from 'element-plus';
|
||||
import { ElCard, ElLoading, ElMessage } from 'element-plus';
|
||||
|
||||
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
|
@ -211,9 +211,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||
|
||||
<div class="flex h-full w-full">
|
||||
<!-- 左侧部门树 -->
|
||||
<div class="h-full w-1/6 pr-4">
|
||||
<ElCard class="mr-4 h-full w-1/6">
|
||||
<DeptTree @select="handleDeptSelect" />
|
||||
</div>
|
||||
</ElCard>
|
||||
<!-- 右侧用户列表 -->
|
||||
<div class="w-5/6">
|
||||
<Grid table-title="用户列表">
|
||||
|
|
|
@ -52,19 +52,17 @@ onMounted(async () => {
|
|||
|
||||
<template>
|
||||
<div>
|
||||
<div class="mb-2">
|
||||
<ElInput
|
||||
placeholder="搜索部门"
|
||||
clearable
|
||||
v-model="searchValue"
|
||||
@input="handleSearch"
|
||||
class="w-full"
|
||||
>
|
||||
<template #prefix>
|
||||
<Search class="size-4" />
|
||||
</template>
|
||||
</ElInput>
|
||||
</div>
|
||||
<ElInput
|
||||
placeholder="搜索部门"
|
||||
clearable
|
||||
v-model="searchValue"
|
||||
@input="handleSearch"
|
||||
class="w-full"
|
||||
>
|
||||
<template #prefix>
|
||||
<Search class="size-4" />
|
||||
</template>
|
||||
</ElInput>
|
||||
<div v-loading="loading">
|
||||
<ElTree
|
||||
class="pt-2"
|
||||
|
|
Loading…
Reference in New Issue