reactor:【system 系统管理】user 进一步统一代码风格(dept tree)

pull/210/head
YunaiV 2025-09-08 12:51:07 +08:00
parent 28df31cc37
commit 96dadf9971
3 changed files with 25 additions and 29 deletions

View File

@ -53,7 +53,6 @@ onMounted(async () => {
<template> <template>
<div> <div>
<div class="mb-2">
<Input <Input
placeholder="搜索部门" placeholder="搜索部门"
allow-clear allow-clear
@ -65,7 +64,6 @@ onMounted(async () => {
<Search class="size-4" /> <Search class="size-4" />
</template> </template>
</Input> </Input>
</div>
<Tree <Tree
:spinning="loading" :spinning="loading"
class="pt-2" class="pt-2"

View File

@ -10,7 +10,7 @@ import { DICT_TYPE } from '@vben/constants';
import { getDictLabel } from '@vben/hooks'; import { getDictLabel } from '@vben/hooks';
import { downloadFileFromBlobPart, isEmpty } from '@vben/utils'; 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 { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import { import {
@ -211,9 +211,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
<div class="flex h-full w-full"> <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" /> <DeptTree @select="handleDeptSelect" />
</div> </ElCard>
<!-- 右侧用户列表 --> <!-- 右侧用户列表 -->
<div class="w-5/6"> <div class="w-5/6">
<Grid table-title=""> <Grid table-title="">

View File

@ -52,7 +52,6 @@ onMounted(async () => {
<template> <template>
<div> <div>
<div class="mb-2">
<ElInput <ElInput
placeholder="搜索部门" placeholder="搜索部门"
clearable clearable
@ -64,7 +63,6 @@ onMounted(async () => {
<Search class="size-4" /> <Search class="size-4" />
</template> </template>
</ElInput> </ElInput>
</div>
<div v-loading="loading"> <div v-loading="loading">
<ElTree <ElTree
class="pt-2" class="pt-2"