1
0

feat(web): 新增根据当前登陆用户查询记录

This commit is contained in:
2024-11-27 19:02:08 +08:00
parent aba9a1716c
commit efe393835c
11 changed files with 102 additions and 56 deletions

View File

@@ -1,4 +1,11 @@
import {apiGet, horizontalFormOptions, mappingField, userRoleMapping, userStateMapping} from "../constants.js";
import {
apiGet,
formCreatedUserAndModifiedUser,
horizontalFormOptions,
mappingField,
userRoleMapping,
userStateMapping
} from "../constants.js";
const dialogBody = [
{
@@ -27,36 +34,7 @@ const dialogBody = [
},
]
},
{
type: 'group',
body: [
{
type: 'input-text',
name: 'createdUsername',
label: '创建人',
},
{
type: 'input-datetime',
name: 'createdTime',
label: '创建时间',
},
]
},
{
type: 'group',
body: [
{
type: 'input-text',
name: 'modifiedUsername',
label: '最后修改人',
},
{
type: 'input-datetime',
name: 'modifiedTime',
label: '最后修改时间',
},
]
},
...formCreatedUserAndModifiedUser(),
{
type: 'group',
body: [