feat: 账号删除 realname 搜索

perf/export-docx
Jimmy Liow 2 years ago
parent 395e2e44db
commit a19d787fab

@ -243,14 +243,6 @@ function getFields(props) {
</Form.Item>,
fieldProps?.username?.col || 4
),
item(
'realname',
99,
<Form.Item name='realname' label={t('account:realname')} {...fieldProps.realname}>
<Input placeholder={t('account:realname')} allowClear />
</Form.Item>,
fieldProps?.realname?.col || 4
),
/**
*
*/

@ -145,7 +145,6 @@ const useAccountStore = create((set, get) => ({
}
const searchParams = {
username: formValues.username,
realname: formValues.realname,
travel_agency_ids: travel_agency_ids,
lgc: 2
}

@ -324,13 +324,12 @@ function Management() {
<Title level={3}>{t('account:accountList')}</Title>
<SearchForm
fieldsConfig={{
shows: ['username', 'realname', 'agency'],
shows: ['username', 'agency'],
fieldProps: {
username: { label: t('account:username') },
realname: { label: t('account:realname') },
username: { label: t('account:username') + '/' + t('account:realname') },
agency: { label: t('account:travelAgency') },
},
sort: { username: 1, realname: 2, agency: 3},
sort: { username: 1, agency: 2},
}}
onSubmit={() => {
handelAccountSearch()

Loading…
Cancel
Save