feat: 项目进展报表
This commit is contained in:
@@ -258,14 +258,12 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
allowClear: true,
|
||||
api: async () => {
|
||||
const data = await getSimpleUserList();
|
||||
return data.map((item) => ({
|
||||
label: item.nickname,
|
||||
value: item.id,
|
||||
}));
|
||||
return data.filter((item) => item.nickname !== '管理员');
|
||||
},
|
||||
fieldNames: { label: 'nickname', value: 'id' },
|
||||
showSearch: true,
|
||||
filterOption: (input: string, option: any) =>
|
||||
option.label.toLowerCase().includes(input.toLowerCase()),
|
||||
option.nickname.toLowerCase().includes(input.toLowerCase()),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user