gaoluyang
昨天 0fbb36577014a646bbac3306975f420c94d11d6d
修复英泽用户昵称搜索和部门树滚动
已修改2个文件
27 ■■■■■ 文件已修改
src/views/system/user/data.ts 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/index.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/data.ts
@@ -270,6 +270,15 @@
      },
    },
    {
      fieldName: 'nickname',
      label: '用户昵称',
      component: 'Input',
      componentProps: {
        placeholder: '请输入用户昵称',
        allowClear: true,
      },
    },
    {
      fieldName: 'mobile',
      label: '手机号码',
      component: 'Input',
src/views/system/user/index.vue
@@ -194,13 +194,23 @@
    <AssignRoleModal @success="handleRefresh" />
    <ImportModal @success="handleRefresh" />
    <div class="flex h-full w-full">
    <div class="flex h-full min-h-0 w-full min-w-0">
      <!-- 左侧部门树 -->
      <Card class="mr-4 h-full w-1/6">
        <DeptTreeSelect @select="handleDeptSelect" />
      <Card
        class="mr-4 flex h-full min-h-0 w-64 shrink-0 flex-col overflow-hidden"
        :body-style="{
          height: '100%',
          minHeight: 0,
          overflow: 'hidden',
          padding: '16px',
        }"
      >
        <div class="h-full min-h-0 overflow-y-auto">
          <DeptTreeSelect @select="handleDeptSelect" />
        </div>
      </Card>
      <!-- 右侧用户列表 -->
      <div class="w-5/6">
      <div class="min-w-0 flex-1">
        <Grid table-title="用户列表">
          <template #toolbar-tools>
            <TableAction