修复功能菜单“系统管理”-“部门管理”,用户列表中,编辑用户界面-用户账号为空 #9032

This commit is contained in:
JEECG
2025-10-30 22:26:55 +08:00
parent 7848d1fb33
commit cfea79a187
2 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,13 @@ public class SysUserSysDepPostModel {
* 用户ID * 用户ID
*/ */
private String id; private String id;
/**
* 登录账号
*/
@Excel(name = "登录账号", width = 15)
private String username;
/* 真实姓名 */ /* 真实姓名 */
private String realname; private String realname;

View File

@ -172,6 +172,11 @@ export const orgCategoryOptions = {
* 用户列表 * 用户列表
*/ */
export const userColumns: BasicColumn[] = [ export const userColumns: BasicColumn[] = [
{
title: '用户账号',
dataIndex: 'username',
width: 120,
},
{ {
title: '姓名', title: '姓名',
dataIndex: 'realname', dataIndex: 'realname',
@ -208,4 +213,4 @@ export function positionChange(value, model, treeData) {
} else { } else {
treeData.value = []; treeData.value = [];
} }
} }