feat(user): 用户页面搜索区新增用户昵称搜索框

- 在用户组件中将用户名搜索框替换为用户昵称搜索框。
- 给岗位设置最小宽度,防止内容缩起来。
fix(user-management-relation): 管理链路树显示问题
- 当组织类型不为公司时(为部门、方向、团队),为防止根节点变更导致下面的子节点出现紊乱,此时隐藏编辑按钮。
- 把用margin扩充宽度改为用min-width。
fix(role): 选中某角色后的操作列的透明显示问题
- 选中某角色后,当页面分辨率不够时(出现滚动条),创建时间等字段的内容会透过操作列
fix(post): 岗位的名称、编码字段的显示问题
- 给这两个字段设置最小宽度,防止它们缩起来。
This commit is contained in:
dk
2026-04-22 14:34:26 +08:00
parent ca1756344c
commit c5911ea34b
8 changed files with 55 additions and 17 deletions

View File

@@ -38,7 +38,7 @@ function getInitSearchParams(): Api.SystemManage.UserSearchParams {
return {
pageNo: 1,
pageSize: 10,
username: undefined,
nickname: undefined,
mobile: undefined,
status: undefined,
deptId: undefined,
@@ -211,7 +211,7 @@ const {columns, columnChecks, data, loading, getDataByPage, mobilePagination} =
{
prop: 'positionName',
label: $t('page.system.user.positionName'),
minWidth: 140,
minWidth: 200,
showOverflowTooltip: true,
formatter: row => getNullableLabel(row.positionName)
},
@@ -772,7 +772,7 @@ onMounted(async () => {
:show-footer="false"
max-body-height="70vh"
>
<UserManagementRelation :from-user-index="true" :dept-id="currentDeptId"/>
<UserManagementRelation :from-user-index="true" :dept-id="currentDeptId" :org-type="currentDept?.orgType"/>
</BusinessFormDialog>
</div>
</template>